页面定制CSS代码
``` cpp
home {background-color: #CAE1FF;}
.title {margin-left: 150px;}
.subtitle {margin-left: 250px;}
mainContent {margin-left: 100px;}
cnblogspostbody {font-size: 16px;}
footer {color: rgb(160,227,0);font-weight:bold;}
adtextcommentbox {display: none;}
.postDesc > a {display: none;}
adtextunder_commentbox {display: none;}
sitenavunder {display: none;}
adunderpost_holder {display: none;}
blognewskb {display: none;}
blogTitle > h2 {display: none;}
navList {display: none;}
green_channel {display: none;}
navigator {background:rgb(153,153,153);border:0px solid #ccc;border-width:0px;height:1px;line-height:1px;color:rgb(153,153,153);padding-left:15px;padding-right:5px;}
.img-rounded {
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
}
cnblogspostbody hr {border: dotted 1px rgb(160,227,0);}
.postBody h2{
font-size: 18px;
}
.postBody h1{
padding: 5px 10px;
margin: 10px;
background: rgb(140,214,0);
color: #F0FFF0;
font-size: 18px;
line-height: 1.3em;
text-align:center;
border: 2px dashed #fff;
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
-moz-box-shadow: 0 0 0 4px rgb(140,214,0);, 2px 1px 4px 4px rgba(10,10,0,.5);
-webkit-box-shadow: 0 0 0 4px rgb(140,214,0);, 2px 1px 4px 4px rgba(10,10,0,.5);
box-shadow: 0 0 0 4px rgb(140,214,0);, 2px 1px 6px 4px rgba(10,10,0,.5);
text-shadow: -1px -1px #939393;
}
.authorprofileinfo img {display: none;}
.postTitle {
font-size: 25px;
clear: both;
padding: 10px 20px;
text-shadow: -1px -1px rgb(238,238,238);
}
.post .postTitle {text-align:center;}
```
博客侧边栏公告
``` cpp
<div
class="statcounter"><a title="website statistics"
href="http://statcounter.com/" target="_blank"><img class="statcounter"
src="http://c.statcounter.com/8695836/0/921364d0/0/" alt="website
statistics"></a></div>
-->
```
页首Html代码
``` cpp
.Abstract
{
padding: 15px;
border: dotted 2px #999;
color: #999;
font-family: ‘Microsoft Yahei‘;
border-radius: 4px;
}
.First
{
margin: 10px 0;
font-family: ‘Microsoft Yahei‘;
text-align: left;
padding: 6px 20px;
color: #fff;
background: #55895B;
font-size: 20px;
border-radius: 4px;
clear: both;
}
.Second
{
margin: 10px 0;
font-family: ‘Microsoft Yahei‘;
padding: 6px 20px;
background: #93C8A2;
color: #fff;
font-size: 18px;
border-radius: 4px;
clear: both;
}
.Third
{
margin: 10px 0;
padding: 6px 20px;
font-family: ‘Microsoft Yahei‘;
margin: 15px 0;
font-size: 16px;
color: fff;
background: #C6EFD2;
color: #999;
border-radius: 4px;
clear: both;
}
.note
{
margin: 10px 0;
padding: 15px 20px 15px 60px;
background: #FCFAA9 url(‘http://images.cnblogs.com/cnblogs_com/libaoheng/305804/o_yellow-pin.png‘) no-repeat 20px 0;
font-size: 15px;
font-family: ‘Microsoft Yahei‘;
box-shadow: 0 0 8px #aaa;
clear: both;
}
.demo
{
text-align: left;
padding: 6px 20px;
overflow: auto;
border-radius: 4px;
background: orange;
color: #fff;
font-size: 16px;
clear: both;
}
.cnblogs_Highlighter
{
border: solid 1px #ccc;
clear: both;
}
.cnblogs_code
{
background: rgb(160,227,0);
border: solid 1px rgb(245,245,245);
font-size: 14px;
clear: both;
padding: 5px 10px;
}
.cnblogs_code pre
{
font-size: 14px;
}
.cnblogs_code span
{
font-family: Courier New;
font-size: 14px;
}
```