首页 >web前端 >html教程 >自定义CSS模板_html/css_WEB-ITnose

自定义CSS模板_html/css_WEB-ITnose

WBOY
WBOY原创
2016-06-24 11:46:321451浏览

本主题使用时,需禁用默认CSS。

.topicListFooter {    text-align: right;    margin-right: 10px;    margin-top: 10px;}* {    margin: 0;    padding: 0;}html {    height: 100%;}body {    color: #000;    font-family: Verdana, Arial, Helvetica, sans-serif;    font-size: 13px;    min-height: 101%;    background: url(images/body_bg.jpg) top center no-repeat #b4e4ee;}table {    border-collapse: collapse;    border-spacing: 0;}ul {    word-break: break-all;}li {    list-style: none;}h1, h2, h3, {    font-size: 100%;    font-weight: normal;}a:link {    color: #000;    text-decoration: none;}a:hover {    color: #f60;    text-decoration: underline;}.clear {    clear: both;}#blogTitle {    background: url("http://static.blog.csdn.net/skin/skin-yellow/images/title-yellow.png") no-repeat center 21px;    height: 314px;    clear: both;    width: 1200px;    margin: 0 auto;    position: relative;}#blogTitle h1 {    font-size: 30px;    width: 310px;    height: 100px;    line-height: 100px;    text-align: center;    position: relative;    top: 80px;    left: 17px;    font-weight: normal;}#blogTitle h2 {    width: 550px;    position: relative;    height: 75px;    line-height: 180%;    font-weight: normal;    top: 107px;    left: 5px;    font-size: 16px;}#blogTitle h1 a, #blogTitle h2 {    color: #fff;    font-family: "微软雅黑","宋体";}#blogLogo {    float: right;}#navigator {    background-color: #169FE6;    height: 60px;    clear: both;    position: relative;    border: 1px solid #138cca;    border-left: none;    border-right: none;}#navList {    width: 1200px;    margin: 0 auto;    height: 60px;}#navList li {    float: left;    height: 60px;    line-height: 60px;}#navList a {    padding: 0 20px;    font-size: 16px;    font-family: "微软雅黑","宋体";    display: block;    color: white;}#navList a:link, {    color: #fff;    text-shadow: 3px 3px 3px #000;}#navList a:hover {    text-decoration: none;    background-color: white;    color: #169FE6;}.blogStats {    display: none;}#main {    width: 1200px;    margin: 20px auto 0;    clear: both;}.postDesc a:link, {    color: #a3a3a3;}.postDesc a:hover {    color: #9ab26b;    text-decoration: none;}.postSeparator {    border-top: 1px dashed silver;    margin: 20px 0;    clear: both;}.topicListFooter {    margin-top: 15px;    height: 68px;    line-height: 68px;    font-size: 16px;}#nav_next_page {    line-height: 40px;}#nav_next_page a {    -webkit-border-radius: 3px;    -moz-border-radius: 3px;    border-radius: 3px;    background-color: #99B16B;    -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, .1), 0 1px 1px rgba(0, 0, 0, .09);    -moz-box-shadow: 0 0 1px rgba(0, 0, 0, .1), 0 1px 1px rgba(0, 0, 0, .09);    box-shadow: 0 0 1px rgba(0, 0, 0, .1), 0 1px 1px rgba(0, 0, 0, .09);    height: 40px;    line-height: 40px;    color: #fff;    display: inline-block;    padding: 0 15px;    text-decoration: none;}#calendar table a:hover {    color: #fff;    text-decoration: none;    background-color: #f60;}.catListTag ul li, {    margin: .5em;}.divRecentComment {    margin-top: .5em;}#EntryTag a:hover {    color: #f60;}.feedbackListSubtitle {    padding: 0 5px;}.feedbackListSubtitle a:hover {    color: #9ab26b;    text-decoration: none;}#divRefreshComments {    text-align: right;    margin-bottom: 10px;}.entrylistItemPostDesc a:hover {    color: #f60;}.topicListFooter .pager a:hover, .topicListFooter .pager span {    -webkit-border-radius: 3px;    -moz-border-radius: 3px;    border-radius: 3px;    background: #9ab26b;    -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, .1), 0 1px 1px rgba(0, 0, 0, .09);    -moz-box-shadow: 0 0 1px rgba(0, 0, 0, .1), 0 1px 1px rgba(0, 0, 0, .09);    box-shadow: 0 0 1px rgba(0, 0, 0, .1), 0 1px 1px rgba(0, 0, 0, .09);    height: 40px;    line-height: 40px;    margin-top: 14px;    color: #fff;    display: inline-block;    padding: 0 15px;    text-decoration: none;    border: none;}.divPhoto:hover {    border-color: #08c;    box-shadow: 3px 3px 3px rgba(0, 0, 0, .3);}#footer {    text-align: center;    min-height: 15px;    _height: 15px;    margin-top: 10px;    padding-top: 10px;    margin-bottom: 10px;    padding-bottom: 10px;    color: #333;}.pfl_feedback_area_title {    margin-bottom: 1em;}.pfl_feedbackCon {    margin: .5em;}.postCon p {}.postCon a:link, {    text-decoration: none;    color: #9ab26b;}body, div, h1, h2, h3, h4, h5, h6, ul, li, img {    margin: 0;    padding: 0;}ul {    list-style: none;}img {    display: block;    border: none;}body {    background: url(http://images.cnblogs.com/cnblogs_com/trlanfeng/676883/o_o_bgbgbgbg.png) repeat-x scroll 0 0 #F0EEF5;    color: #7D8B8D;    font-family: "Microsoft Yahei", "Simsun", Arial;    font-size: 14px;    line-height: 25px;}#home {    margin: 0 auto;}#BlogMusicPayer, #flashContent, {    display: block;    left: 719px;    position: absolute;    top: 45px;}#user .user_info a:hover {    color: rgba(255, 255, 255, 1);}#mynav li:hover {    background-color: #99B16B;    color: #FFF;}#mynav li, #profile_block a, .catListTag ul li, .catListTag ul li:before, .catListPostCategory ul li a, .catListPostArchive ul li a, .recent_comment_title a, .catListView ul li a, .catListFeedback ul li a {    -webkit-transition: all 0.2s ease-in;    -o-transition: all 0.1s ease-out;    -ms-transition: all .1s ease-out;    transition: all 0.1s ease-out;}#mainContent {    background: none;    float: left;    overflow: visible;    text-overflow: ellipsis;    width: 890px;    word-break: break-all;}#mainContent .forFlow {    float: none;    width: 100%;}.day {    background: #FFF;    padding: 20px;    border: 1px solid #dedede;    margin-bottom: -1px;}.day:hover {    border: 1px solid #169fe6;    position: relative;    z-index: 10;}.day:hover .postSeparator {    border-top: 1px dashed #169fe6;}.dayTitle {    color: #fff;    background-color: #45bcf9;    padding: 3px 6px;    font-size: 12px;    display: block;    float: left;    margin-right: 10px;    z-index: 10px;}.dayTitle:hover {    background-color: #FF5E52;}.dayTitle a {    color: #FFF}.day .postTitle2 {    color: #555;}.day .postTitle {    font-size: 21px;    line-height: 1.5em;    float: left;    clear: right;}.day .postTitle a.desc_img_wrap:before, .entrylistPosttitle a.desc_img_wrap:before {    position: absolute;    top: 0;    left: 0;    z-index: 2;    visibility: hidden;    width: 100%;    height: 100%;    background: #16a085;    content: '';    opacity: 0;    -ms-filter: "alpha(opacity=0)";    filter: alpha(opacity=0);    -webkit-transition: all .3s;    -moz-transition: all .3s;    -ms-transition: all .3s;    transition: all .3s;}.day .postTitle a.desc_img_wrap:after, .entrylistPosttitle a.desc_img_wrap:after {    position: absolute;    top: 50%;    left: 0;    z-index: 3;    visibility: hidden;    margin-top: -.5em;    width: 100%;    color: #fff;    content: '+';    text-align: center;    font-size: 120px;    font-family: arial;    line-height: 1;    opacity: 0;    -ms-filter: "alpha(opacity=0)";    filter: alpha(opacity=0);    -webkit-transition: all .3s;    -moz-transition: all .3s;    -ms-transition: all .3s;    transition: all .3s;}.day .postTitle a.desc_img_wrap:hover:before, .entrylistPosttitle a.desc_img_wrap:hover:before {    opacity: 0.80;    -ms-filter: "alpha(opacity=80)";    filter: alpha(opacity=80);    visibility: visible;}.day .postTitle a.desc_img_wrap:hover:after, .entrylistPosttitle a.desc_img_wrap:hover:after {    opacity: 1;    -ms-filter: "alpha(opacity=100)";    filter: alpha(opacity=100);    visibility: visible;}.day .postTitle a.desc_img_wrap:hover .desc_img, .entrylistPosttitle a.desc_img_wrap:hover .desc_img {    transform: scale(1.1);}.postCon {    padding: 15px 0;    clear: both;}.postDesc {    clear: both;    color: #bcbcbc;    float: none;    text-align: left;    line-height: 200%;    font-size: 12px;}.postDesc a {    color: #999;    float: right;}#topics {    background: #FFF;    overflow: hidden;    padding: 20px;    border: 1px solid #dedede;}#topics .postTitle {    font-size: 28px;    font-weight: 400;    margin-bottom: 20px;    height: 35px;    line-height: 35px;    color: #333;}#topics .postTitle a {    color: #333;}#topics .postBody blockquote {    border: none;    border-left: 5px solid #ddd;    margin: 0;    padding-left: 10px;}#topics .postBody blockquote p {    margin: 0;    padding: 0;    color: #777;}.postTitle a:link, {    color: #7e8c8d;}.postTitle a:hover {    color: #0e90d2;    text-decoration: none;}#cnblogs_post_body {    color: #333;}#cnblogs_post_body h2 {    margin: 20px 0;}#cnblogs_post_body p a:hover, #cnblogs_post_body ol li a:hover, #cnblogs_post_body ul li a:hover {    border-bottom: 1px dotted #9ab26b;}#cnblogs_post_body ol, #cnblogs_post_body ul {    margin: 0 0 1em;    margin-left: 40px;    padding: 0}#EntryTag {    font-size: 14px;    color: #7e8c8d;    font-weight: bold;}#EntryTag a {    text-decoration: none;    color: #9fa4a4;    font-weight: normal;    margin-left: 10px;}#BlogPostCategory a {    margin-left: 10px;}#BlogPostCategory a:hover {    color: #FF5E52;    border-bottom: 1px dotted #FF5E52;}#post_next_prev {    line-height: 200%;    margin: 10px 0;    font-size: 14px;}#post_next_prev a {    color: #333;}#post_next_prev a:hover {    border-bottom: 1px dotted #FF5E52;    color: #FF5E52;}#topics .postDesc {    font-size: 14px;    color: #777;    line-height: 200%;    margin: 10px 0;}#topics .postDesc a:hover {    color: #9ab26b;}#mystart ul li a.a, #mystart ul li a.b {    float: left;    margin-right: 12px;    text-decoration: none;}#myinfo a:hover {    border-bottom: 1px dotted #9ab26b;}.feedbackManage {    line-height: 26px;    float: right;}.comment_actions a:hover {    color: #9ab26b;}.login_tips a:hover {    color: #FFF;}.login_tips_login {    background: #9ab26b;}.login_tips_regist {    background: #49c8f5;}.login_tips_home {    background: #2B6695;}.entrylistItem {    margin-bottom: 20px;    min-height: 20px;    position: relative;    background: #FFF;    position: relative;    z-index: 2;}.entrylistPosttitle a.desc_img_wrap {    margin: 0;    margin-bottom: 10px;    display: block;    position: relative;    height: 320px;}.entrylistPosttitle a:hover {    color: #99B16B;    text-decoration: none;}.c_b_p_desc {    font-size: 14px;    color: #999;    line-height: 200%;}a.c_b_p_desc_readmore {    color: #9ab26b;}.entrylistItemPostDesc a:hover {    color: #9ab26b;}#sideBar {    width: 290px;    margin-left: 20px;    float: left;    -o-text-overflow: ellipsis;    text-overflow: ellipsis;    overflow: visible;    word-break: break-all;}#sideBarMain {}.newsItem .catListTitle {    display: none;}#blog-news {    overflow: visible;}#blog-news .share {    width: 290px;    height: 118px;    background: #FFF;}#blog-news .share li:hover {    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);}#profile_block {    background: #FFF;    padding: 20px;    color: #7e8c8d;    font-size: 13px;    line-height: 1.8;    margin-top: 0 !important;    border: 1px solid #dedede;}#profile_block:hover {    border: 1px solid #FF5E52;}#profile_block a {    color: #9fa4a4;    text-decoration: none;    font-size: 13px;}#profile_block a:hover {    color: #99B16B;    border-bottom: 1px dotted #99B16B;}#blog-news .social .social_weibo, #blog-news .social .social_github, #blog-news .social .social_envelope {    background: #D04341;    font-size: 30px;    text-align: center;    color: #FFF;    overflow: hidden;    width: 63px;    height: 58px;    display: block;    line-height: 58px;}#blog-news .social .social_weibo {    text-shadow: rgb(177, 57, 55) 1px 1px, rgb(177, 57, 55) 2px 2px, rgb(177, 57, 55) 3px 3px, rgb(177, 57, 55) 4px 4px, rgb(177, 57, 55) 5px 5px, rgb(177, 57, 55) 6px 6px, rgb(177, 57, 55) 7px 7px, rgb(177, 57, 55) 8px 8px, rgb(177, 57, 55) 9px 9px, rgb(177, 57, 55) 10px 10px, rgb(177, 57, 55) 11px 11px, rgb(177, 57, 55) 12px 12px, rgb(177, 57, 55) 13px 13px, rgb(177, 57, 55) 14px 14px, rgb(177, 57, 55) 15px 15px, rgb(177, 57, 55) 16px 16px, rgb(177, 57, 55) 17px 17px, rgb(177, 57, 55) 18px 18px, rgb(177, 57, 55) 19px 19px, rgb(177, 57, 55) 20px 20px, rgb(177, 57, 55) 21px 21px, rgb(180, 58, 56) 22px 22px, rgb(183, 59, 57) 23px 23px, rgb(187, 60, 58) 24px 24px, rgb(190, 61, 59) 25px 25px, rgb(194, 62, 60) 26px 26px, rgb(197, 63, 61) 27px 27px, rgb(201, 64, 62) 28px 28px, rgb(204, 65, 63) 29px 29px, rgb(208, 67, 65) 30px 30px;}#blog-news .social .social_github {    background: #34C8F4;    text-shadow: rgb(47, 180, 220) 1px 1px, rgb(47, 180, 220) 2px 2px, rgb(47, 180, 220) 3px 3px, rgb(47, 180, 220) 4px 4px, rgb(47, 180, 220) 5px 5px, rgb(47, 180, 220) 6px 6px, rgb(47, 180, 220) 7px 7px, rgb(47, 180, 220) 8px 8px, rgb(47, 180, 220) 9px 9px, rgb(47, 180, 220) 10px 10px, rgb(47, 180, 220) 11px 11px, rgb(47, 180, 220) 12px 12px, rgb(47, 180, 220) 13px 13px, rgb(47, 180, 220) 14px 14px, rgb(47, 180, 220) 15px 15px, rgb(47, 180, 220) 16px 16px, rgb(47, 180, 220) 17px 17px, rgb(47, 180, 220) 18px 18px, rgb(47, 180, 220) 19px 19px, rgb(47, 180, 220) 20px 20px, rgb(47, 180, 220) 21px 21px, rgb(47, 182, 222) 22px 22px, rgb(48, 184, 225) 23px 23px, rgb(48, 186, 228) 24px 24px, rgb(49, 188, 230) 25px 25px, rgb(49, 191, 233) 26px 26px, rgb(50, 193, 236) 27px 27px, rgb(50, 195, 238) 28px 28px, rgb(51, 197, 241) 29px 29px, rgb(52, 200, 244) 30px 30px;}#blog-news .social .social_envelope {    background: #F8BC2E;    text-shadow: rgb(211, 160, 39) 1px 1px, rgb(211, 160, 39) 2px 2px, rgb(211, 160, 39) 3px 3px, rgb(211, 160, 39) 4px 4px, rgb(211, 160, 39) 5px 5px, rgb(211, 160, 39) 6px 6px, rgb(211, 160, 39) 7px 7px, rgb(211, 160, 39) 8px 8px, rgb(211, 160, 39) 9px 9px, rgb(211, 160, 39) 10px 10px, rgb(211, 160, 39) 11px 11px, rgb(211, 160, 39) 12px 12px, rgb(211, 160, 39) 13px 13px, rgb(211, 160, 39) 14px 14px, rgb(211, 160, 39) 15px 15px, rgb(211, 160, 39) 16px 16px, rgb(211, 160, 39) 17px 17px, rgb(211, 160, 39) 18px 18px, rgb(211, 160, 39) 19px 19px, rgb(211, 160, 39) 20px 20px, rgb(211, 160, 39) 21px 21px, rgb(215, 163, 39) 22px 22px, rgb(219, 166, 40) 23px 23px, rgb(223, 169, 41) 24px 24px, rgb(227, 172, 42) 25px 25px, rgb(231, 175, 42) 26px 26px, rgb(235, 178, 43) 27px 27px, rgb(239, 181, 44) 28px 28px, rgb(243, 184, 45) 29px 29px, rgb(248, 188, 46) 30px 30px;}#blog-news .social .social_weibo:hover, #blog-news .social .social_github:hover, #blog-news .social .social_envelope:hover {    text-shadow: none;}#leftcontentcontainer {    margin-top: 20px;}.myad {    padding: 20px;    background: #FFF;    margin-top: 20px;}.mySearch {    background: #FFF;}.catListTitle {    font-size: 18px;    padding: 10px 20px;    background-color: #169FE6;    color: white;    font-weight: normal;    border: 1px solid #169FE6;}#widget_my_zzk {    padding: 15px 0 0 15px;    border-left: 1px solid #dedede;    border-right: 1px solid #dedede;    margin: 0 !important;}#widget_my_google {    padding: 10px 0 15px 15px;    border: 1px solid #dedede;    border-top: none;    margin: 0 !important;}.input_my_zzk {    width: 160px;    height: 35px;    border: 1px solid #DDDDDD;    outline: none;    line-height: 35px;    font-size: 13px;    padding: 0 12px;}input.btn_my_zzk {    font-size: 14px;    height: 37px;    width: 70px;    background: #FF5E52;    text-align: center;    line-height: 37px;    border: none;    color: #FFF;    font-family: "Microsoft Yahei", "Simsun", Arial;}input.btn_my_zzk:hover {    cursor: pointer;    cursor: hand;}.catListTag {    background: #FFF;    margin-top: 20px;}.catListTag ul {    padding: 10px 0 10px 10px;    height: 230px;    clear: both;    border: 1px solid #dedede;    border-top: none;}.catListTag ul li {    width: 119px;    float: left;    line-height: 30px;    background: #F6F6F6;    font-size: 14px;    color: #FFF;    margin: 0 10px 10px 0;    padding-left: 10px;    color: #aaa;}.catListTag ul li:hover {    background: #FF5E52;    cursor: pointer;    color: white;}.catListTag ul li:hover a {    color: white;}.catListTag ul li a:hover {    text-decoration: none;    color: white;}.catListPostCategory {    background: #FFF;    margin-top: 20px;}.catListPostCategory ul {    border: 1px solid #dedede;    border-top: none;}.catListPostCategory ul li {    line-height: 44px;    border-bottom: 1px solid #E9E9E9;    padding-left: 25px;    font-size: 15px;    color: #777;}.catListPostCategory ul li a, .catListPostArchive ul li a, .catListArticleCategory ul li a, .recent_comment_title a, .catListView ul li a, .catListFeedback ul li a {    color: #777;    text-decoration: none;}.catListPostCategory ul li a:hover, .catListPostArchive ul li a:hover, .catListArticleCategory ul li a:hover, .recent_comment_title a:hover, .catListView ul li a:hover, .catListFeedback ul li a:hover {    color: #FF5E52;    border-bottom: 1px dotted #FF5E52;}.catListPostArchive {    background: #FFF;    margin-top: 20px;}.catListPostArchive ul {    border: 1px solid #dedede;    border-top: none;}.catListPostArchive ul li {    line-height: 44px;    border-bottom: 1px solid #E9E9E9;    padding-left: 25px;    font-size: 15px;    color: #7e8c8d;}.catListArticleCategory {    width: 290px;    padding-top: 20px;    background: #FFF;    margin-top: 20px;}.catListImageCategory {    width: 290px;    padding-top: 20px;    background: #FFF;    margin-top: 20px;}.catListComment {    background: #FFF;    margin-top: 20px;}#RecentCommentsBlock {    padding: 10px;    border: 1px solid #dedede;    border-top: none;}.recent_comment_title {    font-size: 15px;    color: #7e8c8d;}.recent_comment_body, .recent_comment_author {    border-bottom: 1px solid #E9E9E9;    color: #9fa4a4;    font-size: 13px;}.recent_comment_body {    border-bottom: none;}.catListView {    background: #FFF;    margin-top: 20px;}#TopViewPostsBlock {    padding: 10px;    border: 1px solid #dedede;    border-top: none;}.catListView ul li {    border-bottom: 1px solid #E9E9E9;    padding: 0 0 8px 0;    margin-bottom: 5px;}.catListFeedback {    background: #FFF;    margin-top: 20px;}#TopFeedbackPostsBlock {    padding: 10px;    border: 1px solid #dedede;    border-top: none;}.catListFeedback ul li {    border-bottom: 1px solid #E9E9E9;    padding: 8px 0;}.catListLink {    display: none;}.clearFix:after {    clear: both;    display: block;    height: 0;    line-height: 0;    content: "";    visibility: hidden;}#myding {    background: #99B16B;    display: none;}#myadd:hover {    opacity: 1;}#goto-top:hover {    background: url(http://images.cnblogs.com/cnblogs_com/Li-Cheng/554829/o_goto-top.png) no-repeat 0 -36px;}/*评论*/#blog-comments-placeholder {    padding: 20px;    border: 1px solid #dedede;    padding-top: 0;    margin-top: 20px;    background: white;}.feedbackItem {    margin-top: 10px;}.feedbackCon {    border: 1px dashed #dedede;    padding: 10px;    margin: 10px 0;}#comment_nav {    margin: 10px 0;}#comment_nav a:hover {    color: #9ab26b;}#comment_form_container {    border: 1px solid #dedede;    padding: 20px;    background-color: white;}#site_nav_under {    border: 1px solid #dedede;    padding: 20px;    background-color: white;}#ad_under_post_holder {    width: 300px;    float: left;}#under_post_news {    width: 528px;    height: 160px;    float: left;    margin-left: 20px;    margin-top: 10px;    border: 1px solid #dedede;    padding: 10px 20px;    background-color: white;}#google_ad_c2 {    float: left;    width: 570px;    margin-left: 20px;    clear: right;}#under_post_kb {    clear: left;    margin-top: 10px;    border: 1px solid #dedede;    padding: 10px 20px;    background-color: white;}

 

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn