📄 style.css
字号:
/*
Theme Name: Garland Wordpress Theme - 2 Columns
Theme URI: http://www.briefdream.com/
Description: Based on Garland Wordpress Theme by <a href="http://incoherentbabble.com/">Chris Meller</a> and <a href="http://www.jackbook.com/">www.JackBook.com</a>, Originally for <a href="http://www.briefdream.com/">梦.:如此短暂</a>.
Version: 1.3.15
Author: Stefan Nagtegaal and Steven Wittens
Rebuild by: WindyWinter
*/
/*** Generic elements ***/
* {
margin: 0;
padding: 0;
}
a:link, a:visited {
color: #027ac6;
text-decoration: none;
}
a:hover {
color: #0062a0;
text-decoration: underline;
}
a:active, a.active {
color: #5895be;
}
h1, h2, h3, h4, h5, h6, h7 {
font-weight: bold;
/*font-family: Arial, "微软雅黑", "文泉驿正黑", "WenQuanYi Bitmap Song", "宋体", sans-serif;*/
}
h1 {
font-size: 170%;
}
h2 {
font-size: 160%;
line-height: 130%;
}
h3 {
font-size: 140%;
}
h4 {
font-size: 130%;
}
h5 {
font-size: 120%;
}
h6 {
font-size: 110%;
}
img, a img {
border: none;
}
input {
color: #494949;
}
blockquote {
background: #edf5fa;
margin: 0 10px;
}
blockquote blockquote{
border: 1px dotted #027ac6;
margin: 0 10px;
}
textarea, select {
color: #494949;
}
li {
list-style: none;
}
body {
background: #edf5fa;
color: #494949;
font-size: 12px;
}
/*** wrapper floater ***/
#wrapper_floater {
background: url("images/wrapper_floater.png") repeat-x 50% 100%;
height: 16px;
}
/*** wrapper ***/
#wrapper {
background: url("images/wrapper.png") #edf5fa repeat-x 50% 0;
height: 600px;
max-width: 1270px;
margin: 0 auto;
padding: 0 20px;
}
/*** header ***/
#header {
height: 80px;
}
#logo {
position: absolute;
}
#header h1, #header h1 a:link, #header h1 a:visited {
color: #fff;
font-weight: bold;
line-height: 120px;
position: relative;
white-space: nowrap;
text-decoration: none;
z-index: 2;
}
#page_items {
float: right;
margin: 0;
padding: 0;
position: relative;
z-index: 4;
}
#page_items li {
background: none;
float: left;
margin: 0;
padding: 0;
}
#page_items li a, #page_items li a:link, #page_items li a:visited {
background: transparent url("images/page_item.png") no-repeat 50% 0;
color: #fff;
display: block;
margin: 0 16px;
padding: 12px 0 0;
}
#page_items li a:hover, #page_items li a.active {
background: transparent url("images/page_item_hover.png") no-repeat 50% 0;
color: #fff;
}
/*** sidebar ***/
.sidebar {
float: left;
margin: 60px 0 80px;
width: 208px;
z-index: 2;
position: relative;
}
.sidebar ul {
margin-left: 0;
padding: 0;
}
.sidebar li {
background: url("images/menu_leaf.png") no-repeat 0 6px;
padding: 0 0 0 13px;
}
.search input {
width: 102px;
border: none;
background: url(images/search.png) no-repeat;
color: #3cf;
line-height: 14px;
height: 22px;
padding: 3px 4px 2px 6px;
}
.search .submit {
width: 22px;
background: none;
height: 23px;
padding: 0;
}
.toolbar img {
margin-left: 2px;
}
/*** content ***/
#center {
margin: 0 0 0 -210px;
float: right;
width: 100%;
}
/* Now we add the backgrounds for the main content shading */
#squeeze {
background: url("images/bg_content.png") #fff repeat-x 50% 0;
margin: 0 0 0 210px;
position: relative;
}
#right-corner {
background: url("images/bg_content_right.png") no-repeat 100% 0;
left: 10px;
position: relative;
}
#left-corner {
background: url("images/bg_content_left.png") no-repeat 0 0;
left: -10px;
margin-left: -10px;
min-height: 400px;
padding: 60px 25px 10px 35px;
position: relative;
}
/*** post ***/
.post {
margin-bottom: 32px;
overflow: hidden;
word-break: break-all; /* For IE */
word-wrap: break-word;
}
.posthead h3 {
letter-spacing: -1px;
line-height: 22px;
padding-left: 3px;
}
.postinfo {
color: #666;
padding-left: 3px;
}
.postinfo a {
color: #666;
text-decoration: none;
}
.postinfo a:hover, .postinfo a:visited:hover {
color: #666;
text-decoration: underline;
}
.postdate {
background: url(images/datetime.png) no-repeat;
float: left;
height: 40px;
list-style: none;
padding: 6px 0 8px 8px;
width: 40px;
position: relative;
}
.postdate .month {
color: #fff;
font-size: 9px;
line-height: 9px;
padding-left: 1px;
}
.postdate .day {
color: #999;
font-size: 170%;
font-weight: normal;
letter-spacing: 1px;
line-height: 20px;
}
.postcategory {
background: url(images/category.png) no-repeat;
padding-left: 18px;
}
.postauthor {
background: url(images/user_green.png) no-repeat;
padding-left: 18px;
}
.popularity {
background: url(images/arrow_up.png) no-repeat;
padding-left: 18px;
}
.edit_post {
background: url(images/edit.png) no-repeat;
padding-left: 18px;
}
.tag {
background: url(images/tag_blue.png) no-repeat;
padding-left: 18px;
}
.readmore {
background: url(images/permalink.png) no-repeat;
padding-left: 20px;
}
.postcontent {
border-top: solid 1px #e2e2e2;
color: #666;
line-height: 21px;
margin: 12px 0;
padding: 6px 0 0;
}
.postbottom li a{
padding: 0;
text-decoration: none;
}
.comments_number {
background: url(images/comment.png) no-repeat;
padding-left: 20px;
}
.get_permalink {
background: url(images/permalink.png) no-repeat;
padding-left: 20px;
}
.trackback {
background: url(images/arrow_refresh.png) no-repeat;
padding-left: 20px;
}
.related {
width: 100%;
}
.relatedlink {
float: left;
width: 300px;
}
.relatedlink li a {
background: url(images/arrow_rotate_clockwise.png) no-repeat;
list-style: none;
padding-left: 20px;
text-decoration: none;
}
.relatedad {
padding: 0;
float: right;
}
#toc ul ul {
margin-left: 16px;
}
/*** comments ***/
.commentlist {
list-style: none;
margin: 16px 0 48px;
padding: 0;
}
.commentlist .alt {
background: #edf5fa;
}
.commentlist cite {
font-weight: bold;
}
.commentlist li {
padding: 16px 0 16px 10px;
}
.commentlist li .gravatar {
border: none;
float: right;
margin: -16px 0 0;
padding: 0;
}
.commentlist blockquote{
background: none;
border: 1px dotted #027ac6;
margin: 0 10px;
}
#commentbox {
width: 580px;
}
/*** 分页菜单定义 ***/
.navigation a{
margin: 0 -2px -2px 0;
padding: 0 5px;
border: 1px solid #5895be;
background: #fff;
line-height: 20px;
height: 20px;
}
.navigation a:hover {
border: 1px solid #0062a0;
text-decoration: none;
}
.navigation .fvpage{
margin: 0 -2px -2px 0;
padding: 0 5px;
border: 1px solid #0062a0;
color: #027ac6;
line-height: 20px;
height: 20px;
}
/*** footer ***/
#footer {
clear: both;
color: #898989;
float: none;
text-align: center;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -