碼農熊的博客樣式 12種配色方案+浮動快捷菜單


話說

上次搞了個 碼農熊的博客樣式 灰色調 之后,就一直再持續研究。

期間也淘到了不少優秀的參考博客,最喜歡的要數http://www.cnblogs.com/Mainz/Mainz的博客風格)

自己也搞了個博客園 漂浮快捷操作

這回呢,把兩者結合順便再配個12色,歡迎大家批評指導。

特別說明

1.圓角還沒有去研究= =!懶惰的自己

2.推薦功能還無法使用(待研究)

3.配色好像放到博客里,有些還是沒調整好,不夠順眼

效果

CSS
#divTool{width:24px;right:15px;bottom:15px;cursor:pointer; position:fixed;_position:absolute;display:none; color:#FFFFFF}
#divTool img
{border:0px;margin:2px;}

/*公用*/
body
{
color
:#333;background:#FFF;font-family:"verdana","宋體","Arial";font-size:10pt;line-height:1.8em; background:#8cc540;
}
#home
{
background
:#fff;
overflow
:auto;
border
:solid 1px #fff;
}
/*段落*/
.postBody p,.postCon p
{
margin
:7px 0;
line-height
:24px;
}
h1
{
margin
:0;
}
h3
{
font-size
:15px;
font-weight
:bold;
}
/*超鏈接*/
a
{
color
:#464646;
text-decoration
:none;
}
a:hover
{
text-decoration
:underline;
}
a:visited,a:hover
{
color
:#464646;
}
ul
{
list-style
:none;
margin
:0;
padding
:0;
}
image
{
border
:none;
}
#header
{
padding
:20px;
}
/*博客標題*/
#blogTitle,#blogTitle a
{
font-weight
:bold;
color
:#8cc540;
}
/*子標題*/
.subtitle
{
padding-left
:30px;
font-size
:14px;
color
:#999;
font-weight
:normal;
margin
:10px 0;
}
/*導航欄*/
#navigator
{
border-radius
: 4px;
font-size
:16px;
height
:48px;
background
:#8cc540;
text-align
:center;
margin-top
:20px;
margin-bottom
:20px;
}
#navList li
{
/*border:solid 1px #80BB01;
*/
margin
:0;
line-height
:48px;
display
:inline-block;
float
:left;
}
#navList li:hover
{
/*border:solid 1px #BFE866;
*/
background
:#98cb54;
}
#navList li a
{
padding
:0 30px;
text-decoration
:none;
line-height
:48px;
border
:0;
color
:#fff;
display
:-moz-inline-box;
display
:inline-block;
}
.blogStats
{
margin
:0;
line-height
:48px;
display
:inline-block;
float
:right;
}
#main
{
padding
:20px;
}
/*左邊*/
#sideBarMain
{
width
:200px;float:left;border-right:1px solid #666;margin-right:20px;
}
#sideBarMain a
{
color
:#666;
}
#leftcontentcontainer
{
color
:#666;
}
.newsItem
{
color
:#666;
}
/*公告*/
#profile_block
{
margin-top
:0px;
line-height
:24px;
text-align
:left;
}
/*主面板*/
#mainContent
{float:right;margin-left:-250px;width:100%;}
/*每日文章列表*/
.day
{
background
:#fff;
padding
:0;
/*border-bottom:solid 5px #489BF0;
*/
margin
:0 0 20px 0;
}
/*博客標題*/
.postTitle a
{
color
:#464646;
}
.postTitle
{
padding-bottom
:10px;
font-size
:20px;
font-weight
:bold;
color
:#464646;
}
.dayTitle
{
display
:none;
}
/*摘要*/
.c_b_p_desc
{
padding
:10px;
line-height
:24px;
color
:#888;
}
.c_b_p_desc a
{
color
:#888;
}
.c_b_p_desc a:hover
{
text-decoration
:none;
border-bottom-width
:1px;
border-bottom-style
:dotted;
}
/*右側圖片*/
.desc_img
{
margin-left
:10px;
border
:solid 1px #fff;
box-shadow
:0 0 10px #aaa;
}
.forFlow
{margin:0 16px 0 220px;}
/*博文頁*/
#topics .post
{
background
:#fff;
}
.postCon
{
padding
:10px 20px 0 20px;
}
.postDesc
{
margin
:0 30px;
margin-bottom
:2px;
padding
:8px 0px;
font-size
:12px;
color
:#aaa;
background
:#fff;
text-align
:right;
}
.postDesc a
{
color
:#AAA;
}
.postBody
{
padding
:0;
}
/*google搜索框*/
#google_q,#q
{
height
:26px;
width
:120px;
border
:solid 1px #aaa;
box-shadow
:inset 0 0 5px #aaa;
}
/*按鈕*/

.btn_my_zzk
{
border
:none;
height
:30px;
width
:80px;
padding
:1px;
font-size
:14px;
font-weight
:bold;
cursor
:pointer;
position
:relative;
vertical-align
:middle;
display
:inline-block;
background
:#8cc540;
color
:#fff;
border-radius
: 4px;
}
.btn_my_zzk:hover
{
background
:#98cb54;
}
/*評論按鈕*/

#btn_comment_submit
{
border
:none;
height
:48px;
width
:120px;
border-radius
: 4px;
}
/*評論按鈕*/
.comment_btn
{
font-family
:'Microsoft Yahei';
border
:none;
height
:48px;
width
:120px;
font-size
:18px;
cursor
:pointer;
position
:relative;
vertical-align
:middle;
display
:inline-block;
background
:#8cc540;
color
:#fff;
border-radius
: 4px;
}
#btn_comment_submit:hover
{
background
:#98cb54;
border-radius
: 4px;
}
/*評論標題*/
.postTitle,.entrylistPosttitle,.feedback_area_title
{border-bottom:1px solid #ddd;font-size:14px;font-weight:bold;margin:20px 0 10px;}
.feedbackListSubtitle
{
font-size
:12px;
color
:#888;
}
.feedbackListSubtitle a
{
color
:#888;
}
div.commentform textarea
{ width:450px;height:300px;ont-size:13px;}
/*評論條目*/
.feedbackItem
{padding:8px;border-bottom:1px dotted #ccc;}
/************************************分類頁****************************************/
.entrylist
{
padding
:10px 20px;
background
:#fff;
}
.entrylistItem
{
margin
:10px 0;
padding
:10px;
}
.entrylistPosttitle
{
font-size
:18px;
font-weight
:bold;
padding-left
:30px;
}
.entrylistPostSummary
{
padding
:10px;
}
.entrylistItemPostDesc
{
font-size
:12px;
color
:#999;
padding-left
:40px;
}
/*尾部*/

#footer
{
font-size
:12px;
margin
:20px;
padding
:12px;
text-align
:center;
background
:#98cb54;
color
:#DDD;
font-size
:14px;
border-radius
: 4px;
}
HTML
<div id="divTool"> 
<a href="#top" title="返回頂部">
<img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_db.png" width="24" height="24" />
</a>
<a href="http://www.cnblogs.com/IT-Bear/" title="回到主頁">
<img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_zy.png" width="24" height="24" />
</a>
<a id="favorite" onclick="AddToWz(cb_entryId);return false;" href="javascript:void(0);" title="收藏此文">
<img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_sc.png" width="24" height="24" />
</a> <a href='javascript:void(0)' id="aPin" onclick='document.getElementById("commentform_title").scrollIntoView();' title='發表評論'><img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_pl.png" width="24" height="24" />
</a> <a href="javascript:void(0);" id="adigg" title="推薦此文"><img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_rj.png" width="24" height="24" />
</a>
</div>











<style type="text/css">
.First
{
margin
: 10px 0;
font-family
: 'Microsoft Yahei';
text-align
: left;
padding
: 6px 20px;
color
:#fff;
background
: #8cc540;
font-size
: 20px;
border-radius
: 4px;
clear
: both;
}
.Second
{
margin
: 10px 0;
font-family
: 'Microsoft Yahei';
padding
: 6px 20px;
background
: #98cb54;
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
: #bfde96;
border-radius
: 4px;
clear
: both;
}
.note
{
margin
: 10px 0;
padding
: 15px 20px 15px 60px;
font-size
: 15px;
font-family
: 'Microsoft Yahei';
box-shadow
: 0 0 8px #aaa;
clear
: both;
}
</style>
<script>
var href=document.location.href;
onload
=function(){confirm(href);}
</script>
<script type="text/javascript">
//絕對定位隱藏顯示
function getScroll(id){
var obj = document.getElementById(id);
var timer = null;
positionFixed(obj);
if(obj){
obj.style.display
= 'none';
window.onscroll
=function(){
getScrollTop()
> 0 ? obj.style.display = "block" : obj.style.display = "none";
}
}
}
//判斷IE6
function positionFixed(obj){
var iE6 = !-[1,] && !window.XMLHttpRequest;
if(obj){
var top = obj.offsetTop;
if(iE6){
document.documentElement.style.textOverflow
= "ellipsis";
obj.style.position
= "absolute";
obj.style.setExpression(
"top", "eval(documentElement.scrollTop + " + top + ') + "px"');
}
}
}
//獲取滾動條Top
function getScrollTop(){
return document.documentElement.scrollTop || document.body.scrollTop;
}
window.onload
= function(){
getScroll(
'divTool');
var href=document.location.href;
var reg=/archive/;
if(reg.test(href)){
document.getElementById(
"adigg").onclikc = "DiggIt"+"(cb_entryId,cb_blogId,1)"+";green_channel_success(this,'謝謝推薦!');";

document.getElementById(
"favorite").style.display = 'blcok';
document.getElementById(
"adigg").style.display = 'blcok';
document.getElementById(
"aPin").style.display = 'blcok';
}
else{
favorite
document.getElementById(
"adigg").style.display = 'none';
document.getElementById(
"aPin").style.display = 'none';
document.getElementById(
"favorite").style.display = 'none';
}
}
</script>

CSS
#divTool{width:24px;right:15px;bottom:15px;cursor:pointer; position:fixed;_position:absolute;display:none; color:#FFFFFF}
#divTool img
{border:0px;margin:2px;}

/*公用*/
body
{
color
:#333;background:#FFF;font-family:"verdana","宋體","Arial";font-size:10pt;line-height:1.8em; background:#009f5d;
}
#home
{
background
:#fff;
overflow
:auto;
border
:solid 1px #fff;
}
/*段落*/
.postBody p,.postCon p
{
margin
:7px 0;
line-height
:24px;
}
h1
{
margin
:0;
}
h3
{
font-size
:15px;
font-weight
:bold;
}
/*超鏈接*/
a
{
color
:#464646;
text-decoration
:none;
}
a:hover
{
text-decoration
:underline;
}
a:visited,a:hover
{
color
:#464646;
}
ul
{
list-style
:none;
margin
:0;
padding
:0;
}
image
{
border
:none;
}
#header
{
padding
:20px;
}
/*博客標題*/
#blogTitle,#blogTitle a
{
font-weight
:bold;
color
:#009f5d;
}
/*子標題*/
.subtitle
{
padding-left
:30px;
font-size
:14px;
color
:#999;
font-weight
:normal;
margin
:10px 0;
}
/*導航欄*/
#navigator
{
border-radius
: 4px;
font-size
:16px;
height
:48px;
background
:#009f5d;
text-align
:center;
margin-top
:20px;
margin-bottom
:20px;
}
#navList li
{
/*border:solid 1px #80BB01;
*/
margin
:0;
line-height
:48px;
display
:inline-block;
float
:left;
}
#navList li:hover
{
/*border:solid 1px #BFE866;
*/
background
:#00ca74;
}
#navList li a
{
padding
:0 30px;
text-decoration
:none;
line-height
:48px;
border
:0;
color
:#fff;
display
:-moz-inline-box;
display
:inline-block;
}
.blogStats
{
margin
:0;
line-height
:48px;
display
:inline-block;
float
:right;
}
#main
{
padding
:20px;
}
/*左邊*/
#sideBarMain
{
width
:200px;float:left;border-right:1px solid #666;margin-right:20px;
}
#sideBarMain a
{
color
:#666;
}
#leftcontentcontainer
{
color
:#666;
}
.newsItem
{
color
:#666;
}
/*公告*/
#profile_block
{
margin-top
:0px;
line-height
:24px;
text-align
:left;
}
/*主面板*/
#mainContent
{float:right;margin-left:-250px;width:100%;}
/*每日文章列表*/
.day
{
background
:#fff;
padding
:0;
/*border-bottom:solid 5px #489BF0;
*/
margin
:0 0 20px 0;
}
/*博客標題*/
.postTitle a
{
color
:#464646;
}
.postTitle
{
padding-bottom
:10px;
font-size
:20px;
font-weight
:bold;
color
:#464646;
}
.dayTitle
{
display
:none;
}
/*摘要*/
.c_b_p_desc
{
padding
:10px;
line-height
:24px;
color
:#888;
}
.c_b_p_desc a
{
color
:#888;
}
.c_b_p_desc a:hover
{
text-decoration
:none;
border-bottom-width
:1px;
border-bottom-style
:dotted;
}
/*右側圖片*/
.desc_img
{
margin-left
:10px;
border
:solid 1px #fff;
box-shadow
:0 0 10px #aaa;
}
.forFlow
{margin:0 16px 0 220px;}
/*博文頁*/
#topics .post
{
background
:#fff;
}
.postCon
{
padding
:10px 20px 0 20px;
}
.postDesc
{
margin
:0 30px;
margin-bottom
:2px;
padding
:8px 0px;
font-size
:12px;
color
:#aaa;
background
:#fff;
text-align
:right;
}
.postDesc a
{
color
:#AAA;
}
.postBody
{
padding
:0;
}
/*google搜索框*/
#google_q,#q
{
height
:26px;
width
:120px;
border
:solid 1px #aaa;
box-shadow
:inset 0 0 5px #aaa;
}
/*按鈕*/

.btn_my_zzk
{
border
:none;
height
:30px;
width
:80px;
padding
:1px;
font-size
:14px;
font-weight
:bold;
cursor
:pointer;
position
:relative;
vertical-align
:middle;
display
:inline-block;
background
:#009f5d;
color
:#fff;
border-radius
: 4px;
}
.btn_my_zzk:hover
{
background
:#00ca74;
}
/*評論按鈕*/

#btn_comment_submit
{
border
:none;
height
:48px;
width
:120px;
border-radius
: 4px;
}
/*評論按鈕*/
.comment_btn
{
font-family
:'Microsoft Yahei';
border
:none;
height
:48px;
width
:120px;
font-size
:18px;
cursor
:pointer;
position
:relative;
vertical-align
:middle;
display
:inline-block;
background
:#009f5d;
color
:#fff;
border-radius
: 4px;
}
#btn_comment_submit:hover
{
background
:#00ca74;
border-radius
: 4px;
}
/*評論標題*/
.postTitle,.entrylistPosttitle,.feedback_area_title
{border-bottom:1px solid #ddd;font-size:14px;font-weight:bold;margin:20px 0 10px;}
.feedbackListSubtitle
{
font-size
:12px;
color
:#888;
}
.feedbackListSubtitle a
{
color
:#888;
}
div.commentform textarea
{ width:450px;height:300px;ont-size:13px;}
/*評論條目*/
.feedbackItem
{padding:8px;border-bottom:1px dotted #ccc;}
/************************************分類頁****************************************/
.entrylist
{
padding
:10px 20px;
background
:#fff;
}
.entrylistItem
{
margin
:10px 0;
padding
:10px;
}
.entrylistPosttitle
{
font-size
:18px;
font-weight
:bold;
padding-left
:30px;
}
.entrylistPostSummary
{
padding
:10px;
}
.entrylistItemPostDesc
{
font-size
:12px;
color
:#999;
padding-left
:40px;
}
/*尾部*/

#footer
{
font-size
:12px;
margin
:20px;
padding
:12px;
text-align
:center;
background
:#00ca74;
color
:#DDD;
font-size
:14px;
border-radius
: 4px;
}
HTML
<div id="divTool"> 
<a href="#top" title="返回頂部">
<img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_db.png" width="24" height="24" />
</a>
<a href="http://www.cnblogs.com/IT-Bear/" title="回到主頁">
<img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_zy.png" width="24" height="24" />
</a>
<a id="favorite" onclick="AddToWz(cb_entryId);return false;" href="javascript:void(0);" title="收藏此文">
<img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_sc.png" width="24" height="24" />
</a> <a href='javascript:void(0)' id="aPin" onclick='document.getElementById("commentform_title").scrollIntoView();' title='發表評論'><img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_pl.png" width="24" height="24" />
</a> <a href="javascript:void(0);" id="adigg" title="推薦此文"><img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_rj.png" width="24" height="24" />
</a>
</div>











<style type="text/css">
.First
{
margin
: 10px 0;
font-family
: 'Microsoft Yahei';
text-align
: left;
padding
: 6px 20px;
color
:#fff;
background
: #009f5d;
font-size
: 20px;
border-radius
: 4px;
clear
: both;
}
.Second
{
margin
: 10px 0;
font-family
: 'Microsoft Yahei';
padding
: 6px 20px;
background
: #00ca74;
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
: #00f48c;
border-radius
: 4px;
clear
: both;
}
.note
{
margin
: 10px 0;
padding
: 15px 20px 15px 60px;
font-size
: 15px;
font-family
: 'Microsoft Yahei';
box-shadow
: 0 0 8px #aaa;
clear
: both;
}
</style>
<script>
var href=document.location.href;
onload
=function(){confirm(href);}
</script>
<script type="text/javascript">
//絕對定位隱藏顯示
function getScroll(id){
var obj = document.getElementById(id);
var timer = null;
positionFixed(obj);
if(obj){
obj.style.display
= 'none';
window.onscroll
=function(){
getScrollTop()
> 0 ? obj.style.display = "block" : obj.style.display = "none";
}
}
}
//判斷IE6
function positionFixed(obj){
var iE6 = !-[1,] && !window.XMLHttpRequest;
if(obj){
var top = obj.offsetTop;
if(iE6){
document.documentElement.style.textOverflow
= "ellipsis";
obj.style.position
= "absolute";
obj.style.setExpression(
"top", "eval(documentElement.scrollTop + " + top + ') + "px"');
}
}
}
//獲取滾動條Top
function getScrollTop(){
return document.documentElement.scrollTop || document.body.scrollTop;
}
window.onload
= function(){
getScroll(
'divTool');
var href=document.location.href;
var reg=/archive/;
if(reg.test(href)){
document.getElementById(
"adigg").onclikc = "DiggIt"+"(cb_entryId,cb_blogId,1)"+";green_channel_success(this,'謝謝推薦!');";

document.getElementById(
"favorite").style.display = 'blcok';
document.getElementById(
"adigg").style.display = 'blcok';
document.getElementById(
"aPin").style.display = 'blcok';
}
else{
favorite
document.getElementById(
"adigg").style.display = 'none';
document.getElementById(
"aPin").style.display = 'none';
document.getElementById(
"favorite").style.display = 'none';
}
}
</script>

CSS
#divTool{width:24px;right:15px;bottom:15px;cursor:pointer; position:fixed;_position:absolute;display:none; color:#FFFFFF}
#divTool img
{border:0px;margin:2px;}

/*公用*/
body
{
color
:#333;background:#FFF;font-family:"verdana","宋體","Arial";font-size:10pt;line-height:1.8em; background:#019fa0;
}
#home
{
background
:#fff;
overflow
:auto;
border
:solid 1px #fff;
}
/*段落*/
.postBody p,.postCon p
{
margin
:7px 0;
line-height
:24px;
}
h1
{
margin
:0;
}
h3
{
font-size
:15px;
font-weight
:bold;
}
/*超鏈接*/
a
{
color
:#464646;
text-decoration
:none;
}
a:hover
{
text-decoration
:underline;
}
a:visited,a:hover
{
color
:#464646;
}
ul
{
list-style
:none;
margin
:0;
padding
:0;
}
image
{
border
:none;
}
#header
{
padding
:20px;
}
/*博客標題*/
#blogTitle,#blogTitle a
{
font-weight
:bold;
color
:#019fa0;
}
/*子標題*/
.subtitle
{
padding-left
:30px;
font-size
:14px;
color
:#999;
font-weight
:normal;
margin
:10px 0;
}
/*導航欄*/
#navigator
{
border-radius
: 4px;
font-size
:16px;
height
:48px;
background
:#019fa0;
text-align
:center;
margin-top
:20px;
margin-bottom
:20px;
}
#navList li
{
/*border:solid 1px #80BB01;
*/
margin
:0;
line-height
:48px;
display
:inline-block;
float
:left;
}
#navList li:hover
{
/*border:solid 1px #BFE866;
*/
background
:#01cbcb;
}
#navList li a
{
padding
:0 30px;
text-decoration
:none;
line-height
:48px;
border
:0;
color
:#fff;
display
:-moz-inline-box;
display
:inline-block;
}
.blogStats
{
margin
:0;
line-height
:48px;
display
:inline-block;
float
:right;
}
#main
{
padding
:20px;
}
/*左邊*/
#sideBarMain
{
width
:200px;float:left;border-right:1px solid #666;margin-right:20px;
}
#sideBarMain a
{
color
:#666;
}
#leftcontentcontainer
{
color
:#666;
}
.newsItem
{
color
:#666;
}
/*公告*/
#profile_block
{
margin-top
:0px;
line-height
:24px;
text-align
:left;
}
/*主面板*/
#mainContent
{float:right;margin-left:-250px;width:100%;}
/*每日文章列表*/
.day
{
background
:#fff;
padding
:0;
/*border-bottom:solid 5px #489BF0;
*/
margin
:0 0 20px 0;
}
/*博客標題*/
.postTitle a
{
color
:#464646;
}
.postTitle
{
padding-bottom
:10px;
font-size
:20px;
font-weight
:bold;
color
:#464646;
}
.dayTitle
{
display
:none;
}
/*摘要*/
.c_b_p_desc
{
padding
:10px;
line-height
:24px;
color
:#888;
}
.c_b_p_desc a
{
color
:#888;
}
.c_b_p_desc a:hover
{
text-decoration
:none;
border-bottom-width
:1px;
border-bottom-style
:dotted;
}
/*右側圖片*/
.desc_img
{
margin-left
:10px;
border
:solid 1px #fff;
box-shadow
:0 0 10px #aaa;
}
.forFlow
{margin:0 16px 0 220px;}
/*博文頁*/
#topics .post
{
background
:#fff;
}
.postCon
{
padding
:10px 20px 0 20px;
}
.postDesc
{
margin
:0 30px;
margin-bottom
:2px;
padding
:8px 0px;
font-size
:12px;
color
:#aaa;
background
:#fff;
text-align
:right;
}
.postDesc a
{
color
:#AAA;
}
.postBody
{
padding
:0;
}
/*google搜索框*/
#google_q,#q
{
height
:26px;
width
:120px;
border
:solid 1px #aaa;
box-shadow
:inset 0 0 5px #aaa;
}
/*按鈕*/

.btn_my_zzk
{
border
:none;
height
:30px;
width
:80px;
padding
:1px;
font-size
:14px;
font-weight
:bold;
cursor
:pointer;
position
:relative;
vertical-align
:middle;
display
:inline-block;
background
:#019fa0;
color
:#fff;
border-radius
: 4px;
}
.btn_my_zzk:hover
{
background
:#01cbcb;
}
/*評論按鈕*/

#btn_comment_submit
{
border
:none;
height
:48px;
width
:120px;
border-radius
: 4px;
}
/*評論按鈕*/
.comment_btn
{
font-family
:'Microsoft Yahei';
border
:none;
height
:48px;
width
:120px;
font-size
:18px;
cursor
:pointer;
position
:relative;
vertical-align
:middle;
display
:inline-block;
background
:#019fa0;
color
:#fff;
border-radius
: 4px;
}
#btn_comment_submit:hover
{
background
:#01cbcb;
border-radius
: 4px;
}
/*評論標題*/
.postTitle,.entrylistPosttitle,.feedback_area_title
{border-bottom:1px solid #ddd;font-size:14px;font-weight:bold;margin:20px 0 10px;}
.feedbackListSubtitle
{
font-size
:12px;
color
:#888;
}
.feedbackListSubtitle a
{
color
:#888;
}
div.commentform textarea
{ width:450px;height:300px;ont-size:13px;}
/*評論條目*/
.feedbackItem
{padding:8px;border-bottom:1px dotted #ccc;}
/************************************分類頁****************************************/
.entrylist
{
padding
:10px 20px;
background
:#fff;
}
.entrylistItem
{
margin
:10px 0;
padding
:10px;
}
.entrylistPosttitle
{
font-size
:18px;
font-weight
:bold;
padding-left
:30px;
}
.entrylistPostSummary
{
padding
:10px;
}
.entrylistItemPostDesc
{
font-size
:12px;
color
:#999;
padding-left
:40px;
}
/*尾部*/

#footer
{
font-size
:12px;
margin
:20px;
padding
:12px;
text-align
:center;
background
:#01cbcb;
color
:#DDD;
font-size
:14px;
border-radius
: 4px;
}
HTML
<div id="divTool"> 
<a href="#top" title="返回頂部">
<img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_db.png" width="24" height="24" />
</a>
<a href="http://www.cnblogs.com/IT-Bear/" title="回到主頁">
<img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_zy.png" width="24" height="24" />
</a>
<a id="favorite" onclick="AddToWz(cb_entryId);return false;" href="javascript:void(0);" title="收藏此文">
<img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_sc.png" width="24" height="24" />
</a> <a href='javascript:void(0)' id="aPin" onclick='document.getElementById("commentform_title").scrollIntoView();' title='發表評論'><img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_pl.png" width="24" height="24" />
</a> <a href="javascript:void(0);" id="adigg" title="推薦此文"><img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_rj.png" width="24" height="24" />
</a>
</div>











<style type="text/css">
.First
{
margin
: 10px 0;
font-family
: 'Microsoft Yahei';
text-align
: left;
padding
: 6px 20px;
color
:#fff;
background
: #019fa0;
font-size
: 20px;
border-radius
: 4px;
clear
: both;
}
.Second
{
margin
: 10px 0;
font-family
: 'Microsoft Yahei';
padding
: 6px 20px;
background
: #01cbcb;
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
: #01f5f5;
border-radius
: 4px;
clear
: both;
}
.note
{
margin
: 10px 0;
padding
: 15px 20px 15px 60px;
font-size
: 15px;
font-family
: 'Microsoft Yahei';
box-shadow
: 0 0 8px #aaa;
clear
: both;
}
</style>
<script>
var href=document.location.href;
onload
=function(){confirm(href);}
</script>
<script type="text/javascript">
//絕對定位隱藏顯示
function getScroll(id){
var obj = document.getElementById(id);
var timer = null;
positionFixed(obj);
if(obj){
obj.style.display
= 'none';
window.onscroll
=function(){
getScrollTop()
> 0 ? obj.style.display = "block" : obj.style.display = "none";
}
}
}
//判斷IE6
function positionFixed(obj){
var iE6 = !-[1,] && !window.XMLHttpRequest;
if(obj){
var top = obj.offsetTop;
if(iE6){
document.documentElement.style.textOverflow
= "ellipsis";
obj.style.position
= "absolute";
obj.style.setExpression(
"top", "eval(documentElement.scrollTop + " + top + ') + "px"');
}
}
}
//獲取滾動條Top
function getScrollTop(){
return document.documentElement.scrollTop || document.body.scrollTop;
}
window.onload
= function(){
getScroll(
'divTool');
var href=document.location.href;
var reg=/archive/;
if(reg.test(href)){
document.getElementById(
"adigg").onclikc = "DiggIt"+"(cb_entryId,cb_blogId,1)"+";green_channel_success(this,'謝謝推薦!');";

document.getElementById(
"favorite").style.display = 'blcok';
document.getElementById(
"adigg").style.display = 'blcok';
document.getElementById(
"aPin").style.display = 'blcok';
}
else{
favorite
document.getElementById(
"adigg").style.display = 'none';
document.getElementById(
"aPin").style.display = 'none';
document.getElementById(
"favorite").style.display = 'none';
}
}
</script>

CSS
#divTool{width:24px;right:15px;bottom:15px;cursor:pointer; position:fixed;_position:absolute;display:none; color:#FFFFFF}
#divTool img
{border:0px;margin:2px;}

/*公用*/
body
{
color
:#333;background:#FFF;font-family:"verdana","宋體","Arial";font-size:10pt;line-height:1.8em; background:#019fde;
}
#home
{
background
:#fff;
overflow
:auto;
border
:solid 1px #fff;
}
/*段落*/
.postBody p,.postCon p
{
margin
:7px 0;
line-height
:24px;
}
h1
{
margin
:0;
}
h3
{
font-size
:15px;
font-weight
:bold;
}
/*超鏈接*/
a
{
color
:#464646;
text-decoration
:none;
}
a:hover
{
text-decoration
:underline;
}
a:visited,a:hover
{
color
:#464646;
}
ul
{
list-style
:none;
margin
:0;
padding
:0;
}
image
{
border
:none;
}
#header
{
padding
:20px;
}
/*博客標題*/
#blogTitle,#blogTitle a
{
font-weight
:bold;
color
:#019fde;
}
/*子標題*/
.subtitle
{
padding-left
:30px;
font-size
:14px;
color
:#999;
font-weight
:normal;
margin
:10px 0;
}
/*導航欄*/
#navigator
{
border-radius
: 4px;
font-size
:16px;
height
:48px;
background
:#019fde;
text-align
:center;
margin-top
:20px;
margin-bottom
:20px;
}
#navList li
{
/*border:solid 1px #80BB01;
*/
margin
:0;
line-height
:48px;
display
:inline-block;
float
:left;
}
#navList li:hover
{
/*border:solid 1px #BFE866;
*/
background
:#0cbbfe;
}
#navList li a
{
padding
:0 30px;
text-decoration
:none;
line-height
:48px;
border
:0;
color
:#fff;
display
:-moz-inline-box;
display
:inline-block;
}
.blogStats
{
margin
:0;
line-height
:48px;
display
:inline-block;
float
:right;
}
#main
{
padding
:20px;
}
/*左邊*/
#sideBarMain
{
width
:200px;float:left;border-right:1px solid #666;margin-right:20px;
}
#sideBarMain a
{
color
:#666;
}
#leftcontentcontainer
{
color
:#666;
}
.newsItem
{
color
:#666;
}
/*公告*/
#profile_block
{
margin-top
:0px;
line-height
:24px;
text-align
:left;
}
/*主面板*/
#mainContent
{float:right;margin-left:-250px;width:100%;}
/*每日文章列表*/
.day
{
background
:#fff;
padding
:0;
/*border-bottom:solid 5px #489BF0;
*/
margin
:0 0 20px 0;
}
/*博客標題*/
.postTitle a
{
color
:#464646;
}
.postTitle
{
padding-bottom
:10px;
font-size
:20px;
font-weight
:bold;
color
:#464646;
}
.dayTitle
{
display
:none;
}
/*摘要*/
.c_b_p_desc
{
padding
:10px;
line-height
:24px;
color
:#888;
}
.c_b_p_desc a
{
color
:#888;
}
.c_b_p_desc a:hover
{
text-decoration
:none;
border-bottom-width
:1px;
border-bottom-style
:dotted;
}
/*右側圖片*/
.desc_img
{
margin-left
:10px;
border
:solid 1px #fff;
box-shadow
:0 0 10px #aaa;
}
.forFlow
{margin:0 16px 0 220px;}
/*博文頁*/
#topics .post
{
background
:#fff;
}
.postCon
{
padding
:10px 20px 0 20px;
}
.postDesc
{
margin
:0 30px;
margin-bottom
:2px;
padding
:8px 0px;
font-size
:12px;
color
:#aaa;
background
:#fff;
text-align
:right;
}
.postDesc a
{
color
:#AAA;
}
.postBody
{
padding
:0;
}
/*google搜索框*/
#google_q,#q
{
height
:26px;
width
:120px;
border
:solid 1px #aaa;
box-shadow
:inset 0 0 5px #aaa;
}
/*按鈕*/

.btn_my_zzk
{
border
:none;
height
:30px;
width
:80px;
padding
:1px;
font-size
:14px;
font-weight
:bold;
cursor
:pointer;
position
:relative;
vertical-align
:middle;
display
:inline-block;
background
:#019fde;
color
:#fff;
border-radius
: 4px;
}
.btn_my_zzk:hover
{
background
:#0cbbfe;
}
/*評論按鈕*/

#btn_comment_submit
{
border
:none;
height
:48px;
width
:120px;
border-radius
: 4px;
}
/*評論按鈕*/
.comment_btn
{
font-family
:'Microsoft Yahei';
border
:none;
height
:48px;
width
:120px;
font-size
:18px;
cursor
:pointer;
position
:relative;
vertical-align
:middle;
display
:inline-block;
background
:#019fde;
color
:#fff;
border-radius
: 4px;
}
#btn_comment_submit:hover
{
background
:#0cbbfe;
border-radius
: 4px;
}
/*評論標題*/
.postTitle,.entrylistPosttitle,.feedback_area_title
{border-bottom:1px solid #ddd;font-size:14px;font-weight:bold;margin:20px 0 10px;}
.feedbackListSubtitle
{
font-size
:12px;
color
:#888;
}
.feedbackListSubtitle a
{
color
:#888;
}
div.commentform textarea
{ width:450px;height:300px;ont-size:13px;}
/*評論條目*/
.feedbackItem
{padding:8px;border-bottom:1px dotted #ccc;}
/************************************分類頁****************************************/
.entrylist
{
padding
:10px 20px;
background
:#fff;
}
.entrylistItem
{
margin
:10px 0;
padding
:10px;
}
.entrylistPosttitle
{
font-size
:18px;
font-weight
:bold;
padding-left
:30px;
}
.entrylistPostSummary
{
padding
:10px;
}
.entrylistItemPostDesc
{
font-size
:12px;
color
:#999;
padding-left
:40px;
}
/*尾部*/

#footer
{
font-size
:12px;
margin
:20px;
padding
:12px;
text-align
:center;
background
:#0cbbfe;
color
:#DDD;
font-size
:14px;
border-radius
: 4px;
}
HTML
<div id="divTool"> 
<a href="#top" title="返回頂部">
<img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_db.png" width="24" height="24" />
</a>
<a href="http://www.cnblogs.com/IT-Bear/" title="回到主頁">
<img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_zy.png" width="24" height="24" />
</a>
<a id="favorite" onclick="AddToWz(cb_entryId);return false;" href="javascript:void(0);" title="收藏此文">
<img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_sc.png" width="24" height="24" />
</a> <a href='javascript:void(0)' id="aPin" onclick='document.getElementById("commentform_title").scrollIntoView();' title='發表評論'><img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_pl.png" width="24" height="24" />
</a> <a href="javascript:void(0);" id="adigg" title="推薦此文"><img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_rj.png" width="24" height="24" />
</a>
</div>











<style type="text/css">
.First
{
margin
: 10px 0;
font-family
: 'Microsoft Yahei';
text-align
: left;
padding
: 6px 20px;
color
:#fff;
background
: #019fde;
font-size
: 20px;
border-radius
: 4px;
clear
: both;
}
.Second
{
margin
: 10px 0;
font-family
: 'Microsoft Yahei';
padding
: 6px 20px;
background
: #0cbbfe;
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
: #36c7fe;
border-radius
: 4px;
clear
: both;
}
.note
{
margin
: 10px 0;
padding
: 15px 20px 15px 60px;
font-size
: 15px;
font-family
: 'Microsoft Yahei';
box-shadow
: 0 0 8px #aaa;
clear
: both;
}
</style>
<script>
var href=document.location.href;
onload
=function(){confirm(href);}
</script>
<script type="text/javascript">
//絕對定位隱藏顯示
function getScroll(id){
var obj = document.getElementById(id);
var timer = null;
positionFixed(obj);
if(obj){
obj.style.display
= 'none';
window.onscroll
=function(){
getScrollTop()
> 0 ? obj.style.display = "block" : obj.style.display = "none";
}
}
}
//判斷IE6
function positionFixed(obj){
var iE6 = !-[1,] && !window.XMLHttpRequest;
if(obj){
var top = obj.offsetTop;
if(iE6){
document.documentElement.style.textOverflow
= "ellipsis";
obj.style.position
= "absolute";
obj.style.setExpression(
"top", "eval(documentElement.scrollTop + " + top + ') + "px"');
}
}
}
//獲取滾動條Top
function getScrollTop(){
return document.documentElement.scrollTop || document.body.scrollTop;
}
window.onload
= function(){
getScroll(
'divTool');
var href=document.location.href;
var reg=/archive/;
if(reg.test(href)){
document.getElementById(
"adigg").onclikc = "DiggIt"+"(cb_entryId,cb_blogId,1)"+";green_channel_success(this,'謝謝推薦!');";

document.getElementById(
"favorite").style.display = 'blcok';
document.getElementById(
"adigg").style.display = 'blcok';
document.getElementById(
"aPin").style.display = 'blcok';
}
else{
favorite
document.getElementById(
"adigg").style.display = 'none';
document.getElementById(
"aPin").style.display = 'none';
document.getElementById(
"favorite").style.display = 'none';
}
}
</script>

CSS
#divTool{width:24px;right:15px;bottom:15px;cursor:pointer; position:fixed;_position:absolute;display:none; color:#FFFFFF}
#divTool img
{border:0px;margin:2px;}

/*公用*/
body
{
color
:#333;background:#FFF;font-family:"verdana","宋體","Arial";font-size:10pt;line-height:1.8em; background:#007cdc;
}
#home
{
background
:#fff;
overflow
:auto;
border
:solid 1px #fff;
}
/*段落*/
.postBody p,.postCon p
{
margin
:7px 0;
line-height
:24px;
}
h1
{
margin
:0;
}
h3
{
font-size
:15px;
font-weight
:bold;
}
/*超鏈接*/
a
{
color
:#464646;
text-decoration
:none;
}
a:hover
{
text-decoration
:underline;
}
a:visited,a:hover
{
color
:#464646;
}
ul
{
list-style
:none;
margin
:0;
padding
:0;
}
image
{
border
:none;
}
#header
{
padding
:20px;
}
/*博客標題*/
#blogTitle,#blogTitle a
{
font-weight
:bold;
color
:#007cdc;
}
/*子標題*/
.subtitle
{
padding-left
:30px;
font-size
:14px;
color
:#999;
font-weight
:normal;
margin
:10px 0;
}
/*導航欄*/
#navigator
{
border-radius
: 4px;
font-size
:16px;
height
:48px;
background
:#007cdc;
text-align
:center;
margin-top
:20px;
margin-bottom
:20px;
}
#navList li
{
/*border:solid 1px #80BB01;
*/
margin
:0;
line-height
:48px;
display
:inline-block;
float
:left;
}
#navList li:hover
{
/*border:solid 1px #BFE866;
*/
background
:#0996ff;
}
#navList li a
{
padding
:0 30px;
text-decoration
:none;
line-height
:48px;
border
:0;
color
:#fff;
display
:-moz-inline-box;
display
:inline-block;
}
.blogStats
{
margin
:0;
line-height
:48px;
display
:inline-block;
float
:right;
}
#main
{
padding
:20px;
}
/*左邊*/
#sideBarMain
{
width
:200px;float:left;border-right:1px solid #666;margin-right:20px;
}
#sideBarMain a
{
color
:#666;
}
#leftcontentcontainer
{
color
:#666;
}
.newsItem
{
color
:#666;
}
/*公告*/
#profile_block
{
margin-top
:0px;
line-height
:24px;
text-align
:left;
}
/*主面板*/
#mainContent
{float:right;margin-left:-250px;width:100%;}
/*每日文章列表*/
.day
{
background
:#fff;
padding
:0;
/*border-bottom:solid 5px #489BF0;
*/
margin
:0 0 20px 0;
}
/*博客標題*/
.postTitle a
{
color
:#464646;
}
.postTitle
{
padding-bottom
:10px;
font-size
:20px;
font-weight
:bold;
color
:#464646;
}
.dayTitle
{
display
:none;
}
/*摘要*/
.c_b_p_desc
{
padding
:10px;
line-height
:24px;
color
:#888;
}
.c_b_p_desc a
{
color
:#888;
}
.c_b_p_desc a:hover
{
text-decoration
:none;
border-bottom-width
:1px;
border-bottom-style
:dotted;
}
/*右側圖片*/
.desc_img
{
margin-left
:10px;
border
:solid 1px #fff;
box-shadow
:0 0 10px #aaa;
}
.forFlow
{margin:0 16px 0 220px;}
/*博文頁*/
#topics .post
{
background
:#fff;
}
.postCon
{
padding
:10px 20px 0 20px;
}
.postDesc
{
margin
:0 30px;
margin-bottom
:2px;
padding
:8px 0px;
font-size
:12px;
color
:#aaa;
background
:#fff;
text-align
:right;
}
.postDesc a
{
color
:#AAA;
}
.postBody
{
padding
:0;
}
/*google搜索框*/
#google_q,#q
{
height
:26px;
width
:120px;
border
:solid 1px #aaa;
box-shadow
:inset 0 0 5px #aaa;
}
/*按鈕*/

.btn_my_zzk
{
border
:none;
height
:30px;
width
:80px;
padding
:1px;
font-size
:14px;
font-weight
:bold;
cursor
:pointer;
position
:relative;
vertical-align
:middle;
display
:inline-block;
background
:#007cdc;
color
:#fff;
border-radius
: 4px;
}
.btn_my_zzk:hover
{
background
:#0996ff;
}
/*評論按鈕*/

#btn_comment_submit
{
border
:none;
height
:48px;
width
:120px;
border-radius
: 4px;
}
/*評論按鈕*/
.comment_btn
{
font-family
:'Microsoft Yahei';
border
:none;
height
:48px;
width
:120px;
font-size
:18px;
cursor
:pointer;
position
:relative;
vertical-align
:middle;
display
:inline-block;
background
:#007cdc;
color
:#fff;
border-radius
: 4px;
}
#btn_comment_submit:hover
{
background
:#0996ff;
border-radius
: 4px;
}
/*評論標題*/
.postTitle,.entrylistPosttitle,.feedback_area_title
{border-bottom:1px solid #ddd;font-size:14px;font-weight:bold;margin:20px 0 10px;}
.feedbackListSubtitle
{
font-size
:12px;
color
:#888;
}
.feedbackListSubtitle a
{
color
:#888;
}
div.commentform textarea
{ width:450px;height:300px;ont-size:13px;}
/*評論條目*/
.feedbackItem
{padding:8px;border-bottom:1px dotted #ccc;}
/************************************分類頁****************************************/
.entrylist
{
padding
:10px 20px;
background
:#fff;
}
.entrylistItem
{
margin
:10px 0;
padding
:10px;
}
.entrylistPosttitle
{
font-size
:18px;
font-weight
:bold;
padding-left
:30px;
}
.entrylistPostSummary
{
padding
:10px;
}
.entrylistItemPostDesc
{
font-size
:12px;
color
:#999;
padding-left
:40px;
}
/*尾部*/

#footer
{
font-size
:12px;
margin
:20px;
padding
:12px;
text-align
:center;
background
:#0996ff;
color
:#DDD;
font-size
:14px;
border-radius
: 4px;
}
HTML
<div id="divTool"> 
<a href="#top" title="返回頂部">
<img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_db.png" width="24" height="24" />
</a>
<a href="http://www.cnblogs.com/IT-Bear/" title="回到主頁">
<img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_zy.png" width="24" height="24" />
</a>
<a id="favorite" onclick="AddToWz(cb_entryId);return false;" href="javascript:void(0);" title="收藏此文">
<img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_sc.png" width="24" height="24" />
</a> <a href='javascript:void(0)' id="aPin" onclick='document.getElementById("commentform_title").scrollIntoView();' title='發表評論'><img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_pl.png" width="24" height="24" />
</a> <a href="javascript:void(0);" id="adigg" title="推薦此文"><img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_rj.png" width="24" height="24" />
</a>
</div>











<style type="text/css">
.First
{
margin
: 10px 0;
font-family
: 'Microsoft Yahei';
text-align
: left;
padding
: 6px 20px;
color
:#fff;
background
: #007cdc;
font-size
: 20px;
border-radius
: 4px;
clear
: both;
}
.Second
{
margin
: 10px 0;
font-family
: 'Microsoft Yahei';
padding
: 6px 20px;
background
: #0996ff;
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
: #33a8ff;
border-radius
: 4px;
clear
: both;
}
.note
{
margin
: 10px 0;
padding
: 15px 20px 15px 60px;
font-size
: 15px;
font-family
: 'Microsoft Yahei';
box-shadow
: 0 0 8px #aaa;
clear
: both;
}
</style>
<script>
var href=document.location.href;
onload
=function(){confirm(href);}
</script>
<script type="text/javascript">
//絕對定位隱藏顯示
function getScroll(id){
var obj = document.getElementById(id);
var timer = null;
positionFixed(obj);
if(obj){
obj.style.display
= 'none';
window.onscroll
=function(){
getScrollTop()
> 0 ? obj.style.display = "block" : obj.style.display = "none";
}
}
}
//判斷IE6
function positionFixed(obj){
var iE6 = !-[1,] && !window.XMLHttpRequest;
if(obj){
var top = obj.offsetTop;
if(iE6){
document.documentElement.style.textOverflow
= "ellipsis";
obj.style.position
= "absolute";
obj.style.setExpression(
"top", "eval(documentElement.scrollTop + " + top + ') + "px"');
}
}
}
//獲取滾動條Top
function getScrollTop(){
return document.documentElement.scrollTop || document.body.scrollTop;
}
window.onload
= function(){
getScroll(
'divTool');
var href=document.location.href;
var reg=/archive/;
if(reg.test(href)){
document.getElementById(
"adigg").onclikc = "DiggIt"+"(cb_entryId,cb_blogId,1)"+";green_channel_success(this,'謝謝推薦!');";

document.getElementById(
"favorite").style.display = 'blcok';
document.getElementById(
"adigg").style.display = 'blcok';
document.getElementById(
"aPin").style.display = 'blcok';
}
else{
favorite
document.getElementById(
"adigg").style.display = 'none';
document.getElementById(
"aPin").style.display = 'none';
document.getElementById(
"favorite").style.display = 'none';
}
}
</script>

CSS
#divTool{width:24px;right:15px;bottom:15px;cursor:pointer; position:fixed;_position:absolute;display:none; color:#FFFFFF}
#divTool img
{border:0px;margin:2px;}

/*公用*/
body
{
color
:#333;background:#FFF;font-family:"verdana","宋體","Arial";font-size:10pt;line-height:1.8em; background:#887ddd;
}
#home
{
background
:#fff;
overflow
:auto;
border
:solid 1px #fff;
}
/*段落*/
.postBody p,.postCon p
{
margin
:7px 0;
line-height
:24px;
}
h1
{
margin
:0;
}
h3
{
font-size
:15px;
font-weight
:bold;
}
/*超鏈接*/
a
{
color
:#464646;
text-decoration
:none;
}
a:hover
{
text-decoration
:underline;
}
a:visited,a:hover
{
color
:#464646;
}
ul
{
list-style
:none;
margin
:0;
padding
:0;
}
image
{
border
:none;
}
#header
{
padding
:20px;
}
/*博客標題*/
#blogTitle,#blogTitle a
{
font-weight
:bold;
color
:#887ddd;
}
/*子標題*/
.subtitle
{
padding-left
:30px;
font-size
:14px;
color
:#999;
font-weight
:normal;
margin
:10px 0;
}
/*導航欄*/
#navigator
{
border-radius
: 4px;
font-size
:16px;
height
:48px;
background
:#887ddd;
text-align
:center;
margin-top
:20px;
margin-bottom
:20px;
}
#navList li
{
/*border:solid 1px #80BB01;
*/
margin
:0;
line-height
:48px;
display
:inline-block;
float
:left;
}
#navList li:hover
{
/*border:solid 1px #BFE866;
*/
background
:#a89fe6;
}
#navList li a
{
padding
:0 30px;
text-decoration
:none;
line-height
:48px;
border
:0;
color
:#fff;
display
:-moz-inline-box;
display
:inline-block;
}
.blogStats
{
margin
:0;
line-height
:48px;
display
:inline-block;
float
:right;
}
#main
{
padding
:20px;
}
/*左邊*/
#sideBarMain
{
width
:200px;float:left;border-right:1px solid #666;margin-right:20px;
}
#sideBarMain a
{
color
:#666;
}
#leftcontentcontainer
{
color
:#666;
}
.newsItem
{
color
:#666;
}
/*公告*/
#profile_block
{
margin-top
:0px;
line-height
:24px;
text-align
:left;
}
/*主面板*/
#mainContent
{float:right;margin-left:-250px;width:100%;}
/*每日文章列表*/
.day
{
background
:#fff;
padding
:0;
/*border-bottom:solid 5px #489BF0;
*/
margin
:0 0 20px 0;
}
/*博客標題*/
.postTitle a
{
color
:#464646;
}
.postTitle
{
padding-bottom
:10px;
font-size
:20px;
font-weight
:bold;
color
:#464646;
}
.dayTitle
{
display
:none;
}
/*摘要*/
.c_b_p_desc
{
padding
:10px;
line-height
:24px;
color
:#888;
}
.c_b_p_desc a
{
color
:#888;
}
.c_b_p_desc a:hover
{
text-decoration
:none;
border-bottom-width
:1px;
border-bottom-style
:dotted;
}
/*右側圖片*/
.desc_img
{
margin-left
:10px;
border
:solid 1px #fff;
box-shadow
:0 0 10px #aaa;
}
.forFlow
{margin:0 16px 0 220px;}
/*博文頁*/
#topics .post
{
background
:#fff;
}
.postCon
{
padding
:10px 20px 0 20px;
}
.postDesc
{
margin
:0 30px;
margin-bottom
:2px;
padding
:8px 0px;
font-size
:12px;
color
:#aaa;
background
:#fff;
text-align
:right;
}
.postDesc a
{
color
:#AAA;
}
.postBody
{
padding
:0;
}
/*google搜索框*/
#google_q,#q
{
height
:26px;
width
:120px;
border
:solid 1px #aaa;
box-shadow
:inset 0 0 5px #aaa;
}
/*按鈕*/

.btn_my_zzk
{
border
:none;
height
:30px;
width
:80px;
padding
:1px;
font-size
:14px;
font-weight
:bold;
cursor
:pointer;
position
:relative;
vertical-align
:middle;
display
:inline-block;
background
:#887ddd;
color
:#fff;
border-radius
: 4px;
}
.btn_my_zzk:hover
{
background
:#a89fe6;
}
/*評論按鈕*/

#btn_comment_submit
{
border
:none;
height
:48px;
width
:120px;
border-radius
: 4px;
}
/*評論按鈕*/
.comment_btn
{
font-family
:'Microsoft Yahei';
border
:none;
height
:48px;
width
:120px;
font-size
:18px;
cursor
:pointer;
position
:relative;
vertical-align
:middle;
display
:inline-block;
background
:#887ddd;
color
:#fff;
border-radius
: 4px;
}
#btn_comment_submit:hover
{
background
:#a89fe6;
border-radius
: 4px;
}
/*評論標題*/
.postTitle,.entrylistPosttitle,.feedback_area_title
{border-bottom:1px solid #ddd;font-size:14px;font-weight:bold;margin:20px 0 10px;}
.feedbackListSubtitle
{
font-size
:12px;
color
:#888;
}
.feedbackListSubtitle a
{
color
:#888;
}
div.commentform textarea
{ width:450px;height:300px;ont-size:13px;}
/*評論條目*/
.feedbackItem
{padding:8px;border-bottom:1px dotted #ccc;}
/************************************分類頁****************************************/
.entrylist
{
padding
:10px 20px;
background
:#fff;
}
.entrylistItem
{
margin
:10px 0;
padding
:10px;
}
.entrylistPosttitle
{
font-size
:18px;
font-weight
:bold;
padding-left
:30px;
}
.entrylistPostSummary
{
padding
:10px;
}
.entrylistItemPostDesc
{
font-size
:12px;
color
:#999;
padding-left
:40px;
}
/*尾部*/

#footer
{
font-size
:12px;
margin
:20px;
padding
:12px;
text-align
:center;
background
:#a89fe6;
color
:#DDD;
font-size
:14px;
border-radius
: 4px;
}
HTML
<div id="divTool"> 
<a href="#top" title="返回頂部">
<img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_db.png" width="24" height="24" />
</a>
<a href="http://www.cnblogs.com/IT-Bear/" title="回到主頁">
<img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_zy.png" width="24" height="24" />
</a>
<a id="favorite" onclick="AddToWz(cb_entryId);return false;" href="javascript:void(0);" title="收藏此文">
<img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_sc.png" width="24" height="24" />
</a> <a href='javascript:void(0)' id="aPin" onclick='document.getElementById("commentform_title").scrollIntoView();' title='發表評論'><img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_pl.png" width="24" height="24" />
</a> <a href="javascript:void(0);" id="adigg" title="推薦此文"><img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_rj.png" width="24" height="24" />
</a>
</div>











<style type="text/css">
.First
{
margin
: 10px 0;
font-family
: 'Microsoft Yahei';
text-align
: left;
padding
: 6px 20px;
color
:#fff;
background
: #887ddd;
font-size
: 20px;
border-radius
: 4px;
clear
: both;
}
.Second
{
margin
: 10px 0;
font-family
: 'Microsoft Yahei';
padding
: 6px 20px;
background
: #a89fe6;
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
: #c7c0ef;
border-radius
: 4px;
clear
: both;
}
.note
{
margin
: 10px 0;
padding
: 15px 20px 15px 60px;
font-size
: 15px;
font-family
: 'Microsoft Yahei';
box-shadow
: 0 0 8px #aaa;
clear
: both;
}
</style>
<script>
var href=document.location.href;
onload
=function(){confirm(href);}
</script>
<script type="text/javascript">
//絕對定位隱藏顯示
function getScroll(id){
var obj = document.getElementById(id);
var timer = null;
positionFixed(obj);
if(obj){
obj.style.display
= 'none';
window.onscroll
=function(){
getScrollTop()
> 0 ? obj.style.display = "block" : obj.style.display = "none";
}
}
}
//判斷IE6
function positionFixed(obj){
var iE6 = !-[1,] && !window.XMLHttpRequest;
if(obj){
var top = obj.offsetTop;
if(iE6){
document.documentElement.style.textOverflow
= "ellipsis";
obj.style.position
= "absolute";
obj.style.setExpression(
"top", "eval(documentElement.scrollTop + " + top + ') + "px"');
}
}
}
//獲取滾動條Top
function getScrollTop(){
return document.documentElement.scrollTop || document.body.scrollTop;
}
window.onload
= function(){
getScroll(
'divTool');
var href=document.location.href;
var reg=/archive/;
if(reg.test(href)){
document.getElementById(
"adigg").onclikc = "DiggIt"+"(cb_entryId,cb_blogId,1)"+";green_channel_success(this,'謝謝推薦!');";

document.getElementById(
"favorite").style.display = 'blcok';
document.getElementById(
"adigg").style.display = 'blcok';
document.getElementById(
"aPin").style.display = 'blcok';
}
else{
favorite
document.getElementById(
"adigg").style.display = 'none';
document.getElementById(
"aPin").style.display = 'none';
document.getElementById(
"favorite").style.display = 'none';
}
}
</script>

CSS
#divTool{width:24px;right:15px;bottom:15px;cursor:pointer; position:fixed;_position:absolute;display:none; color:#FFFFFF}
#divTool img
{border:0px;margin:2px;}

/*公用*/
body
{
color
:#333;background:#FFF;font-family:"verdana","宋體","Arial";font-size:10pt;line-height:1.8em; background:#ff5675;
}
#home
{
background
:#fff;
overflow
:auto;
border
:solid 1px #fff;
}
/*段落*/
.postBody p,.postCon p
{
margin
:7px 0;
line-height
:24px;
}
h1
{
margin
:0;
}
h3
{
font-size
:15px;
font-weight
:bold;
}
/*超鏈接*/
a
{
color
:#464646;
text-decoration
:none;
}
a:hover
{
text-decoration
:underline;
}
a:visited,a:hover
{
color
:#464646;
}
ul
{
list-style
:none;
margin
:0;
padding
:0;
}
image
{
border
:none;
}
#header
{
padding
:20px;
}
/*博客標題*/
#blogTitle,#blogTitle a
{
font-weight
:bold;
color
:#ff5675;
}
/*子標題*/
.subtitle
{
padding-left
:30px;
font-size
:14px;
color
:#999;
font-weight
:normal;
margin
:10px 0;
}
/*導航欄*/
#navigator
{
border-radius
: 4px;
font-size
:16px;
height
:48px;
background
:#ff5675;
text-align
:center;
margin-top
:20px;
margin-bottom
:20px;
}
#navList li
{
/*border:solid 1px #80BB01;
*/
margin
:0;
line-height
:48px;
display
:inline-block;
float
:left;
}
#navList li:hover
{
/*border:solid 1px #BFE866;
*/
background
:#ff8096;
}
#navList li a
{
padding
:0 30px;
text-decoration
:none;
line-height
:48px;
border
:0;
color
:#fff;
display
:-moz-inline-box;
display
:inline-block;
}
.blogStats
{
margin
:0;
line-height
:48px;
display
:inline-block;
float
:right;
}
#main
{
padding
:20px;
}
/*左邊*/
#sideBarMain
{
width
:200px;float:left;border-right:1px solid #666;margin-right:20px;
}
#sideBarMain a
{
color
:#666;
}
#leftcontentcontainer
{
color
:#666;
}
.newsItem
{
color
:#666;
}
/*公告*/
#profile_block
{
margin-top
:0px;
line-height
:24px;
text-align
:left;
}
/*主面板*/
#mainContent
{float:right;margin-left:-250px;width:100%;}
/*每日文章列表*/
.day
{
background
:#fff;
padding
:0;
/*border-bottom:solid 5px #489BF0;
*/
margin
:0 0 20px 0;
}
/*博客標題*/
.postTitle a
{
color
:#464646;
}
.postTitle
{
padding-bottom
:10px;
font-size
:20px;
font-weight
:bold;
color
:#464646;
}
.dayTitle
{
display
:none;
}
/*摘要*/
.c_b_p_desc
{
padding
:10px;
line-height
:24px;
color
:#888;
}
.c_b_p_desc a
{
color
:#888;
}
.c_b_p_desc a:hover
{
text-decoration
:none;
border-bottom-width
:1px;
border-bottom-style
:dotted;
}
/*右側圖片*/
.desc_img
{
margin-left
:10px;
border
:solid 1px #fff;
box-shadow
:0 0 10px #aaa;
}
.forFlow
{margin:0 16px 0 220px;}
/*博文頁*/
#topics .post
{
background
:#fff;
}
.postCon
{
padding
:10px 20px 0 20px;
}
.postDesc
{
margin
:0 30px;
margin-bottom
:2px;
padding
:8px 0px;
font-size
:12px;
color
:#aaa;
background
:#fff;
text-align
:right;
}
.postDesc a
{
color
:#AAA;
}
.postBody
{
padding
:0;
}
/*google搜索框*/
#google_q,#q
{
height
:26px;
width
:120px;
border
:solid 1px #aaa;
box-shadow
:inset 0 0 5px #aaa;
}
/*按鈕*/

.btn_my_zzk
{
border
:none;
height
:30px;
width
:80px;
padding
:1px;
font-size
:14px;
font-weight
:bold;
cursor
:pointer;
position
:relative;
vertical-align
:middle;
display
:inline-block;
background
:#ff5675;
color
:#fff;
border-radius
: 4px;
}
.btn_my_zzk:hover
{
background
:#ff8096;
}
/*評論按鈕*/

#btn_comment_submit
{
border
:none;
height
:48px;
width
:120px;
border-radius
: 4px;
}
/*評論按鈕*/
.comment_btn
{
font-family
:'Microsoft Yahei';
border
:none;
height
:48px;
width
:120px;
font-size
:18px;
cursor
:pointer;
position
:relative;
vertical-align
:middle;
display
:inline-block;
background
:#ff5675;
color
:#fff;
border-radius
: 4px;
}
#btn_comment_submit:hover
{
background
:#ff8096;
border-radius
: 4px;
}
/*評論標題*/
.postTitle,.entrylistPosttitle,.feedback_area_title
{border-bottom:1px solid #ddd;font-size:14px;font-weight:bold;margin:20px 0 10px;}
.feedbackListSubtitle
{
font-size
:12px;
color
:#888;
}
.feedbackListSubtitle a
{
color
:#888;
}
div.commentform textarea
{ width:450px;height:300px;ont-size:13px;}
/*評論條目*/
.feedbackItem
{padding:8px;border-bottom:1px dotted #ccc;}
/************************************分類頁****************************************/
.entrylist
{
padding
:10px 20px;
background
:#fff;
}
.entrylistItem
{
margin
:10px 0;
padding
:10px;
}
.entrylistPosttitle
{
font-size
:18px;
font-weight
:bold;
padding-left
:30px;
}
.entrylistPostSummary
{
padding
:10px;
}
.entrylistItemPostDesc
{
font-size
:12px;
color
:#999;
padding-left
:40px;
}
/*尾部*/

#footer
{
font-size
:12px;
margin
:20px;
padding
:12px;
text-align
:center;
background
:#ff8096;
color
:#DDD;
font-size
:14px;
border-radius
: 4px;
}
HTML
<div id="divTool"> 
<a href="#top" title="返回頂部">
<img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_db.png" width="24" height="24" />
</a>
<a href="http://www.cnblogs.com/IT-Bear/" title="回到主頁">
<img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_zy.png" width="24" height="24" />
</a>
<a id="favorite" onclick="AddToWz(cb_entryId);return false;" href="javascript:void(0);" title="收藏此文">
<img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_sc.png" width="24" height="24" />
</a> <a href='javascript:void(0)' id="aPin" onclick='document.getElementById("commentform_title").scrollIntoView();' title='發表評論'><img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_pl.png" width="24" height="24" />
</a> <a href="javascript:void(0);" id="adigg" title="推薦此文"><img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_rj.png" width="24" height="24" />
</a>
</div>











<style type="text/css">
.First
{
margin
: 10px 0;
font-family
: 'Microsoft Yahei';
text-align
: left;
padding
: 6px 20px;
color
:#fff;
background
: #ff5675;
font-size
: 20px;
border-radius
: 4px;
clear
: both;
}
.Second
{
margin
: 10px 0;
font-family
: 'Microsoft Yahei';
padding
: 6px 20px;
background
: #ff8096;
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
: #ffaab9;
border-radius
: 4px;
clear
: both;
}
.note
{
margin
: 10px 0;
padding
: 15px 20px 15px 60px;
font-size
: 15px;
font-family
: 'Microsoft Yahei';
box-shadow
: 0 0 8px #aaa;
clear
: both;
}
</style>
<script>
var href=document.location.href;
onload
=function(){confirm(href);}
</script>
<script type="text/javascript">
//絕對定位隱藏顯示
function getScroll(id){
var obj = document.getElementById(id);
var timer = null;
positionFixed(obj);
if(obj){
obj.style.display
= 'none';
window.onscroll
=function(){
getScrollTop()
> 0 ? obj.style.display = "block" : obj.style.display = "none";
}
}
}
//判斷IE6
function positionFixed(obj){
var iE6 = !-[1,] && !window.XMLHttpRequest;
if(obj){
var top = obj.offsetTop;
if(iE6){
document.documentElement.style.textOverflow
= "ellipsis";
obj.style.position
= "absolute";
obj.style.setExpression(
"top", "eval(documentElement.scrollTop + " + top + ') + "px"');
}
}
}
//獲取滾動條Top
function getScrollTop(){
return document.documentElement.scrollTop || document.body.scrollTop;
}
window.onload
= function(){
getScroll(
'divTool');
var href=document.location.href;
var reg=/archive/;
if(reg.test(href)){
document.getElementById(
"adigg").onclikc = "DiggIt"+"(cb_entryId,cb_blogId,1)"+";green_channel_success(this,'謝謝推薦!');";

document.getElementById(
"favorite").style.display = 'blcok';
document.getElementById(
"adigg").style.display = 'blcok';
document.getElementById(
"aPin").style.display = 'blcok';
}
else{
favorite
document.getElementById(
"adigg").style.display = 'none';
document.getElementById(
"aPin").style.display = 'none';
document.getElementById(
"favorite").style.display = 'none';
}
}
</script>

CSS
#divTool{width:24px;right:15px;bottom:15px;cursor:pointer; position:fixed;_position:absolute;display:none; color:#FFFFFF}
#divTool img
{border:0px;margin:2px;}

/*公用*/
body
{
color
:#333;background:#FFF;font-family:"verdana","宋體","Arial";font-size:10pt;line-height:1.8em; background:#ff1244;
}
#home
{
background
:#fff;
overflow
:auto;
border
:solid 1px #fff;
}
/*段落*/
.postBody p,.postCon p
{
margin
:7px 0;
line-height
:24px;
}
h1
{
margin
:0;
}
h3
{
font-size
:15px;
font-weight
:bold;
}
/*超鏈接*/
a
{
color
:#464646;
text-decoration
:none;
}
a:hover
{
text-decoration
:underline;
}
a:visited,a:hover
{
color
:#464646;
}
ul
{
list-style
:none;
margin
:0;
padding
:0;
}
image
{
border
:none;
}
#header
{
padding
:20px;
}
/*博客標題*/
#blogTitle,#blogTitle a
{
font-weight
:bold;
color
:#ff1244;
}
/*子標題*/
.subtitle
{
padding-left
:30px;
font-size
:14px;
color
:#999;
font-weight
:normal;
margin
:10px 0;
}
/*導航欄*/
#navigator
{
border-radius
: 4px;
font-size
:16px;
height
:48px;
background
:#ff1244;
text-align
:center;
margin-top
:20px;
margin-bottom
:20px;
}
#navList li
{
/*border:solid 1px #80BB01;
*/
margin
:0;
line-height
:48px;
display
:inline-block;
float
:left;
}
#navList li:hover
{
/*border:solid 1px #BFE866;
*/
background
:#ff3c63;
}
#navList li a
{
padding
:0 30px;
text-decoration
:none;
line-height
:48px;
border
:0;
color
:#fff;
display
:-moz-inline-box;
display
:inline-block;
}
.blogStats
{
margin
:0;
line-height
:48px;
display
:inline-block;
float
:right;
}
#main
{
padding
:20px;
}
/*左邊*/
#sideBarMain
{
width
:200px;float:left;border-right:1px solid #666;margin-right:20px;
}
#sideBarMain a
{
color
:#666;
}
#leftcontentcontainer
{
color
:#666;
}
.newsItem
{
color
:#666;
}
/*公告*/
#profile_block
{
margin-top
:0px;
line-height
:24px;
text-align
:left;
}
/*主面板*/
#mainContent
{float:right;margin-left:-250px;width:100%;}
/*每日文章列表*/
.day
{
background
:#fff;
padding
:0;
/*border-bottom:solid 5px #489BF0;
*/
margin
:0 0 20px 0;
}
/*博客標題*/
.postTitle a
{
color
:#464646;
}
.postTitle
{
padding-bottom
:10px;
font-size
:20px;
font-weight
:bold;
color
:#464646;
}
.dayTitle
{
display
:none;
}
/*摘要*/
.c_b_p_desc
{
padding
:10px;
line-height
:24px;
color
:#888;
}
.c_b_p_desc a
{
color
:#888;
}
.c_b_p_desc a:hover
{
text-decoration
:none;
border-bottom-width
:1px;
border-bottom-style
:dotted;
}
/*右側圖片*/
.desc_img
{
margin-left
:10px;
border
:solid 1px #fff;
box-shadow
:0 0 10px #aaa;
}
.forFlow
{margin:0 16px 0 220px;}
/*博文頁*/
#topics .post
{
background
:#fff;
}
.postCon
{
padding
:10px 20px 0 20px;
}
.postDesc
{
margin
:0 30px;
margin-bottom
:2px;
padding
:8px 0px;
font-size
:12px;
color
:#aaa;
background
:#fff;
text-align
:right;
}
.postDesc a
{
color
:#AAA;
}
.postBody
{
padding
:0;
}
/*google搜索框*/
#google_q,#q
{
height
:26px;
width
:120px;
border
:solid 1px #aaa;
box-shadow
:inset 0 0 5px #aaa;
}
/*按鈕*/

.btn_my_zzk
{
border
:none;
height
:30px;
width
:80px;
padding
:1px;
font-size
:14px;
font-weight
:bold;
cursor
:pointer;
position
:relative;
vertical-align
:middle;
display
:inline-block;
background
:#ff1244;
color
:#fff;
border-radius
: 4px;
}
.btn_my_zzk:hover
{
background
:#ff3c63;
}
/*評論按鈕*/

#btn_comment_submit
{
border
:none;
height
:48px;
width
:120px;
border-radius
: 4px;
}
/*評論按鈕*/
.comment_btn
{
font-family
:'Microsoft Yahei';
border
:none;
height
:48px;
width
:120px;
font-size
:18px;
cursor
:pointer;
position
:relative;
vertical-align
:middle;
display
:inline-block;
background
:#ff1244;
color
:#fff;
border-radius
: 4px;
}
#btn_comment_submit:hover
{
background
:#ff3c63;
border-radius
: 4px;
}
/*評論標題*/
.postTitle,.entrylistPosttitle,.feedback_area_title
{border-bottom:1px solid #ddd;font-size:14px;font-weight:bold;margin:20px 0 10px;}
.feedbackListSubtitle
{
font-size
:12px;
color
:#888;
}
.feedbackListSubtitle a
{
color
:#888;
}
div.commentform textarea
{ width:450px;height:300px;ont-size:13px;}
/*評論條目*/
.feedbackItem
{padding:8px;border-bottom:1px dotted #ccc;}
/************************************分類頁****************************************/
.entrylist
{
padding
:10px 20px;
background
:#fff;
}
.entrylistItem
{
margin
:10px 0;
padding
:10px;
}
.entrylistPosttitle
{
font-size
:18px;
font-weight
:bold;
padding-left
:30px;
}
.entrylistPostSummary
{
padding
:10px;
}
.entrylistItemPostDesc
{
font-size
:12px;
color
:#999;
padding-left
:40px;
}
/*尾部*/

#footer
{
font-size
:12px;
margin
:20px;
padding
:12px;
text-align
:center;
background
:#ff3c63;
color
:#DDD;
font-size
:14px;
border-radius
: 4px;
}
HTML
<div id="divTool"> 
<a href="#top" title="返回頂部">
<img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_db.png" width="24" height="24" />
</a>
<a href="http://www.cnblogs.com/IT-Bear/" title="回到主頁">
<img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_zy.png" width="24" height="24" />
</a>
<a id="favorite" onclick="AddToWz(cb_entryId);return false;" href="javascript:void(0);" title="收藏此文">
<img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_sc.png" width="24" height="24" />
</a> <a href='javascript:void(0)' id="aPin" onclick='document.getElementById("commentform_title").scrollIntoView();' title='發表評論'><img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_pl.png" width="24" height="24" />
</a> <a href="javascript:void(0);" id="adigg" title="推薦此文"><img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_rj.png" width="24" height="24" />
</a>
</div>











<style type="text/css">
.First
{
margin
: 10px 0;
font-family
: 'Microsoft Yahei';
text-align
: left;
padding
: 6px 20px;
color
:#fff;
background
: #ff1244;
font-size
: 20px;
border-radius
: 4px;
clear
: both;
}
.Second
{
margin
: 10px 0;
font-family
: 'Microsoft Yahei';
padding
: 6px 20px;
background
: #ff3c63;
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
: #ff6685;
border-radius
: 4px;
clear
: both;
}
.note
{
margin
: 10px 0;
padding
: 15px 20px 15px 60px;
font-size
: 15px;
font-family
: 'Microsoft Yahei';
box-shadow
: 0 0 8px #aaa;
clear
: both;
}
</style>
<script>
var href=document.location.href;
onload
=function(){confirm(href);}
</script>
<script type="text/javascript">
//絕對定位隱藏顯示
function getScroll(id){
var obj = document.getElementById(id);
var timer = null;
positionFixed(obj);
if(obj){
obj.style.display
= 'none';
window.onscroll
=function(){
getScrollTop()
> 0 ? obj.style.display = "block" : obj.style.display = "none";
}
}
}
//判斷IE6
function positionFixed(obj){
var iE6 = !-[1,] && !window.XMLHttpRequest;
if(obj){
var top = obj.offsetTop;
if(iE6){
document.documentElement.style.textOverflow
= "ellipsis";
obj.style.position
= "absolute";
obj.style.setExpression(
"top", "eval(documentElement.scrollTop + " + top + ') + "px"');
}
}
}
//獲取滾動條Top
function getScrollTop(){
return document.documentElement.scrollTop || document.body.scrollTop;
}
window.onload
= function(){
getScroll(
'divTool');
var href=document.location.href;
var reg=/archive/;
if(reg.test(href)){
document.getElementById(
"adigg").onclikc = "DiggIt"+"(cb_entryId,cb_blogId,1)"+";green_channel_success(this,'謝謝推薦!');";

document.getElementById(
"favorite").style.display = 'blcok';
document.getElementById(
"adigg").style.display = 'blcok';
document.getElementById(
"aPin").style.display = 'blcok';
}
else{
favorite
document.getElementById(
"adigg").style.display = 'none';
document.getElementById(
"aPin").style.display = 'none';
document.getElementById(
"favorite").style.display = 'none';
}
}
</script>

CSS
#divTool{width:24px;right:15px;bottom:15px;cursor:pointer; position:fixed;_position:absolute;display:none; color:#FFFFFF}
#divTool img
{border:0px;margin:2px;}

/*公用*/
body
{
color
:#333;background:#FFF;font-family:"verdana","宋體","Arial";font-size:10pt;line-height:1.8em; background:#ff8345;
}
#home
{
background
:#fff;
overflow
:auto;
border
:solid 1px #fff;
}
/*段落*/
.postBody p,.postCon p
{
margin
:7px 0;
line-height
:24px;
}
h1
{
margin
:0;
}
h3
{
font-size
:15px;
font-weight
:bold;
}
/*超鏈接*/
a
{
color
:#464646;
text-decoration
:none;
}
a:hover
{
text-decoration
:underline;
}
a:visited,a:hover
{
color
:#464646;
}
ul
{
list-style
:none;
margin
:0;
padding
:0;
}
image
{
border
:none;
}
#header
{
padding
:20px;
}
/*博客標題*/
#blogTitle,#blogTitle a
{
font-weight
:bold;
color
:#ff8345;
}
/*子標題*/
.subtitle
{
padding-left
:30px;
font-size
:14px;
color
:#999;
font-weight
:normal;
margin
:10px 0;
}
/*導航欄*/
#navigator
{
border-radius
: 4px;
font-size
:16px;
height
:48px;
background
:#ff8345;
text-align
:center;
margin-top
:20px;
margin-bottom
:20px;
}
#navList li
{
/*border:solid 1px #80BB01;
*/
margin
:0;
line-height
:48px;
display
:inline-block;
float
:left;
}
#navList li:hover
{
/*border:solid 1px #BFE866;
*/
background
:#ff9d6f;
}
#navList li a
{
padding
:0 30px;
text-decoration
:none;
line-height
:48px;
border
:0;
color
:#fff;
display
:-moz-inline-box;
display
:inline-block;
}
.blogStats
{
margin
:0;
line-height
:48px;
display
:inline-block;
float
:right;
}
#main
{
padding
:20px;
}
/*左邊*/
#sideBarMain
{
width
:200px;float:left;border-right:1px solid #666;margin-right:20px;
}
#sideBarMain a
{
color
:#666;
}
#leftcontentcontainer
{
color
:#666;
}
.newsItem
{
color
:#666;
}
/*公告*/
#profile_block
{
margin-top
:0px;
line-height
:24px;
text-align
:left;
}
/*主面板*/
#mainContent
{float:right;margin-left:-250px;width:100%;}
/*每日文章列表*/
.day
{
background
:#fff;
padding
:0;
/*border-bottom:solid 5px #489BF0;
*/
margin
:0 0 20px 0;
}
/*博客標題*/
.postTitle a
{
color
:#464646;
}
.postTitle
{
padding-bottom
:10px;
font-size
:20px;
font-weight
:bold;
color
:#464646;
}
.dayTitle
{
display
:none;
}
/*摘要*/
.c_b_p_desc
{
padding
:10px;
line-height
:24px;
color
:#888;
}
.c_b_p_desc a
{
color
:#888;
}
.c_b_p_desc a:hover
{
text-decoration
:none;
border-bottom-width
:1px;
border-bottom-style
:dotted;
}
/*右側圖片*/
.desc_img
{
margin-left
:10px;
border
:solid 1px #fff;
box-shadow
:0 0 10px #aaa;
}
.forFlow
{margin:0 16px 0 220px;}
/*博文頁*/
#topics .post
{
background
:#fff;
}
.postCon
{
padding
:10px 20px 0 20px;
}
.postDesc
{
margin
:0 30px;
margin-bottom
:2px;
padding
:8px 0px;
font-size
:12px;
color
:#aaa;
background
:#fff;
text-align
:right;
}
.postDesc a
{
color
:#AAA;
}
.postBody
{
padding
:0;
}
/*google搜索框*/
#google_q,#q
{
height
:26px;
width
:120px;
border
:solid 1px #aaa;
box-shadow
:inset 0 0 5px #aaa;
}
/*按鈕*/

.btn_my_zzk
{
border
:none;
height
:30px;
width
:80px;
padding
:1px;
font-size
:14px;
font-weight
:bold;
cursor
:pointer;
position
:relative;
vertical-align
:middle;
display
:inline-block;
background
:#ff8345;
color
:#fff;
border-radius
: 4px;
}
.btn_my_zzk:hover
{
background
:#ff9d6f;
}
/*評論按鈕*/

#btn_comment_submit
{
border
:none;
height
:48px;
width
:120px;
border-radius
: 4px;
}
/*評論按鈕*/
.comment_btn
{
font-family
:'Microsoft Yahei';
border
:none;
height
:48px;
width
:120px;
font-size
:18px;
cursor
:pointer;
position
:relative;
vertical-align
:middle;
display
:inline-block;
background
:#ff8345;
color
:#fff;
border-radius
: 4px;
}
#btn_comment_submit:hover
{
background
:#ff9d6f;
border-radius
: 4px;
}
/*評論標題*/
.postTitle,.entrylistPosttitle,.feedback_area_title
{border-bottom:1px solid #ddd;font-size:14px;font-weight:bold;margin:20px 0 10px;}
.feedbackListSubtitle
{
font-size
:12px;
color
:#888;
}
.feedbackListSubtitle a
{
color
:#888;
}
div.commentform textarea
{ width:450px;height:300px;ont-size:13px;}
/*評論條目*/
.feedbackItem
{padding:8px;border-bottom:1px dotted #ccc;}
/************************************分類頁****************************************/
.entrylist
{
padding
:10px 20px;
background
:#fff;
}
.entrylistItem
{
margin
:10px 0;
padding
:10px;
}
.entrylistPosttitle
{
font-size
:18px;
font-weight
:bold;
padding-left
:30px;
}
.entrylistPostSummary
{
padding
:10px;
}
.entrylistItemPostDesc
{
font-size
:12px;
color
:#999;
padding-left
:40px;
}
/*尾部*/

#footer
{
font-size
:12px;
margin
:20px;
padding
:12px;
text-align
:center;
background
:#ff9d6f;
color
:#DDD;
font-size
:14px;
border-radius
: 4px;
}
HTML
<div id="divTool"> 
<a href="#top" title="返回頂部">
<img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_db.png" width="24" height="24" />
</a>
<a href="http://www.cnblogs.com/IT-Bear/" title="回到主頁">
<img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_zy.png" width="24" height="24" />
</a>
<a id="favorite" onclick="AddToWz(cb_entryId);return false;" href="javascript:void(0);" title="收藏此文">
<img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_sc.png" width="24" height="24" />
</a> <a href='javascript:void(0)' id="aPin" onclick='document.getElementById("commentform_title").scrollIntoView();' title='發表評論'><img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_pl.png" width="24" height="24" />
</a> <a href="javascript:void(0);" id="adigg" title="推薦此文"><img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_rj.png" width="24" height="24" />
</a>
</div>











<style type="text/css">
.First
{
margin
: 10px 0;
font-family
: 'Microsoft Yahei';
text-align
: left;
padding
: 6px 20px;
color
:#fff;
background
: #ff8345;
font-size
: 20px;
border-radius
: 4px;
clear
: both;
}
.Second
{
margin
: 10px 0;
font-family
: 'Microsoft Yahei';
padding
: 6px 20px;
background
: #ff9d6f;
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
: #ffba99;
border-radius
: 4px;
clear
: both;
}
.note
{
margin
: 10px 0;
padding
: 15px 20px 15px 60px;
font-size
: 15px;
font-family
: 'Microsoft Yahei';
box-shadow
: 0 0 8px #aaa;
clear
: both;
}
</style>
<script>
var href=document.location.href;
onload
=function(){confirm(href);}
</script>
<script type="text/javascript">
//絕對定位隱藏顯示
function getScroll(id){
var obj = document.getElementById(id);
var timer = null;
positionFixed(obj);
if(obj){
obj.style.display
= 'none';
window.onscroll
=function(){
getScrollTop()
> 0 ? obj.style.display = "block" : obj.style.display = "none";
}
}
}
//判斷IE6
function positionFixed(obj){
var iE6 = !-[1,] && !window.XMLHttpRequest;
if(obj){
var top = obj.offsetTop;
if(iE6){
document.documentElement.style.textOverflow
= "ellipsis";
obj.style.position
= "absolute";
obj.style.setExpression(
"top", "eval(documentElement.scrollTop + " + top + ') + "px"');
}
}
}
//獲取滾動條Top
function getScrollTop(){
return document.documentElement.scrollTop || document.body.scrollTop;
}
window.onload
= function(){
getScroll(
'divTool');
var href=document.location.href;
var reg=/archive/;
if(reg.test(href)){
document.getElementById(
"adigg").onclikc = "DiggIt"+"(cb_entryId,cb_blogId,1)"+";green_channel_success(this,'謝謝推薦!');";

document.getElementById(
"favorite").style.display = 'blcok';
document.getElementById(
"adigg").style.display = 'blcok';
document.getElementById(
"aPin").style.display = 'blcok';
}
else{
favorite
document.getElementById(
"adigg").style.display = 'none';
document.getElementById(
"aPin").style.display = 'none';
document.getElementById(
"favorite").style.display = 'none';
}
}
</script>

CSS
#divTool{width:24px;right:15px;bottom:15px;cursor:pointer; position:fixed;_position:absolute;display:none; color:#FFFFFF}
#divTool img
{border:0px;margin:2px;}

/*公用*/
body
{
color
:#333;background:#FFF;font-family:"verdana","宋體","Arial";font-size:10pt;line-height:1.8em; background:#f8db0b;
}
#home
{
background
:#fff;
overflow
:auto;
border
:solid 1px #fff;
}
/*段落*/
.postBody p,.postCon p
{
margin
:7px 0;
line-height
:24px;
}
h1
{
margin
:0;
}
h3
{
font-size
:15px;
font-weight
:bold;
}
/*超鏈接*/
a
{
color
:#464646;
text-decoration
:none;
}
a:hover
{
text-decoration
:underline;
}
a:visited,a:hover
{
color
:#464646;
}
ul
{
list-style
:none;
margin
:0;
padding
:0;
}
image
{
border
:none;
}
#header
{
padding
:20px;
}
/*博客標題*/
#blogTitle,#blogTitle a
{
font-weight
:bold;
color
:#f8db0b;
}
/*子標題*/
.subtitle
{
padding-left
:30px;
font-size
:14px;
color
:#999;
font-weight
:normal;
margin
:10px 0;
}
/*導航欄*/
#navigator
{
border-radius
: 4px;
font-size
:16px;
height
:48px;
background
:#f8db0b;
text-align
:center;
margin-top
:20px;
margin-bottom
:20px;
}
#navList li
{
/*border:solid 1px #80BB01;
*/
margin
:0;
line-height
:48px;
display
:inline-block;
float
:left;
}
#navList li:hover
{
/*border:solid 1px #BFE866;
*/
background
:#fac934;
}
#navList li a
{
padding
:0 30px;
text-decoration
:none;
line-height
:48px;
border
:0;
color
:#fff;
display
:-moz-inline-box;
display
:inline-block;
}
.blogStats
{
margin
:0;
line-height
:48px;
display
:inline-block;
float
:right;
}
#main
{
padding
:20px;
}
/*左邊*/
#sideBarMain
{
width
:200px;float:left;border-right:1px solid #666;margin-right:20px;
}
#sideBarMain a
{
color
:#666;
}
#leftcontentcontainer
{
color
:#666;
}
.newsItem
{
color
:#666;
}
/*公告*/
#profile_block
{
margin-top
:0px;
line-height
:24px;
text-align
:left;
}
/*主面板*/
#mainContent
{float:right;margin-left:-250px;width:100%;}
/*每日文章列表*/
.day
{
background
:#fff;
padding
:0;
/*border-bottom:solid 5px #489BF0;
*/
margin
:0 0 20px 0;
}
/*博客標題*/
.postTitle a
{
color
:#464646;
}
.postTitle
{
padding-bottom
:10px;
font-size
:20px;
font-weight
:bold;
color
:#464646;
}
.dayTitle
{
display
:none;
}
/*摘要*/
.c_b_p_desc
{
padding
:10px;
line-height
:24px;
color
:#888;
}
.c_b_p_desc a
{
color
:#888;
}
.c_b_p_desc a:hover
{
text-decoration
:none;
border-bottom-width
:1px;
border-bottom-style
:dotted;
}
/*右側圖片*/
.desc_img
{
margin-left
:10px;
border
:solid 1px #fff;
box-shadow
:0 0 10px #aaa;
}
.forFlow
{margin:0 16px 0 220px;}
/*博文頁*/
#topics .post
{
background
:#fff;
}
.postCon
{
padding
:10px 20px 0 20px;
}
.postDesc
{
margin
:0 30px;
margin-bottom
:2px;
padding
:8px 0px;
font-size
:12px;
color
:#aaa;
background
:#fff;
text-align
:right;
}
.postDesc a
{
color
:#AAA;
}
.postBody
{
padding
:0;
}
/*google搜索框*/
#google_q,#q
{
height
:26px;
width
:120px;
border
:solid 1px #aaa;
box-shadow
:inset 0 0 5px #aaa;
}
/*按鈕*/

.btn_my_zzk
{
border
:none;
height
:30px;
width
:80px;
padding
:1px;
font-size
:14px;
font-weight
:bold;
cursor
:pointer;
position
:relative;
vertical-align
:middle;
display
:inline-block;
background
:#f8db0b;
color
:#fff;
border-radius
: 4px;
}
.btn_my_zzk:hover
{
background
:#fac934;
}
/*評論按鈕*/

#btn_comment_submit
{
border
:none;
height
:48px;
width
:120px;
border-radius
: 4px;
}
/*評論按鈕*/
.comment_btn
{
font-family
:'Microsoft Yahei';
border
:none;
height
:48px;
width
:120px;
font-size
:18px;
cursor
:pointer;
position
:relative;
vertical-align
:middle;
display
:inline-block;
background
:#f8db0b;
color
:#fff;
border-radius
: 4px;
}
#btn_comment_submit:hover
{
background
:#fac934;
border-radius
: 4px;
}
/*評論標題*/
.postTitle,.entrylistPosttitle,.feedback_area_title
{border-bottom:1px solid #ddd;font-size:14px;font-weight:bold;margin:20px 0 10px;}
.feedbackListSubtitle
{
font-size
:12px;
color
:#888;
}
.feedbackListSubtitle a
{
color
:#888;
}
div.commentform textarea
{ width:450px;height:300px;ont-size:13px;}
/*評論條目*/
.feedbackItem
{padding:8px;border-bottom:1px dotted #ccc;}
/************************************分類頁****************************************/
.entrylist
{
padding
:10px 20px;
background
:#fff;
}
.entrylistItem
{
margin
:10px 0;
padding
:10px;
}
.entrylistPosttitle
{
font-size
:18px;
font-weight
:bold;
padding-left
:30px;
}
.entrylistPostSummary
{
padding
:10px;
}
.entrylistItemPostDesc
{
font-size
:12px;
color
:#999;
padding-left
:40px;
}
/*尾部*/

#footer
{
font-size
:12px;
margin
:20px;
padding
:12px;
text-align
:center;
background
:#fac934;
color
:#DDD;
font-size
:14px;
border-radius
: 4px;
}
HTML
<div id="divTool"> 
<a href="#top" title="返回頂部">
<img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_db.png" width="24" height="24" />
</a>
<a href="http://www.cnblogs.com/IT-Bear/" title="回到主頁">
<img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_zy.png" width="24" height="24" />
</a>
<a id="favorite" onclick="AddToWz(cb_entryId);return false;" href="javascript:void(0);" title="收藏此文">
<img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_sc.png" width="24" height="24" />
</a> <a href='javascript:void(0)' id="aPin" onclick='document.getElementById("commentform_title").scrollIntoView();' title='發表評論'><img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_pl.png" width="24" height="24" />
</a> <a href="javascript:void(0);" id="adigg" title="推薦此文"><img src="http://images.cnblogs.com/cnblogs_com/IT-Bear/365886/o_rj.png" width="24" height="24" />
</a>
</div>











<style type="text/css">
.First
{
margin
: 10px 0;
font-family
: 'Microsoft Yahei';
text-align
: left;
padding
: 6px 20px;
color
:#fff;
background
: #f8db0b;
font-size
: 20px;
border-radius
: 4px;
clear
: both;
}
.Second
{
margin
: 10px 0;
font-family
: 'Microsoft Yahei';
padding
: 6px 20px;
background
: #fac934;
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
: #fbd35e;
border-radius
: 4px;
clear
: both;
}
.note
{
margin
: 10px 0;
padding
: 15px 20px 15px 60px;
font-size
: 15px;
font-family
: 'Microsoft Yahei';
box-shadow
: 0 0 8px #aaa;
clear
: both;
}
</style>
<script>
var href=document.location.href;
onload
=function(){confirm(href);}
</script>
<script type="text/javascript">
//絕對定位隱藏顯示
function getScroll(id){
var obj = document.getElementById(id);
var timer = null;
positionFixed(obj);
if(obj){
obj.style.display
= 'none';
window.onscroll
=function(){
getScrollTop()
> 0 ? obj.style.display = "block" : obj.style.display = "none";
}
}
}
//判斷IE6
function positionFixed(obj){
var iE6 = !-[1,] && !window.XMLHttpRequest;
if(obj){
var top = obj.offsetTop;
if(iE6){
document.documentElement.style.textOverflow
= "ellipsis";
obj.style.position
= "absolute";
obj.style.setExpression(
"top", "eval(documentElement.scrollTop + " + top + ') + "px"');
}
}
}
//獲取滾動條Top
function getScrollTop(){
return document.documentElement.scrollTop || document.body.scrollTop;
}
window.onload
= function(){
getScroll(
'divTool');
var href=document.location.href;
var reg=/archive/;
if(reg.test(href)){
document.getElementById(
"adigg").onclikc = "DiggIt"+"(cb_entryId,cb_blogId,1)"+";green_channel_success(this,'謝謝推薦!');";

document.getElementById(
"favorite").style.display = 'blcok';
document.getElementById(
"adigg").style.display = 'blcok';
document.getElementById(
"aPin").style.display = 'blcok';
}
else{
favorite
document.getElementById(
"adigg").style.display = 'none';
document.getElementById(
"aPin").style.display = 'none';
document.getElementById(
"favorite").style.display = 'none';
}
}
</script>

CSS
#divTool{width:24px;right:15px;bottom:15px;cursor:pointer; position:fixed;_position:absolute;display:none; color:#FFFFFF}
#divTool img
{border:0px;margin:2px;}

/*公用*/
body
{
color
:#333;background:#FFF;font-family:"verdana","宋體","Arial";font-size:10pt;line-height:1.8em; background:#afb1b6;
}
#home
{
background
:#fff;
overflow
:auto;
border
:solid 1px #fff;
}
/*段落*/
.postBody p,.postCon p
{
margin
:7px 0;
line-height
:24px;
}
h1
{
margin
:0;
}
h3
{
font-size
:15px;
font-weight
:bold;
}
/*超鏈接*/
a
{
color
:#464646;
text-decoration
:none;
}
a:hover
{
text-decoration
:underline;
}
a:visited,a:hover
{
color
:#464646;
}
ul
{
list-style
:none;
margin
:0;
padding
:0;
}
image
{
border
:none;
}
#header
{
padding
:20px;
}
/*博客標題*/
#blogTitle,#blogTitle a
{
font-weight
:bold;
color
:#afb1b6;
}
/*子標題*/
.subtitle
{
padding-left
:30px;
font-size
:14px;
color
:#999;
font-weight
:normal;
margin
:10px 0;
}
/*導航欄*/
#navigator
{
border-radius
: 4px;
font-size
:16px;
height
:48px;
background
:#afb1b6;
text-align
:center;
margin-top
:20px;
margin-bottom
:20px;
}
#navList li
{
/*border:solid 1px #80BB01;
*/
margin
:0;
line-height
:48px;
display
:inline-block;
float
:left;
}
#navList li:hover
{
/*border:solid 1px #BFE866;
*/
background
:#c7c8c9;
}
#navList li a
{
padding
:0 30px;
text-decoration
:none;
line-height
:48px;
border
:0;
color
:#fff;
display
:-moz-inline-box;
display
:inline-block;
}
.blogStats
{
margin
:0;
line-height
:48px;
display
:inline-block;
float
:right;
}
#main
{
padding
:20px;
}
/*左邊*/
#sideBarMain
{
width
:200px;float:left;border-right:1px solid #666;margin-right:20px;
}
#sideBarMain a
{
color
:#666;
}
#leftcontentcontainer
{
color
:#666;
}
.newsItem
{
color
:#666;
}
/*公告*/
#profile_block
{
margin-top
:0px;
line-height
:24px;
text-align
:left;
}
/*主面板*/
#mainContent
{float:right;margin-left:-250px;width:100%;}
/*每日文章列表*/
.day
{
background
:#fff;
padding
:0;
/*border-bottom:solid 5px #489BF0;
*/
margin
:0 0 20px 0;
}
/*博客標題*/
.postTitle a
{
color
:#464646;
}
.postTitle
{
padding-bottom
:10px;
font-size
:20px;
font-weight
:bold;
color
:#464646;
}
.dayTitle
{
display
:none;
}
/*摘要*/
.c_b_p_desc
{
padding
:10px;
line-height
:24px;
color
:#888;
}
.c_b_p_desc a
{
color
:#888;
}
.c_b_p_desc a:hover
{
text-decoration
:none;
border-bottom-width
:1px;
border-bottom-style
:dotted;
}
/*右側圖片*/
.desc_img
{
margin-left
:10px;
border
:solid 1px #fff;
box-shadow
:0 0 10px #aaa;
}
.forFlow
{margin:0 16px 0 220px;}
/*博文頁*/
#topics .post
{
background
:#fff;
}
.postCon
{
padding
:10px 20px 0 20px;
}
.postDesc
{
margin
:0 30px;
margin-bottom
:2px;
padding
:8px 0px;
font-size
:12px;
color
:#aaa;
background
:#fff;
text-align
:right;
}
.postDesc a
{
color
:#AAA;
}
.postBody
{
padding
:0;
}
/*google搜索框*/
#google_q,#q
{
height
:26px;
width
:120px;
border
:solid 1px #aaa;
box-shadow
:inset 0 0 5px #aaa;
}
/*按鈕*/

.btn_my_zzk
{
border
:none;
height
:30px;
width
:80px;
padding
:1px;
font-size
:14px;
font-weight
:bold;
cursor
:pointer;
position
:relative;
vertical-align
:middle;
display
:inline-block;
background
:#afb1b6;
color
:#fff;
border-radius
: 4px;
}
.btn_my_zzk:hover
{
background
:#c7c8c9;
}
/*評論按鈕*/

#btn_comment_submit
{
border
:none;
height
:48px;
width
:120px;
border-radius
: 4px;
}
/*評論按鈕*/
.comment_btn
{
font-family
:'Microsoft Yahei';
border
:none;
height
:48px;
width
:120px;
font-size
:18px;
cursor
:pointer;
position
:relative;
vertical-align
:middle;
display
:inline-block;
background
:#afb1b6;
color
:#fff;
border-radius
: 4px;
}
#btn_comment_submit:hover
{
background
:#c7c8c9;
border-radius
: 4px;
}
/*評論標題*/
.postTitle,.entrylistPosttitle,.feedback_area_title
{border-bottom:1px solid #ddd;font-size:14px;font-weight:bold;margin:20px 0 10px;}
.feedbackListSubtitle
{
font-size
:12px;
color
:#888;
}
.feedbackListSubtitle a
{
color
:#888;
}
div.commentform textarea
{ width:450px;height:300px;ont-size:13px;}
/*評論條目*/
.feedbackItem
{padding:8px;border-bottom:1px dotted #ccc;}
/************************************分類頁****************************************/
.entrylist
{
padding
:10px 20px;
background
:#fff;
}
.entrylistItem
{
margin
:10px 0;
padding
:10px;
}
.entrylistPosttitle
{
font-size
:18px;
font-weight
:bold;
padding-left
:30px;
}
.entrylistPostSummary
{
padding
:10px;
}
.entrylistItemPostDesc
{
font-size
:12px;
color
:#999;
padding-left
:40px;
}
/*尾部*/

#footer
{
font-size
:12px;
margin
:20px;
padding
:12px;
text-align
:center;
background
:#c7c8c9;
color
:#DDD;
font-size
:14px;
border-radius
: 4px;
}
HTML
使用方法

使用標題

<div class="First">一級標題</div>
<div class="Second">二級標題</div>
<div class="Third">三級標題</div>
<div class="note">要說明的地方</div>
資料

李寶亨 共享一下我的自定義CSS博客皮膚

http://www.cnblogs.com/Mainz/(非常喜歡Mainz的博客風格)


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM