关于本BLOG的主题模板

2006年9月17日开始,我在My.Donews.com上建立了自己的WordPress新博客。

进入管理后台,选择外观>主题,我选择的是Andy Skelton & Scott Allan Wallick的Sandbox 0.6.1(A theme with powerful, semantic CSS selectors and the ability to add new skins.)。这是一个自定义性非常强的主题,它具有自己的很多款皮肤。在My.Donews.com中已集成了该主题的15种皮肤。如果是自己架设WordPress的可以到这里观看说明和下载

我选择的皮肤是Safirul Alredha的Red and Gray for Sandbox 1.0(2 Column – red and gray theme by Studieren-Info.de),该皮肤的CSS文件可以到这里查看。

这个皮肤本身已经做得很好了,但还是有一些小问题,也许是中文显示的原因,所以我修改了部分CSS。我添加的CSS如下:(在CSS editer中添加CSS非常方便)

/* Enter your CSS here! */

#wrapper
{
background-color: #FFF;
margin: 0 auto;
text-align: left;
width: 900px;
}#content {
float: left;
margin: 0 0 2em 2em;
width: 600px;
display: inline;
overflow:hidden;
}.sidebar {
float: right;
margin-right: 2em;
width: 180px;
display: inline;
}h1 {
background: #000000;
font: 1.7em trebuchet ms, arial, sans-serif;
padding: 2em 2em 0 1em;
}#blog-description {
background: #000000;
color: #FFF;
font:1.2em trebuchet ms, arial, sans-serif;
padding: 0 2em 0.5em 1.5em;
}

#globalnav { background: #660000; padding: 0.5em 2em;
border-bottom: 1px solid #600;
border-top: 1px solid #600;
}

.commentlist li, #commentform input, #commentform textarea {
font-size: 1.0em;
}

.entry-content p {
margin: 0 0 1.5em 0;
font-size:1.08em;
line-height: 21px;
}

h2 {
font-weight: bold;
}

a:link, a:visited, a:active, a:hover {
color: #800;
text-decoration: none;
border-bottom-width: 1px;
border-bottom-style: dotted;
border-bottom-color: #000000;
}

.sidebar ul li ul li a:hover {
color: #444;
text-decoration: none;
border-bottom-width: 1px;
border-bottom-style: dotted;
border-bottom-color: #000000;
}

#secondary
{ display:none} /* sidebar two */

这样就可以得到与本博客完全相同的显示效果。

注:本博客使用的主题模板将随个人喜好而不定时进行更改。

    Leave a Reply

    Twitter | 新浪微博 | Buzz | 豆瓣 | Flickr | Tumblr | Google+