码迷,mamicode.com
首页 > Web开发 > 详细

页面css

时间:2014-11-23 23:04:59      阅读:367      评论:0      收藏:0      [点我收藏+]

标签:des   style   blog   http   io   ar   color   os   sp   

/*去广告*/
#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;
}
/*****************************/

 

页面css

标签:des   style   blog   http   io   ar   color   os   sp   

原文地址:http://www.cnblogs.com/JAYIT/p/4117643.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!