📄 style.css
字号:
/*
Theme Name: 4u
Theme URI: http://utombox.com
Description: Powered by <a href="http://warpspire.com/hemingway">Hemingway</a>. template designed by <a href="http://utombox.com">uTom</a>.
Version: 0.40
Author: uTom
Author URI: http://utombox.com
*/
/*-----------------------------------------------------------------------------------------------
Global Styles
-----------------------------------------------------------------------------------------------*/
* {
padding:0;
margin:0;
}
h1, h2, h3, h4, h5, h6, p, pre, blockquote, label, ul, ol, dl, fieldset, address { margin:1em 0 0 0}
li, dd { margin-left:5%; }
fieldset { padding: .5em; }
select option{ padding:0 5px; }
.hide, .print-logo, .close-button{ display:none; }
.left{ float:left; }
.right{ float:right; }
.clear{
clear:both;
height:1px;
font-size:1px;
line-height:1px;
}
a img{ border:none; }
/*-----------------------------------------------------------------------------------------------
Layout / Base Page Styling
-----------------------------------------------------------------------------------------------*/
body{
color:#BFBFBF;
font-size:9pt;
font-family:"Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Verdana, Arial, sans-serif;
padding:0;
margin:0;
}
/* This class sets the width and position for all rows */
.inside{
width:760px;
min-width:65em;
max-width:85em;
margin:0 auto;
}
a{
color:#333;
text-decoration: none;
}
a:hover{
color:#000;
}
h1{
color:#CCC;
font-size:1.5em;
font-weight:normal;
margin:1.5em 0;
}
h2, h3{
font-size:1.15em;
color:#FFF;
font-weight: normal;
}
#primary h2{
color:#ccc;
}
p{
line-height:1.75em;
}
/*ul li{
list-style:square;
margin:0.5em 0 0.5em 2em;
}*/
blockquote{
margin-left:1em;
padding-left:1em;
border-left:2px solid #CCC;
color:#CCC;
}
pre{
width:100%;
padding:1em 0;
overflow:auto;
border-top:1px dotted #333;
border-bottom:1px dotted #333;
}
/*
table{
width:100%;
border-spacing:2px;
margin:1.5em 0;
}
table th, table td{ padding:0.3em 0.75em }
table th{
background:#CCC;
color:#000;
text-align:left;
}
table td{
background:#333;
color:#FFF;
}
table caption{
text-align:left;
color:#FFF;
margin-bottom:-1em;
margin-top:1em;
}
*/
.rule{
border-top:1px solid #CCC;
height:1px;
font-size:1px;
line-height:1px;
margin:1.5em 0;
}
.utom{
padding:0 2em;
}
/*-----------------------------------------------------------------------------------------------
Header
-----------------------------------------------------------------------------------------------*/
#header{
background:#000;
}
#header .inside{
padding:3em 0;
}
#header h2{
font-size:2.25em;
margin:0 0.5em 0 0;
padding:0 0.5em 0.25em 0;
border-right:1px solid #808080;
float:left;
}
#header h2 a{ color:#FFF; text-decoration:none; }
#header p{
padding:1em 0;
margin:0;
line-height:1em;
}
/*-----------------------------------------------------------------------------------------------
Primary Items
-----------------------------------------------------------------------------------------------*/
#primary{
padding:2em 0;
color:#808080;
background-image: url(images/maintop.png);
background-color: #fff;
background-repeat: repeat-x;
background-position: top;
}
#primary.onecol-stories .primary{
float:left;
width:50%;
}
#primary.onecol-stories .secondary{
float:right;
width:40%;
margin:0 0 0 10%;
}
#primary.twocol-stories .story{
width:500px;
display:inline;
margin-top: 0;
margin-right: 0;
margin-bottom: 0;
float:left;
clear:left;
}
#primary.twocol-stories .navigation{
width:500px;
display:inline;
margin-top: 0;
margin-right: 0;
margin-bottom: 0;
margin-left: 4%;
text-align: right;
float:left;
clear:left;
}
* html #primary.twocol-stories .story{
}
/*#primary.twocol-stories .first, * html #primary.twocol-stories .first{
margin:0 0 0 0;
}*/
.story {overflow: hidden;}
.story h3{
font-size:23px;
margin:0;
font-weight:bold;
color:#CCC;
}
.story h3 a{
color:#598D32;
text-decoration:none;
}
.story .details{
margin:10px 0 30px 0;
text-align:right;
padding:0;
font-size:0.95em;
color:#666;
height: 27px;
}
.story .details .read-on{
background:url(images/readon_black.gif) 100% 60% no-repeat;
padding-right:20px;
display:block;
}
.story .details a{
color:#333;
text-decoration:none;
}
.story .details a:hover{ color:#000; }
.inside a {
color: #598D32;
}
.inside a:hover {
color: #000;
}
/* Single Post Styles */
#primary .primary{
float:right;
width:480px;
padding: 0;
}
#primary .secondary h2{
color: #fff;
display: block;
height: 35px;
font-size: 14px;
line-height: 35px;
background-image: url(images/about1.gif);
padding: 0 0 0 1em;
margin: 0;
font-weight: bold;
}
#primary .secondary{
float:left;
width:220px;
padding-top:0em;
background-image: url(images/about2.gif);
}
* html #primary .secondary{
background-image: url(images/about2.gif);
}
.secondary .featured {
color: #fff;
padding: 0 1em 1em;
background-image: url(images/about3.jpg);
background-repeat: no-repeat;
background-position: bottom;
}
.secondary .featured p{
padding:0.5em 0 0.6em 0;
line-height:1.5em;
margin:1em 0 0 0;
}
.secondary .featured dl{
margin:0 0;
padding:0.5em 0 0.6em 0;
}
.secondary dt{
display:inline;
margin:0;
padding:0;
color:#fff;
}
.secondary dd{
display:inline;
margin:0;
padding:0;
}
.secondary dd a{ color:#fff; }
.secondary dd a:hover{ color:#000; }
.single-post h1, .single-post h2{ margin-top:0; }
/*-----------------------------------------------------------------------------------------------
Secondary Items
-----------------------------------------------------------------------------------------------*/
#secondary {
padding: 0;
background-color: #FAF9F5;
background-image: url(images/main_bg.jpg);
background-repeat: repeat-x;
background-position: bottom;
border-top-width: 1px;
border-bottom-width: 1px;
border-top-style: solid;
border-bottom-style: solid;
border-top-color: #ccc;
border-bottom-color: #D1D0CC;
}
.comment-head {
border-bottom: 1px solid #ccc;
padding: 1em 2em;
}
.comment-head h2 {
font-size: 1.5em;
margin: 0 0 3px 0;
color: #333;
}
.comment-head a {
text-decoration: none;
color: #333;
}
.comment-head a:hover { color: #000; }
.comment-head .details {
font-size: 0.95em;
}
ol#comments {
list-style-type: none;
margin: 1em 0;
color: #333;
padding: 0 2em;
}
ol#comments li {
list-style-type: none;
padding: 5px 0;
margin: 0;
border-bottom: 1px dotted #ccc;
}
#comments cite {
float: left;
width: 20%;
font-style: normal;
text-align: left;
padding-left: 2px;
}
* html #comments cite { width: 23%; }
#comments cite span {
display: block;
}
#comments cite .author { font-size: 1em; margin: 3px 0 3px 0; }
#comments cite .author a {
text-decoration: none;
color: #000;
}
#comments cite .author a:hover { color: #9BDA41; }
#comments cite .date { margin-bottom: 5px; }
#comments cite .gravatar { padding: 3px; border: 1px solid #ccc; width: 32px; }
#preview {
margin: 1em 0;
padding: 0.5em;
border: 1px solid #333;
}
#preview p { margin: 1em 0 0 0; }
#errors{ color: #FF0000; font-weight: bold; }
#comments .pingback cite .author {
display: block;
padding-top: 68px;
background: url(images/trackback_pingback.gif) 100% 0 no-repeat;
}
#comments .content {
float: left;
width: 66%;
margin: 0;
padding: 0 0 0 2%;
}
#comments .content a { color: #060; }
#comments .content a:hover { color: #9BDA41; }
#comments .content p {
margin: 0 0 1em 0;
}
h3.formhead {
font-size: 1.5em;
padding: 10px 0 0 30px;
color: #333;
}
#comment-form {
float: left;
margin: 0.5em 0 5em 3em;
width: 32em;
background: #eeeee6;
padding: 10px;
color: #990;
}
#comment-form p {
color: #333;
}
#comment-form p a { color: #9BDA41; }
#comment-form p a:hover { color: #FFF; }
#comment-guide {
float: left;
margin: 0 0 0 30px;
color: #44442F;
}
#comment-guide ul {
list-style-type: square;
margin: 6px 0 0 0;
}
#comment-guide li {
margin-bottom: 12px;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -