snipt/media/css/blog-themes/pro-adams/style.css

566 lines
12 KiB
CSS

@charset "UTF-8";
html,
body {
background: #FFF
}
body {
color: #666;
font: normal 14px/16px "Helvetica Neue", Helvetica, Arial, "Liberation Sans", FreeSans, sans-serif;
text-rendering: optimizeLegibility
}
* {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box
}
.group:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden
}
.hidden {
display: none
}
div.frame {
margin: 0 auto;
position: relative;
width: 980px
}
div.frame div.ruler {
background: #EAEAEA;
height: 100%;
position: fixed;
top: 0;
width: 1px;
z-index: 49
}
div.frame div.left-y {
margin-left: 40px
}
div.frame div.right-y {
margin-left: 760px
}
header.main {
padding: 20px 0 55px 0;
position: relative;
z-index: 50
}
header.main a.logo {
display: inline-block
}
header.main a.logo span.avatar {
background: white;
display: inline-block;
height: 80px;
width: 80px;
-webkit-background-clip: padding-box;
-webkit-border-radius: 80px;
-moz-background-clip: padding-box;
-moz-border-radius: 80px;
border-radius: 80px;
background-clip: padding-box;
-webkit-box-shadow: 0 0 0px 1px #fff, 0 0 10px 0px rgba(0, 0, 0, 0.6);
-moz-box-shadow: 0 0 0px 1px #fff, 0 0 10px 0px rgba(0, 0, 0, 0.6);
box-shadow: 0 0 0px 1px #fff, 0 0 10px 0px rgba(0, 0, 0, 0.6);
-webkit-transition: box-shadow .05s linear;
-moz-transition: box-shadow .05s linear;
-o-transition: box-shadow .05s linear;
transition: box-shadow .05s linear
}
header.main a.logo:hover span.avatar {
-webkit-box-shadow: 0 0 0px 1px #fff, 0 0 15px 0px #000;
-moz-box-shadow: 0 0 0px 1px #fff, 0 0 15px 0px #000;
box-shadow: 0 0 0px 1px #fff, 0 0 15px 0px #000
}
header.main div.bio {
display: inline-block;
margin: 9px 0 0 12px;
vertical-align: top
}
header.main div.bio a.name {
color: #666;
font: 500 18px "Helvetica Neue", Helvetica, Arial, "Liberation Sans", FreeSans, sans-serif;
text-decoration: none;
-webkit-transition: color .05s linear;
-moz-transition: color .05s linear;
-o-transition: color .05s linear;
transition: color .05s linear
}
header.main div.bio a.name:hover {
color: black
}
header.main div.bio p {
color: #B7B7B7;
font: 500 12px "Helvetica Neue", Helvetica, Arial, "Liberation Sans", FreeSans, sans-serif;
line-height: 18px;
margin: 0;
max-width: 340px
}
header.main div.bio p a {
color: #B7B7B7;
font-weight: bold;
text-decoration: underline;
-webkit-transition: color .05s linear;
-moz-transition: color .05s linear;
-o-transition: color .05s linear;
transition: color .05s linear
}
header.main div.bio p a:hover {
color: #666
}
header.main div.bio p:first-of-type {
margin-top: 1px
}
section.main section.content {
float: left;
width: 760px
}
section.main section.content div.gutter {
float: left;
width: 80px
}
section.main section.content div.content-inner {
float: right;
margin-left: 16px;
margin-right: 55px;
width: 609px
}
section.main aside.main {
float: right;
padding-left: 20px;
width: 220px
}
section.main aside.main h1,
section.main aside.main h2 {
color: #666;
font: bold 12px "Helvetica Neue", Helvetica, Arial, "Liberation Sans", FreeSans, sans-serif;
margin-bottom: 10px
}
section.main aside.main h1:first-of-type,
section.main aside.main h2:first-of-type {
margin-top: 3px
}
section.main aside.main p {
color: #999;
font: normal 12px "Helvetica Neue", Helvetica, Arial, "Liberation Sans", FreeSans, sans-serif;
line-height: 18px;
margin-bottom: 20px
}
section.main aside.main ul {
margin-bottom: 20px;
margin-left: 0
}
section.main aside.main ul li {
list-style-type: none;
margin: 0
}
section.main aside.main ul li a {
color: #999;
display: block;
font: normal 12px "Helvetica Neue", Helvetica, Arial, "Liberation Sans", FreeSans, sans-serif;
line-height: 18px;
max-width: 220px;
overflow: hidden;
text-decoration: none;
text-overflow: ellipsis;
white-space: nowrap
}
section.main aside.main ul li a:before {
background: #EEE;
content: "";
display: inline-block;
margin-right: 10px;
height: 9px;
width: 9px;
-webkit-background-clip: padding-box;
-webkit-border-radius: 5px;
-moz-background-clip: padding-box;
-moz-border-radius: 5px;
border-radius: 5px;
background-clip: padding-box
}
section.main aside.main ul li a:hover {
color: #666
}
section.main aside.main ul li a:hover:before {
background: #CCC
}
section.main aside.main ul li a.more {
font-size: 10px;
margin-left: 19px;
margin-top: 5px
}
section.main aside.main ul li a.more:after {
content: " »"
}
section.main aside.main ul li a.more:before {
display: none
}
div.pagination {
clear: left;
margin-bottom: 55px;
margin-left: 40px;
text-align: center
}
div.pagination a {
color: #666
}
article {
margin: 40px 0
}
article div.gutter a time {
background: #FFF;
border: 1px solid #EAEAEA;
display: block;
height: auto;
margin-top: -14px;
position: relative;
width: auto;
z-index: 51;
-webkit-background-clip: padding-box;
-webkit-border-radius: 3px;
-moz-background-clip: padding-box;
-moz-border-radius: 3px;
border-radius: 3px;
background-clip: padding-box
}
article div.gutter a time span {
display: block;
text-align: center
}
article div.gutter a time span.id {
background: #F9F9F9;
border-bottom: 1px solid #EAEAEA;
color: #CCC;
font: normal 11px "Helvetica Neue", Helvetica, Arial, "Liberation Sans", FreeSans, sans-serif;
padding: 2px 0
}
article div.gutter a time span.mon-day {
color: #999;
font: normal 17px "Helvetica Neue", Helvetica, Arial, "Liberation Sans", FreeSans, sans-serif;
letter-spacing: -1px;
padding-top: 10px;
text-transform: uppercase
}
article div.gutter a time span.year {
color: #999;
font: normal 12px "Helvetica Neue", Helvetica, Arial, "Liberation Sans", FreeSans, sans-serif;
letter-spacing: -1px;
padding-bottom: 10px;
text-transform: uppercase
}
article div.gutter a time:after {
background: transparent url("https://snipt.s3.amazonaws.com/img/date-arrow.gif") top left no-repeat;
content: "";
display: block;
height: 11px;
position: absolute;
right: -6px;
top: 22px;
width: 6px
}
article div.gutter a:hover {
text-decoration: none
}
article h1 {
font-size: 20px;
line-height: normal;
margin-bottom: 20px;
margin-top: 0;
padding-top: 1px
}
article h1 a {
color: #666;
font: 500 20px "Helvetica Neue", Helvetica, Arial, "Liberation Sans", FreeSans, sans-serif;
text-decoration: none;
-webkit-transition: color .05s linear;
-moz-transition: color .05s linear;
-o-transition: color .05s linear;
transition: color .05s linear
}
article h1 a:hover {
color: #000;
text-decoration: none
}
article div.post-content {
color: #666;
font: normal 14px/22px "Helvetica Neue", Helvetica, Arial, "Liberation Sans", FreeSans, sans-serif;
max-height: 150px;
position: relative;
overflow: hidden
}
article div.post-content p {
margin: 20px 0
}
article div.post-content p:first-child {
margin-top: 0
}
article div.post-content p:last-child {
margin-bottom: 0
}
article div.post-content a {
color: #666
}
article div.post-content a:hover {
color: #000
}
article div.post-content li {
line-height: 20px;
margin: 10px 0
}
article div.post-content li p:first-of-type {
margin-bottom: 0
}
article div.post-content table.highlighttable {
height: 100%
}
article div.post-content td {
padding: 0;
vertical-align: top
}
article div.post-content td.linenos {
display: none
}
article div.post-content div.highlight pre,
article div.post-content div.markdown pre {
background: #F7F7F7;
border: 1px solid #EAEAEA;
font: normal 12px/16px Consolas, Menlo, "Courier New", monospace;
margin: 0;
overflow-x: auto;
padding: 10px;
white-space: pre;
word-wrap: normal;
width: 609px;
-webkit-background-clip: padding-box;
-webkit-border-radius: 5px;
-moz-background-clip: padding-box;
-moz-border-radius: 5px;
border-radius: 5px;
background-clip: padding-box
}
article div.post-content div.highlight pre::-webkit-scrollbar,
article div.post-content div.markdown pre::-webkit-scrollbar {
background: #F7F7F7;
height: 16px;
width: 16px;
-webkit-appearance: none;
-webkit-background-clip: padding-box;
-webkit-border-radius: 5px;
-moz-background-clip: padding-box;
-moz-border-radius: 5px;
border-radius: 5px;
background-clip: padding-box
}
article div.post-content div.highlight pre::-webkit-scrollbar-thumb,
article div.post-content div.markdown pre::-webkit-scrollbar-thumb {
border: 4px solid #F7F7F7;
border-radius: 16px;
background-color: #C7C7C7
}
article div.post-content div.markdown h1,
article div.post-content div.markdown h2,
article div.post-content div.markdown h3,
article div.post-content div.markdown h4,
article div.post-content div.markdown h5,
article div.post-content div.markdown h6 {
border-top: 1px dashed #CCC;
margin-bottom: 20px;
padding-top: 30px;
position: relative
}
article div.post-content div.markdown h1 a,
article div.post-content div.markdown h2 a,
article div.post-content div.markdown h3 a,
article div.post-content div.markdown h4 a,
article div.post-content div.markdown h5 a,
article div.post-content div.markdown h6 a {
color: #0088CC;
text-decoration: none
}
article div.post-content div.markdown h1:before,
article div.post-content div.markdown h2:before,
article div.post-content div.markdown h3:before,
article div.post-content div.markdown h4:before,
article div.post-content div.markdown h5:before,
article div.post-content div.markdown h6:before {
background: #0088CC;
border: 4px solid #EAEAEA;
content: "";
display: block;
height: 20px;
left: -70px;
position: absolute;
top: 27px;
width: 20px;
z-index: 51;
-webkit-background-clip: padding-box;
-webkit-border-radius: 20px;
-moz-background-clip: padding-box;
-moz-border-radius: 20px;
border-radius: 20px;
background-clip: padding-box
}
article div.post-content div.markdown h1 {
font-size: 20px;
padding-top: 28px
}
article div.post-content div.markdown h2 {
font-size: 18px;
padding-top: 19px
}
article div.post-content div.markdown h3 {
font-size: 16px;
padding-top: 20px
}
article div.post-content div.markdown h4 {
font-size: 14px;
padding-top: 31px
}
article div.post-content div.markdown h5 {
font-size: 14px;
padding-top: 31px
}
article div.post-content div.markdown h6 {
font-size: 14px;
padding-top: 31px
}
article div.post-content div.markdown p strong {
font-weight: bold
}
article div.post-content div.markdown a {
text-decoration: underline
}
article div.post-content div.markdown pre {
margin: 20px 0
}
article div.post-content div.markdown pre:first-child {
margin-top: 0
}
article div.post-content div.markdown pre:last-child {
margin-bottom: 0
}
article div.post-content div.markdown ul {
margin-bottom: 20px
}
article div.post-content div.markdown img {
border: 1px solid #D7D7D7;
margin-bottom: 10px;
-webkit-background-clip: padding-box;
-webkit-border-radius: 3px;
-moz-background-clip: padding-box;
-moz-border-radius: 3px;
border-radius: 3px;
background-clip: padding-box;
-webkit-box-shadow: 0 1px 10px #d7d7d7;
-moz-box-shadow: 0 1px 10px #d7d7d7;
box-shadow: 0 1px 10px #d7d7d7
}
article div.post-content:after {
bottom: 0;
content: "";
height: 60px;
left: 0;
position: absolute;
width: 100%;
background: rgba(255, 255, 255, 0);
background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0)), to(#fff));
background: -moz-linear-gradient(center top, rgba(255, 255, 255, 0) 0%, #fff 100%);
background: -moz-gradient(center top, rgba(255, 255, 255, 0) 0%, #fff 100%)
}
article:first-of-type {
margin-top: 0
}
article.detail div.post-content {
overflow: visible;
max-height: none
}
article.detail div.post-content:after {
display: none
}