首页 > 代码库 > 博客的标签
博客的标签
页面定制css代码
/*去广告*/#google_ad_c1,#div-gpt-ad-1320933818841-0,#google_ad_c2,#div-gpt-ad-1320933818841-1,#ad_under_google ,#opt_under_post,#ad_under_post_holder,#HistoryToday,.c_ad_block,#under_post_kb,#div-gpt-ad-1410860226396-0,#under_post_news,#site_nav_under{display:none; visable:hidden; }/*将标题去掉,只留下导航栏*/#blogTitle{display:none;}/*导航栏背景色#669933 #999933 #AB9476*//*#navigator{background-color:#5A4F42;margin-top:0px;}*//*#navList a:link, #navList a:visited, #navList a:active { color: #fff; text-shadow: 3px 3px 3px #000; font-size:24px; }*//*导航去下划线*/#navList a:hover { text-decoration: none; }/*设置导航栏距离顶部的位置*/#navList { min-height: 30px; float: left; margin-left: 30px;margin-top:0px;}/*导航背景图片*//*navigator{ background-image:url(http://images.cnblogs.com/cnblogs_com/JAYIT/624390/o_h.gif);} */ /*设置主文content内容背景图片*//*#mainContent { background-image:url(http://images.cnblogs.com/cnblogs_com/JAYIT/624390/o_bg0.gif);}*//*设置主文content内容背景色#CCFF99 *//* #mainContent{background-color:#E9E4DB;}#main{background-color:#E9E4DB;font-size:12px;} *//*设置侧边栏的背景图片*//* #sideBar{ background-image:url(http://images.cnblogs.com/cnblogs_com/JAYIT/624390/o_right.gif);} *//*设置侧边栏的背景色*//*#sideBar{background-color:#E9E4DB; font-size:14px;}*//*设置文章标题颜色*//*.postTitle{ color:#CCCCFF;}*//*设置标题背景色#66CC66*//*.postTitle,.entrylistPosttitle{background-color:#CCCC99;}*//*标题内容背景色#FFFFE1*//*.postBody{background-color:#F5F5D5;}*//*底部除文章外的背景色为content背景色*//*#MySignature,.clear,#blog_post_info_block,#BlogPostCategory,#EntryTag,#blog_post_info,#post_next_prev{background-color:#E9E4DB;}*//*菜单栏点击效果*/#navList a:hover{color: #FF00FF;background-color:#E9E4DB;}/*类似我的公告字体大小*/.catListTitle{ font-size: 20px;background: #8EC209;}/*分类文字大小*/.catListPostCategory,.catListTag{font-size:14px;}/*公用*/body { font-size:15px; padding:0; margin:0; font-family:"微软雅黑","宋体",Arial; background:#205424 url(‘http://images.cnblogs.com/cnblogs_com/JAYIT/624390/o_BgImage.jpg‘) no-repeat top center fixed; min-width:1280px;}#home { opacity: 0.95; filter: alpha(opacity=95); box-shadow:0 0 10px #23DA1C; margin:40px auto; width:1280px; background:#fff; overflow:auto; overflow-x:hidden; 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:#666;}#blogTitle .title { margin-top:10px; height:100px; line-height:100px; font-size:36px; padding-left:30px;}.headermaintitle { }#blogTitle,#blogTitle a:hover { text-decoration:none;}/*子标题*/.subtitle { padding-left:30px; font-size:14px; color:#999; font-weight:normal; margin:10px 0;}/*导航栏*/#navigator { font-size:16px; height:48px; background:#8DC105; text-align:center; margin-top:20px; margin-bottom:20px;}#navList li { margin:0; line-height:48px; display:inline-block; float:left;}#navList li:hover { background:#8EE045;}#navList li a { padding:0 30px; text-decoration:none; line-height:48px; border:0; color:#fff; display:-moz-inline-box; display:inline-block;}.blogStats { height:48px; color:#fff; text-align:right; line-height:48px; padding-right: 30px;}#main { padding:20px;}/*左边*/#sideBarMain { padding:0 10px 0 0; background:#fff; margin:0 0 20px 0; width:190px; font-size:12px; line-height:22px;}#sideBarMain a { color:#666;}#leftcontentcontainer { color:#666;}.newsItem { color:#666;}/*公告*/#profile_block { margin-top:0px; line-height:24px; text-align:left;}/*博客标题*/.postTitle a { color:#464646;}.postTitle { padding-bottom:10px; font-size:20px; font-weight:bold; color:#464646; background:url(‘http://images.cnblogs.com/cnblogs_com/JAYIT/624390/o_title.gif‘) no-repeat 0 3px; padding-left:30px;}.dayTitle { display:none;}/*博文页*/#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;}/*评论按钮*/#btn_comment_submit { border:none; height:48px; width:120px;}/*评论按钮*/.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:#8DC105; color:#fff;}#btn_comment_submit:hover { background:#8EE045;}/*评论标题*/.feedback_area_title { padding:10px; font-size:24px; font-weight:bold; color:#8DC105; border-bottom:solid 6px #8DC105;}.feedbackListSubtitle { font-size:12px; color:#888;}.feedbackListSubtitle a { color:#888;}.comment_quote { background:#FCFAAC; padding:15px; border:1px solid #CCC;}#commentform_title { color:#8DC105; background-image:none; background-repeat:no-repeat; margin-bottom:10px; padding:10px 20px 10px 10px; font-size:24px; font-weight:bold; border-bottom:solid 6px #8DC105;}/*评论框*/#comment_form { margin:10px 0; padding:0;}.commentform { margin:10px 0; padding:10px 20px; background:#fff;}/*评论输入域*/#tbCommentBody { font-family:‘MIcrosoft Yahei‘; margin-top:10px; width:1020px; max-width:1020px; min-width:1020px; background:white; color:#333; border:2px solid #fff; box-shadow:inset 0 0 8px #aaa; padding:10px; height:120px; font-size:14px; min-height:120px;}/*评论条目*/.feedbackItem { font-size:14px; line-height:24px; margin:10px 0; padding:20px; background:#F2F2F2; box-shadow:0 0 5px #aaa;}.feedbackListSubtitle { font-weight:normal;}/*分类页*/.entrylist { padding:10px 20px; background:#fff;}.entrylistItem { margin:10px 0; padding:10px;}.entrylistPosttitle { font-size:18px; font-weight:bold; background:url(‘http://images.cnblogs.com/cnblogs_com/JAYIT/624390/o_title.gif‘) no-repeat 0 3px; 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:#8DC105; color:#DDD; font-size:14px;}/*green_channel*/#green_channel { text:align:right; background:#8EE045; padding-left:20px; font-weight:normal; font-size:15px; width:1000px; border:none; color:#fff; padding:20px; border-radius:4px;}/*最新评论*/#myposts .PostList { font-size:14px; line-height:24px; margin:10px 0; padding:20px; background:#F2F2F2; box-shadow:0 0 5px #aaa;}/*类似公告栏标题*/#myposts .postTitl2 a { color:#8EE045;}/*****************************/
侧边栏公告代码
<div class="newsItem"><p><a href="http://ai.taobao.com?pid=mm_43552921_5142159_15986766">网罗最新消息</a></p><p>sql,css,html用推荐模式 java中的xml除外</p><a href="http://sawyershaw.163.gg ">wordpress</a></div><div><h1><image src="http://images.cnblogs.com/cnblogs_com/JAYIT/624390/o_qrcode.png"height=70% width=70%></image></h1></div>
页首html代码
<!-- JiaThis Button BEGIN 分享--><script type="text/javascript" >var jiathis_config={ data_track_clickback:true, showClose:true, hideMore:false}</script><script type="text/javascript" src="http://v3.jiathis.com/code/jiathis_r.js?uid=1883976&btn=r1.gif&move=1" charset="utf-8"></script><!-- JiaThis Button END --><-- boostrap css --><link href="http://cdn.bootcss.com/bootstrap/3.3.1/css/bootstrap.css" rel="stylesheet"><!-- boostrap --><script src="http://cdn.bootcss.com/bootstrap/3.3.1/js/bootstrap.js"></script>
页脚html代码
<script type="text/javascript">/*禁用广告*/var enableGoogleAd = false;/*/优化阅读*//* var el=$(‘.post‘); $("*").not(el.find(‘*‘)).hide(); el.parents().andSelf().css({width:480,padding:0,margin:0,border:‘none‘,float:‘none‘,position:‘static‘}).show().find(‘img‘).css({maxWidth:470,height:‘auto‘}); $(‘body‘).css({background:‘#fff‘,zoom:2.3})*/;</script><a href="#header" style="position:fixed;top:495px;right:10px;text-decoration:none;"><span style="font-size:24px;color:rgb(0, 0, 0);"onMouseOver="this.style.color=‘#7F879E‘" onm ouseOut="this.style.color=‘#8AC109‘" onclick="$(window).scrollTop();">返<br/>回<br/>顶<br/>部<br/></span><span class="glyphicon glyphicon-circle-arrow-up" style="font-size:24px;position:relative;top:2px;" onclick="$(window).scrollTop();"></span></a>
博客的标签
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。