你的位置:首页 > 网页设计

[网页设计]博客园自定义主题

基于默认LoveGiveHeart主题更改

页面定制CSS代码

body{background:#171717;}

body{color:#4A708B;}

<!-- 子页布局背景 -->

.postBody {

padding: 15px 10px 10px 20px;

-webkit-box-shadow: 1px 2px 3px #ddd;

box-shadow: 0 2px 0 #ddd;

background: #fff;

position: relative;

}

.postTitle, .entrylistPosttitle {

font-size: 1.8em;

}

侧边栏公告HTML代码

   

<!-- 免责声明 & 联系方式 -->

<div align=center>

<marquee onmouseover=this.stop() onmouseout=this.start() scrollamount="1" scrolldelay="60" direction="up" width="180" height="152">

<font color=red><b><center>本站公告</center></b></font><BR>

<font color="#003366">欢迎大家的光临!!!</font><BR>

<font color="#FF00FF">本站域名:<BR>

www.cnblogs.com/isunlitao<BR>

</font>

<font color="#ff0000"><b><center>免责声明</center></b></font><BR>

<font color="#003366">本站资料大部分来自于互联网,其版权归原作者或其他合法者所有.如内容涉及或侵犯了您的权益,请通知本人,我将尽快处理!</font><BR><BR>

<font color="#ff0000"><b><center>欢迎您的光临</center></b></font><BR>

<font color="#003366">感谢您的大力支持!如果您对本站有好的意见和建议,请到留言板留言或用以下方式和我联系:</font><BR>

<font color="#ff0000"><a href="tjsunlitao@outlook.com">QQ:908916088 </a><BR>

邮箱:tjsunlitao@outlook.com</font>

</marquee></div>

<!-- 头像 -->

<a href="http://www.cnblogs.com/isunlitao">

<img src="http://i.imgur.com/meTl5J6.jpg">

</a>

<!-- 音乐 -->

<embed border="0" marginwidth="0" marginheight="0" width=0 height=86 src="http://music.163.com/outchain/player?type=2&id=18607260&auto=1&height=66"></embed>

   

页首HTML代码

   

<marquee onmouseover=this.stop() onmouseout=this.start() scrollamount="3" scrolldelay="60" direction="left" width="1300" height="38"><font color=white><b><center><br>爱情就像无影剑,虽明知附加都是伤害,我们依旧红了眼;爱情就像屠戮之刃,不仅附加伤害还得大出血;爱情就像心脏粉碎者,不仅伤,而且越伤越深;爱情就像开双刀,点燃了激情,却燃烧了生命;结婚就像红字武器,让你高兴,却还得花钱!!</center></font><BR></marquee></div>

   

页脚HTML代码

   

<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"slide":{"type":"slide","bdImg":"6","bdPos":"right","bdTop":"106"},"image":{"viewList":["qzone","tsina","tqq","renren","weixin"],"viewText":"分享到:","viewSize":"16"},"selectShare":{"bdContainerClass":null,"bdSelectMiniList":["qzone","tsina","tqq","renren","weixin"]}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>