Created
August 12, 2014 03:44
-
-
Save xiangzhuyuan/04c736e4325a17682fd7 to your computer and use it in GitHub Desktop.
a css for tumblr theme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td { | |
margin:0; | |
padding:0; | |
border:0; | |
outline:0; | |
font-size:100%; | |
vertical-align:baseline; | |
background:transparent | |
} | |
h1 a,h2 a,h3 a,h4 a,h5 a { | |
font-family:'chango',cursive; | |
} | |
body { | |
line-height:1 | |
} | |
ol,ul { | |
list-style:none | |
} | |
blockquote,q { | |
quotes:none | |
} | |
blockquote:before,blockquote:after,q:before,q:after { | |
content:''; | |
content:none | |
} | |
:focus { | |
outline:0 | |
} | |
del { | |
text-decoration:line-through | |
} | |
table { | |
border-collapse:collapse; | |
border-spacing:0 | |
} | |
body { | |
background:#fff | |
} | |
body,input,textarea { | |
color:#000; | |
font:14px/20px "helvetica neue",helvetica,arial,sans-serif | |
} | |
p,ul,ol,dd,pre { | |
margin-bottom:20px | |
} | |
pre,code { | |
font:12px Monaco,monospace; | |
line-height:20px | |
} | |
code,pre { | |
font-family:Monaco,Menlo,Consolas,"Courier New",monospace | |
} | |
code { | |
padding:2px 4px; | |
font-size:90%; | |
color:#162029; | |
background-color:rgba(102,128,153,0.075); | |
white-space:nowrap; | |
border-radius:4px | |
} | |
pre { | |
display:block; | |
padding:9.5px; | |
margin:0 0 10px; | |
font-size:13px; | |
line-height:1.428571429; | |
word-break:break-all; | |
word-wrap:break-word; | |
color:#333; | |
background-color:rgba(102,128,153,0.05); | |
border:1px solid rgba(102,128,153,0.075); | |
border-radius:4px | |
} | |
pre.prettyprint { | |
margin-bottom:20px | |
} | |
pre code { | |
padding:0; | |
font-size:inherit; | |
color:inherit; | |
white-space:pre-wrap; | |
background-color:transparent; | |
border:0 | |
} | |
blockquote { | |
border-left:5px solid #ddd; | |
color:#555; | |
font-style:italic; | |
margin-bottom:20px; | |
padding-left:10px | |
} | |
table { | |
border:1px solid #ccc; | |
border-width:1px 1px 0; | |
font-size:14px; | |
line-height:20px; | |
margin:0 0 22px; | |
text-align:left | |
} | |
caption { | |
text-align:left | |
} | |
tr { | |
border-bottom:1px solid #ccc | |
} | |
th,td { | |
padding:.7em 1.25em | |
} | |
hr { | |
background-color:#ccc; | |
border:0; | |
color:#555; | |
height:1px; | |
margin-bottom:20px | |
} | |
a:link,a:visited { | |
color:#555 | |
} | |
a:focus,a:hover,a:active { | |
color:#d33 | |
} | |
h1,h2,h3,h4,h5,h6 { | |
font-weight:400; | |
clear:both | |
} | |
img { | |
background:#eee | |
} | |
#header .menu { | |
margin:0 auto 3px; | |
overflow:hidden; | |
padding:20px 0 5px; | |
width:900px | |
} | |
#header #pages { | |
float:left | |
} | |
#header #pages ul { | |
float:left; | |
margin-bottom:0 | |
} | |
#header #pages li { | |
float:left; | |
margin-right:10px; | |
padding:4px 10px 3px 0 | |
} | |
#header #pages a,#header #pages a:visited { | |
font-family:'chango',cursive; | |
font-size:.8em; | |
color:#555; | |
text-decoration:none | |
} | |
#header #pages a:focus,#header #pages a:hover,#header #pages a:active { | |
color:#d33 | |
} | |
#header #search { | |
float:right | |
} | |
#header #search input { | |
border:1px solid #ccc; | |
line-height:20px; | |
padding:4px | |
} | |
#header #search input.search-button { | |
background:#eee; | |
color:#555; | |
padding:3px; | |
width:60px | |
} | |
#header #branding { | |
margin:30px auto; | |
padding:20px 0; | |
width: 900px; | |
} | |
#header h1 a { | |
color:#111; | |
font-family:'chango',cursive; | |
font-size:3.857143rem; | |
font-weight:400; | |
text-decoration:none | |
} | |
#header h1 a:focus,#header h1 a:hover,#header h1 a:active { | |
color:#d33 | |
} | |
#header img { | |
max-width:900px | |
} | |
#main { | |
border-top:1px solid #ccc; | |
border-bottom:1px solid #ccc; | |
clear:both; | |
margin:0 auto 3px; | |
overflow:hidden; | |
width:900px | |
} | |
#container { | |
border-right:1px solid #ccc; | |
float:left; | |
min-height:400px; | |
width:580px | |
} | |
.post-meta { | |
border-bottom:1px solid #ccc; | |
color:#555; | |
overflow:hidden; | |
padding:2px 0 | |
} | |
.post-meta .type { | |
float:left | |
} | |
.post-meta .type a { | |
border-bottom:1px solid #ccc; | |
font-weight:700; | |
padding:0 10px 10px; | |
text-decoration:none; | |
font-size:70% | |
} | |
.post-type-text .post-meta .type a { | |
border-bottom:1px solid | |
} | |
.post-type-photo .post-meta .type a { | |
border-bottom:1px solid | |
} | |
.post-type-photoset .post-meta .type a { | |
border-bottom:1px solid | |
} | |
.post-type-quote .post-meta .type a { | |
border-bottom:1px solid | |
} | |
.post-type-link .post-meta .type a { | |
border-bottom:1px solid | |
} | |
.post-type-chat .post-meta .type a { | |
border-bottom:1px solid | |
} | |
.post-type-video .post-meta .type a { | |
border-bottom:1px solid | |
} | |
.post-type-audio .post-meta .type a { | |
border-bottom:1px solid | |
} | |
.post-meta .type a:focus,.post-meta .type a:hover,.post-meta .type a:active { | |
margin-left:5px | |
} | |
.post-meta .date,.post-meta .comments,.post-meta .note-count { | |
float:left; | |
padding:0 10px | |
} | |
.post-content { | |
padding:10px 30px | |
} | |
.post-content div:last-child,.post-content div:last-child p,.post-content div:last-child ul,.post-content div:last-child ol,.post-content div:last-child blockquote { | |
margin-bottom:0 | |
} | |
.post-content h3 { | |
font:20px Georgia,serif; | |
margin-bottom:20px | |
} | |
.post-content h3 a,.post-content h3 a:visited { | |
color:#111; | |
text-decoration:none | |
} | |
.post-content h3 a:focus,.post-content h3 a:hover,.post-content h3:active { | |
color:#d33 | |
} | |
.post-content img { | |
margin-bottom:20px; | |
padding:10px; | |
max-width:517px | |
} | |
.post-type-text .post-content ul { | |
padding-left:30px | |
} | |
.post-type-text .post-content ul ul { | |
margin-bottom:0 | |
} | |
.post-type-text .post-content ul li { | |
list-style-type:disc | |
} | |
.post-type-text .post-content ul ul li { | |
list-style-type:circle | |
} | |
.post-type-text .post-content ol { | |
padding-left:30px | |
} | |
.post-type-text .post-content ol ol { | |
margin-bottom:0 | |
} | |
.post-type-text .post-content ol li { | |
list-style-type:upper-latin | |
} | |
.post-type-text .post-content ol ol li { | |
list-style-type:lower-latin | |
} | |
.post-type-photoset .post-content .html_photoset { | |
background:#eee; | |
margin-bottom:20px; | |
padding:10px | |
} | |
.post-type-link .post-content .link-wrap { | |
margin-bottom:20px | |
} | |
.post-type-chat .post-content .label { | |
color:#333; | |
font-weight:700 | |
} | |
.post-type-video .post-content .video-wrap { | |
background:#f0f0f0; | |
margin-bottom:20px; | |
padding:10px | |
} | |
.post-type-audio .post-content .caption { | |
margin-top:10px | |
} | |
.quote-source { | |
float:right | |
} | |
.tags { | |
font-size:.5em | |
} | |
.tags a { | |
text-decoration:none | |
} | |
.tags a:after { | |
content:"," | |
} | |
.tags a:last-child:after { | |
content:"" | |
} | |
#disqus_thread { | |
border-top:1px solid #ccc; | |
padding:10px 30px 0 | |
} | |
#disqus_thread h3 { | |
color:#111; | |
font:18px Georgia,serif; | |
margin:20px 0 10px | |
} | |
#dsq-content .dsq-subscribe-menu { | |
font-size:12px | |
} | |
#post-notes { | |
border-top:1px solid #ccc; | |
padding:30px | |
} | |
#post-notes ol li { | |
border-bottom:1px dotted #ccc; | |
padding:10px 0 | |
} | |
#post-notes ol li img { | |
background:0; | |
padding-right:3px; | |
vertical-align:middle | |
} | |
.pagination { | |
border-top:1px solid #ccc; | |
overflow:hidden; | |
padding:20px 0; | |
width:574px | |
} | |
.pagination .previous-page { | |
float:left | |
} | |
.pagination .next-page { | |
float:right; | |
margin-right:5px | |
} | |
.pagination a { | |
font:20px Georgia,serif; | |
text-decoration:none | |
} | |
#sidebar { | |
float:left; | |
padding-bottom:30px; | |
width:319px | |
} | |
#sidebar h3 { | |
border-bottom:1px dotted #ccc; | |
color:#999; | |
font-size:14px; | |
font-weight:700; | |
margin:0 0 20px; | |
padding:9px 20px; | |
text-transform:uppercase | |
} | |
#sidebar h3 a,#sidebar h3 a:visited { | |
color:#999; | |
text-decoration:none | |
} | |
#sidebar h3 a:focus,#sidebar h3 a:hover,#sidebar h3 a:active { | |
color:#d33 | |
} | |
#sidebar ul { | |
margin-bottom:0 | |
} | |
.widget { | |
border-bottom:1px solid #ccc; | |
color:#333; | |
font-size:13px; | |
padding:0 20px 20px | |
} | |
.widget h3 { | |
font:20px Georgia,serif; | |
margin-bottom:20px | |
} | |
.widget h3 a,.widget h3 a:visited { | |
color:#000; | |
text-decoration:none | |
} | |
.widget h3 a:focus,.widget h3 a:hover,.widget h3 a:active { | |
color:#d33 | |
} | |
.widget img { | |
padding:5px; | |
max-width:250px | |
} | |
.widget p:last-child,.widget ul:last-child,.widget ol:last-child,.widget blockquote:last-child { | |
margin-bottom:0 | |
} | |
#about { | |
overflow:hidden | |
} | |
#about img { | |
background:#fff; | |
border:1px solid #ccc; | |
float:left; | |
margin:0 10px 0 0; | |
padding:3px | |
} | |
.like_post { | |
border-bottom:1px dotted #ccc; | |
margin-bottom:20px; | |
padding-bottom:20px | |
} | |
.like_post:last-child { | |
border:0; | |
margin:0; | |
padding:0 | |
} | |
.like_post ul { | |
padding-left:20px | |
} | |
.like_post ul ul { | |
margin-bottom:0 | |
} | |
.like_post ul li { | |
list-style-type:disc | |
} | |
.like_post ul ul li { | |
list-style-type:circle | |
} | |
.like_post ol { | |
padding-left:20px | |
} | |
.like_post ol ol { | |
margin-bottom:0 | |
} | |
.like_post ol li { | |
list-style-type:upper-latin | |
} | |
.like_post ol ol li { | |
list-style-type:lower-latin | |
} | |
.like_post p:last-child,.like_post ul:last-child,.like_post ol:last-child,.like_post blockquote:last-child { | |
margin-bottom:0 | |
} | |
#tweets { | |
margin-bottom:10px | |
} | |
#tweets .content { | |
margin-bottom:10px | |
} | |
#tweets a { | |
text-decoration:none | |
} | |
#following_container { | |
overflow:hidden; | |
padding-bottom:20px | |
} | |
#likes_container { | |
height:400px; | |
overflow-y:scroll | |
} | |
#following_container li { | |
display:inline; | |
padding:0; | |
margin:0 | |
} | |
#footer { | |
clear:both; | |
margin:0 auto; | |
overflow:hidden; | |
width:900px; | |
text-align:center | |
} | |
#colophon { | |
color:#555; | |
font-size:12px; | |
padding:10px 0 20px | |
} | |
#footer a { | |
border-bottom:1px dotted #555; | |
text-decoration:none | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment