Files
blog/static/style/default-common.css
2016-01-13 11:04:27 +00:00

413 lines
6.5 KiB
CSS

* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
body {
color: #333333;
font-family: Lato, sans-serif;
font-size: 16px;
margin: 0 auto;
padding: 0;
min-width: 640px;
max-width: 1600px;
}
body > header, article > section {
border-bottom: #F0F0F0 solid 1px;
padding: 24px 80px;
width: 900px;
}
article > section {
border-left: #E9E9E9 solid 1px;
position: relative;
left: 80px;
}
header.site-header, header.navigation {
border: 0;
}
header.site-header {
padding: 0;
width: 100%;
background: url(/asset/header/187b6ae.jpg) no-repeat scroll top;
background-size: 1600px auto;
}
header.site-header .home-link {
display: block;
max-width: 1080px;
min-height: 225px;
text-decoration: none;
display: block;
}
header.navigation {
background-color: #f7f5e7;
padding: 10px 50px 10px 50px;
}
body.layout-gallery-photo > header {
display: none;
}
body.layout-gallery-photo article > section {
padding-top: 14px;
}
body > footer {
color: #999999;
font-size: 11px;
font-weight: 400;
padding: 16px 6px 28px 66px;
width: 700px;
}
body > footer a {
color: #999999;
}
body.no-footer > footer {
display: none;
}
body > header {
width: 100%;
}
body > header .meta {
margin-bottom: 0;
margin-top: 0;
}
header ul {
float: right;
list-style: none;
margin: 7px 0 0;
}
header ul li {
display: inline-block;
}
header ul li a {
border-radius: 2px;
color: #CF5406;
display: block;
margin-left: 6px;
padding: 1px 5px 2px 5px;
text-decoration: none;
}
header ul li a:hover {
background-color: #CF5406;
color: #FFFFFF;
}
header ul li .noanchor {
color: #CCCCCC;
display: block;
margin-left: 6px;
padding: 1px 5px 2px 5px;
}
.meta {
color: #333333;
font-size: 12px;
font-weight: 300;
padding-left: 1px;
margin-bottom: 12px;
margin-top: 24px;
}
.meta a {
text-decoration: none;
}
.meta a:hover {
text-decoration: underline;
}
a {
color: #CF5406;
}
ul.pager {
position: relative;
left: 80px;
}
a.read-more, ul.pager a {
text-decoration: none;
}
a.read-more:hover, ul.pager a:hover {
text-decoration: underline;
}
small {
color: #666666;
}
div.site-title {
font-size: 20px;
font-weight: 400;
margin: 4px 0 0;
}
div.site-title strong {
font-weight: 700;
}
div.site-title strong a {
color: inherit;
text-decoration: none;
}
div.site-title small {
color: #999999;
}
h1 {
color: #333333;
font-size: 18px;
font-weight: 700;
margin: 0;
padding: 1px 0;
}
h1 a {
color: #000000;
text-decoration: none;
}
h1 a:hover {
text-decoration: underline;
}
h1 small {
display: block;
font-size: 12px;
font-weight: normal;
}
h2 {
border-bottom: #DEDEDE solid 1px;
color: #393939;
font-size: 17px;
margin: 32px -4px 10px;
padding: 0 40px 2px;
}
h3 {
border-bottom: #DEDEDE dotted 1px;
font-size: 14px;
margin: 22px -4px 10px;
padding: 0 4px;
}
hr {
margin: 0 -4px;
}
section .timeline > * {
display: block;
opacity: 0.6;
line-height: 0;
margin-bottom: 4px;
}
article.layout-post section {
padding-bottom: 12px;
}
.timeline {
background-color: #FFFFFF;
font-size: 11px;
line-height: 0;
padding-top: 2px;
position: absolute;
text-align: center;
left: -24px;
width: 49px;
}
.timeline img {
border-radius: 4px;
width: 49px;
}
.timeline time {
line-height: 11px;
}
pre {
background-color: #F9F9F9;
border: #D8D8D8 solid 1px;
font-family: monaco;
font-size: 12px;
line-height: 17px;
margin: 14px -2px 24px;
max-height: 398px;
overflow: auto;
padding: 2px 4px;
}
pre > code {
font-size: inherit;
line-height: inherit;
}
code {
font-family: monaco;
font-size: 13px;
line-height: 0;
}
p, ul, ol, dl {
line-height: 24px;
margin: 12px 0;
}
dl dt {
clear: left;
color: #666666;
float: left;
padding-top: 2px;
text-align: right;
width: 140px;
}
dl dd {
margin-left: 0;
padding: 2px 0 0 146px;
}
.meta-properties {
border-top: #F0F0F0 solid 1px;
margin-left: -8px;
margin-right: -8px;
padding: 10px 8px;
}
.meta-social {
border-top: #F0F0F0 solid 1px;
margin-left: -8px;
margin-right: -8px;
padding: 32px 6px 0;
}
.meta-navigate {
border-top: #F0F0F0 solid 1px;
font-size: 15px;
font-weight: 400;
margin-left: -8px;
margin-right: -8px;
padding: 10px;
text-align: center;
}
.disqus {
border-top: #F0F0F0 solid 1px;
margin: 28px -8px 0;
padding: 27px 8px 0;
}
article.layout-post .meta.meta-social {
display: none;
}
section.post-content img {
background-color: #F3F3F3;
border: #D8D8D8 solid 1px;
border-radius: 1px;
padding: 4px;
}
a img {
color: inherit;
}
img.iright {
float: right;
margin-left: 20px;
width: 34%;
}
img.ileft {
float:left;
margin-right: 20px;
width: 34%;
}
.print-only {
display: none;
}
a.subtle {
color: inherit;
text-decoration: inherit;
}
body.no-footer article > section {
border-bottom: 0;
}
body.alt-printarticle > header {
display: none;
}
body.alt-printarticle > article > section {
padding-top: 0;
}
body.alt-printarticle > footer {
display: none;
}
blockquote {
border-left: #F0F0F0 solid 4px;
border-right: #F0F0F0 solid 4px;
margin: 14px 16px;
padding: 1px 18px;
}
.list-gallery {
line-height: 0;
}
.list-gallery img {
padding: 2px !important;
margin: 8px 7px 0 0;
}
.list-gallery img:hover {
border: #999999 solid 1px !important;
}
.caption {
border: 1px solid #ddd;
text-align: center;
background-color: #f3f3f3;
padding-top: 8px;
margin: 0 auto;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}
.caption img {
border: 0 !important;
width: 95%;
}
.caption p {
font-style: italic;
margin: 0 0 8px 0;
}
.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}