自定义自己的博客园博客首页

简介: 博客侧边栏公告: 联系我是通过腾讯QQ的方式联系我,会根据QQ的在线状态显示不同颜色的图标。 企鹅: 页脚Html代码: var cnzz_protocol = (("https:" == document.

博客侧边栏公告:

联系我是通过腾讯QQ的方式联系我,会根据QQ的在线状态显示不同颜色的图标。

<!-- 头像 -->
<img class="divBlock" src="http://images.cnblogs.com/cnblogs_com/Candies/632934/o_mayun.jpg" style="height:300px;">
<!-- 企鹅 -->
企鹅:<a target="_blank" href="tencent://message/?uin=359031282&Menu=yes">
<img border="0" src="http://wpa.qq.com/imgd?IDKEY=0888b40d1f802a8ee4a15521b180d224ca321fb46fc82ce2&pic=51"
alt="Candyメ奶糖" title="Candyメ奶糖"></a>

页脚Html代码:

<!-- 站长统计 -->
<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1253650355'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s11.cnzz.com/z_stat.php%3Fid%3D1253650355%26online%3D1%26show%3Dline' type='text/javascript'%3E%3C/script%3E"));</script>
<!-- 微博分享 -->
<div id="share">
<a class="divBlock" href="http://weibo.com/u/1986192324" target="_blank" id="sina"> </a>
<a class="divBlock" href="http://t.qq.com/loverning" target="_blank" id="tent" > </a>
</div>

<!-- 返回顶部 -->
<a href="javascript:" id="toTop" title="返回顶部"
onclick="window.scrollTo(0,0);return false;" style=""></a>

页面定制CSS代码

/*---------------------------------共通 Start---------------------------------*/
body {
margin: 0;
padding: 0;
font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Arial, Helvetica,
sans-serif;
font-size: 14px;
vertical-align: top;
color: #000;
}

#main {
margin: 0 auto;
padding: 20px 0;
width: 1024px;
}

#mainContent {
float: right;
width: 790px;
}

a,a:hover,a:active,a:visited {
text-decoration: none;
color: #267CB2;
}

a:hover {
text-decoration: none;
color: #F60;
}

ul,li {
list-style: none;
}

ul {
margin: 0;
padding: 0;
}

/* 返回顶部 */
#toTop {
width: 28px;
height: 65px;
position: fixed;
display: none;
right: 20px;
bottom: 65px;
background:
url(http://images.cnblogs.com/cnblogs_com/Candies/632934/o_backtop.png)
no-repeat 0px 0px;
opacity: 0.6;
}

#toTop:hover {
opacity: 1;
filter: alpha(opacity = 100);
background:
url(http://images.cnblogs.com/cnblogs_com/Candies/632934/o_backtop.png)
no-repeat -28px 0px;
}

/* 页脚微博 */
#share {
width: 35px;
position: fixed;
right: 20px;
bottom: 150px;
}

#share a {
color: #333;
}

#share a#sina {
line-height: 3;
background: transparent
url(http://images.cnblogs.com/cnblogs_com/Candies/632934/o_WB_logo.png)
no-repeat 0px 0px;
}

#share a#tent {
line-height: 3;
background: transparent
url(http://images.cnblogs.com/cnblogs_com/Candies/632934/o_tx_wb_logo.png)
no-repeat 0px 0px;
}

/*
#share {
position:fixed;
bottom: 0px;
right: 0px;
width: 450px;
margin: 0 auto;
border: 1px solid #CC0;
background: #F4FAED;
padding: 5px 10px 3px
}

#share a {
background: transparent
url(http://image.dili360.com/www/img/sharelogo.png) no-repeat scroll 0
0;
line-height: 1.8;
color: #333;
margin: 0 0 0 10px;
padding: 3px 0 3px 18px;
}

#share a#sina {
background-position: 0 -79px
}

#share a#tent {
background-position: 0 -129px
}

*/

/* 隐藏页脚 */
#footer {
background-color: #F1F4F4;
padding-top: 25px;
color: #333;
text-align: center;
}

#cnzz_stat_icon_1253650355 {
width: 100%;
display: inline-block;
background-color: #F1F4F4;
padding-bootom: 25px;
text-align: center;
}

/*---------------------------------共通 End---------------------------------*/

/*---------------------------------导航栏 Start---------------------------------*/
#navList {
background:
url(http://images.cnblogs.com/cnblogs_com/libaoheng/435190/o_bg-tabs.png)
no-repeat center bottom;
border: none !important;
height: 52px;
text-align: center;
margin: 0 0 12px;
padding: 15px 0 1px;
font-size: 16px;
}

#navList li {
margin: 0;
display: inline-block;
vertical-align: bottom;
}

#navList a {
font-family: 'Microsoft YaHei';
color: #333;
text-decoration: none;
background: #D8E1EC
url(http://i1.asp.net/images/ui/sprite-ui.png?cdn_id=t32) repeat-x 0
-363px;
border: 1px solid #D8E1EC;
border-bottom: 0;
display: block;
padding: 16px 36px 0;
margin: 0;
position: relative;
top: 0;
text-align: center;
-moz-border-radius: 3px 3px 0 0;
-webkit-border-radius: 3px 3px 0 0;
border-radius: 3px 3px 0 0;
min-height: 36px;
}

#navList a:hover,#MyLinks1_MyHomeLink {
background: white !important;
color: #000 !important;
border: 1px solid #CFD0D3 !important;
border-bottom: 0 !important;
-moz-box-shadow: 0 6px 0 #fff, 0 0 4px #bbb !important;
-webkit-box-shadow: 0 6px 0 white, 0 0 4px #BBB !important;
box-shadow: 0 6px 0 white, 0 0 4px #BBB !important;
}
/*---------------------------------导航栏 End---------------------------------*/

/*---------------------------------标题 Start---------------------------------*/
/* 博客标题 */
#blogTitle {
margin: 0 auto;
padding-left: 100px;
background-color: #D2D8DE;
height: 106px;
}

#blogTitle .title {
width: 1024px;
margin: 0 auto;
padding: 26px 0 0;
}

#blogTitle h2 {
font-size: 14px;
font-weight: normal;
}

/* 标题 */
h1 {
margin: 0;
padding: 0;
}

h1.postTitle {
padding: 0;
background: #fff;
font-size: 24px;
}

h1.postTitle a {
color: #000;
text-decoration: none !important;
}

h3 {
margin: 10px 0;
padding: 0;
font-size: 14px;
}

h3.catListTitle {
color: #fff;
}
/*---------------------------------标题 End---------------------------------*/

/*---------------------------------侧边栏 Start---------------------------------*/
#sideBar {
min-height: 200px;
padding: 0px 0 0px 5px;
float: left;
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
overflow: hidden;
word-break: break-all;
}

/* 不显示公告 */
.newsItem .catListTitle {
display: none;
}

/* 时钟 */
.divBlock,#honehoneclock {
display: block;
}

.blog-news {
margin-top: 5px;
line-height: 1.5;
text-align: left;
}

.catList,.catListTag,.mySearch,.catListLink,.catListPostCategory,.catListPostArchive,.catListBlogRank
{
border-radius: 7px;
border-bottom: 1px dotted #ccc;
}

.catListTitle {
background-color: #267CB2;
font-size: 16px;
border-bottom: 1px solid #006600;
border-top-left-radius: 7px;
border-top-right-radius: 7px;
font-size: 1.2em;
height: 1.8em;
line-height: 1.8em;
padding: 5px;
text-indent: 0.5em;
text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.3);
}

/* 加大随笔档案、随笔分类等列表间距 */
.catList ul li,.catListTag ul li,.catListLink ul li,.catListPostArchive ul li,.catListPostCategory ul li,.catListBlogRank ul li
{
padding: 5px 0px 5px 10px
}

/*---------------------------------侧边栏 End---------------------------------*/

/*---------------------------------博文列表 Start---------------------------------*/
/* 日期块、从随笔分类和随笔档案点开的一览页面 */
.day,.entrylistItem {
min-height: 10px;
_height: 10px;
background: #fff;
border-radius: 7px;
box-shadow: 1px 1px 2px #aaa;
margin: 0 5px 20px 0;
padding: 5px 20px 5px 20px;
}

/* 日期标题 */
.dayTitle {
color: #666;
line-height: 2.2em;
font-size: 22px;
clear: both;
border-bottom: 1px solid #ccc;
text-align: center;
}
/* 博文标题 */
.postTitle,.entrylistPosttitle {
font-size: 16px;
font-weight: bold;
padding: 3px 0 4px 24px;
border-bottom: 1px dashed #ccc;
line-height: 2.5em;
clear: both;
background:
url(http://images.cnblogs.com/cnblogs_com/Candies/632934/o_titile-icons.png)
no-repeat 0px 50%;
}

.postTitle a:link,.postTitle a:visited,.postTitle a:active,.entrylistPosttitle a:link,.entrylistPosttitle a:visited,.entrylistPosttitle a:active
{
transition: all 0.4s linear 0s;
}

/* 博文标题 */
.postTitle a:hover,.entrylistPosttitle a:hover {
color: #F60;
text-decoration: none;
margin-left: 10px;
}

/* 博文内容 */
.postCon,.entrylistPostSummary {
margin: 10px 0px;
}

.postDesc a {
display: none;
}

/* 博文post脚 */
.postDesc,.entrylistItemPostDesc {
text-align: right;
color: #999;
}

/* 不显示随笔档案-XX、随笔分类-XX和描述 */
.entrylistTitle,.entrylistDescription {
display: none;
}
/*---------------------------------博文列表 End---------------------------------*/

/*---------------------------------博文内容页面 Start---------------------------------*/

/* 博客签名 */
#MySignature {
/*background:url("http://images.cnblogs.com/cnblogs_com/Candies/632934/o_o_light2.png") no-repeat 10px 50%;*/
background:
url("http://images.cnblogs.com/cnblogs_com/Candies/632934/o_may.png")
no-repeat 20px 40%;
margin-top: 20px;
padding: 10px 10px 10px 120px;
box-shadow: 0px 0px 15px #aaa;
border-radius: 25px;
border: 1px dotted #FFD596;
}

#MySignature a {
color: #FB9400;
}

/* 屏蔽广告 */
#site_nav_under,#ad_under_post_holder,#google_ad_c2 {
display: none;
}

/*博客目录*/
#sideBarView {
font-size: 12px;
font-family: Arial, Helvetica, sans-serif;
text-align: left;
position: fixed;
/*将div的位置固定到距离top:50px,right:0px的位置,这样div就会处在最右边的位置,距离顶部50px*/
top: 299px;
right: 30px;
width: auto;
height: auto;
}

#sideBarTab {
float: left;
width: 30px;
border: 1px solid #e5e5e5;
border-right: none;
text-align: center;
background: #ffffff;
background-color: #F1F4F4;
border-radius: 5px;
}

#sideBarContents {
float:left;
overflow:auto;
overflow-x:hidden;!important;
padding:10px;
min-height: 108px;
max-height: 460px;
border: 1px solid #e5e5e5;
background: #ffffff;
border-radius: 5px;
}

#sideBarContents dl {
margin-top: 15px;
margin-bottom: 15px;
padding: 0;
}

#sideBarContents dt {
margin-top: 15px;
margin-left: 5px;
}

#sideBarContents dd,dt {
cursor: pointer;
-webkit-margin-start:0px;
}

#sideBarContents dd:hover,dt:hover {
color: #A7995A;
}

.blog_comment_body {
border-radius: 15px;
box-shadow: 0px 0px 15px #aaa;
border: 2px solid #FFD596;
display: inline-block;
margin: 10px 0px;
padding: 15px;
position: relative;
}
/*---------------------------------博文内容页面 End---------------------------------*/

页首Html代码

<script type="text/javascript">
    function toTopHide(){
        $(document).scrollTop()>1000?
                $("#toTop").show()
                    :$("#toTop").hide();
    }
    $(window).scroll(function(){toTopHide()});
</script>
作者: Candyメ奶糖

本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。
博文来源广泛,如原作者认为我侵犯知识产权,请尽快给我发邮件 359031282@qq.com联系,我将以第一时间删除相关内容。

目录
相关文章
|
开发框架 JSON 前端开发
Go主流框架对比:Gin Echo Beego Iris
由于go的标准库非常丰富,尤其是net/http包的存在,基本上把别的语言需要通过框架搞的事情都做了,不用框架光用标准库也能顺畅的开发需求了。
3044 0
|
存储 人工智能 数据可视化
拍汉服照,自动调色超厉害的软件是什么?摄影师 2025 新春必备!
在汉服制作与租赁行业蓬勃发展的背景下,2025蛇年新春为摄影师带来了更多机遇。高质量的摄影作品至关重要,合适的自动调色和团队协作软件能极大提升效率。推荐6款软件助力摄影师:板栗看板提供清晰流程管理和实时沟通;Luminar智能调色一键打造古风;Capture One精准色彩管理还原汉服本色;Darktable开源免费且功能强大;On1 Photo RAW综合功能强大并引入AI技术;Polarr移动端便捷调色。这些工具将帮助摄影师在新春期间大放异彩,同时确保团队协作顺畅高效。
433 1
|
分布式计算 搜索推荐 Hadoop
03 Hadoop国内外应用案例介绍
03 Hadoop国内外应用案例介绍
831 0
|
数据采集 监控 算法
PID 控制器有什么优缺点?
PID 控制器有什么优缺点?
461 1
|
机器学习/深度学习 数据采集 自动驾驶
探索深度学习的点云分类
点云分类是指将三维点云数据中的每个点或整个点云进行分类的任务。点云数据由大量三维点构成,每个点包含空间坐标(x, y, z),有时还包含其他信息如颜色和法向量。点云分类在自动驾驶、机器人导航、3D重建等领域有广泛应用。
732 1
|
敏捷开发 算法 搜索推荐
软件测试的演变:从传统方法到敏捷实践
本文深入探讨了软件测试领域的发展轨迹,从早期以代码为中心的测试方法,到今日强调快速迭代和持续集成的敏捷测试实践。文章通过分析历史数据、行业报告以及权威研究,揭示了测试自动化、跨功能团队合作以及质量保证在现代软件开发中的重要性。进一步地,本文还讨论了如何将科学严谨性融入测试过程,包括采用基于证据的测试策略、利用统计方法评估软件质量,并提出了逻辑严密的测试案例设计原则。
|
人工智能 文字识别 自然语言处理
深入探索OCR技术:前沿算法与工业级部署方案揭秘
深入探索OCR技术:前沿算法与工业级部署方案揭秘
深入探索OCR技术:前沿算法与工业级部署方案揭秘
|
安全 数据安全/隐私保护
|
人工智能 数据可视化 Shell
【二、玩转vim(vi)编辑器】三大模式及命令介绍、如何通过配置文件.vimrc配置vim编辑器(一)
【二、玩转vim(vi)编辑器】三大模式及命令介绍、如何通过配置文件.vimrc配置vim编辑器
1497 0
【二、玩转vim(vi)编辑器】三大模式及命令介绍、如何通过配置文件.vimrc配置vim编辑器(一)
|
缓存 监控 架构师
开发流程规范
这是近期在公司做的一次分享,这几年的互联网开发,算比较幸运,团队一直践行完善这套规范,没有太多的阻碍,得益于公司整体氛围,以及团队对规范和写文档的不排斥,形成了良好的开发习惯 在这次分享后,发现好些大V也在谈规范,写文档,估计是前段时间阿里又发布了开发手册(华山版),借鉴于一下,对一些细节做些补充,整理出来
2877 0
开发流程规范