收到反馈说CodingLife主题某些地方显示有问题,于是进行了更新,并且已提交。官方那边正在进行测试,我自己这边测完应该是没问题的,但不知道官方啥时候会进行更新,所以把CSS代码贴出来,有需要的可以加到“页面定制CSS代码”中,底层皮肤推荐选择Custom,因为是基于Custom定制的。
* { 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; text-shadow: 1px 1px 1px #666; } #navList a:link, { color: #fff; text-shadow: 1px 1px 1px #000; } #navList a:hover { text-decoration: none; background-color: white; text-shadow: none; 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; } #nav_next_page { line-height: 40px; } #nav_next_page a { background-color: #169fe6; height: 40px; line-height: 40px; color: #fff; display: inline-block; padding: 0 15px; text-decoration: none; } #nav_next_page a:hover { background-color: #008AD1; } #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 { text-align: right; margin-top: 10px; margin-right: 0 !important; font-size: 16px; } .topicListFooter .pager { margin: 20px 0; height: 40px; line-height: 40px; font-size: 16px; color: #333; } .topicListFooter .pager a { margin: 0 10px; padding: 0 15px; height: 40px; line-height: 40px; display: inline-block; color: white; background-color: #169FE6; text-shadow: 1px 1px 1px #666; border: none !important; } .topicListFooter .pager a:hover, .topicListFooter .pager span { text-decoration: none; background-color: #008AD1; } .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; } .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: #169fe6; text-decoration: none; } .c_b_p_desc { font-size: 14px; color: #999; line-height: 200%; } a.c_b_p_desc_readmore { color: #169fe6; } .entrylistItemPostDesc a:hover { color: #169fe6; } #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,.catListEssay { 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 a { display: block; float: left; min-width: 90px; 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; } #TopViewPostsBlock { padding: 10px; border: 1px solid #dedede; border-top: none; } .catListView,.catListEssay { background: #FFF; margin-top: 20px; } .catListView ul li,.catListEssay 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: 0 0 8px 0; margin: 0 0 5px 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; } .entrylist h1 { height: 50px; line-height: 50px; margin-bottom: 10px; } .entrylistItem { background: #FFF; padding: 20px; border: 1px solid #dedede; margin-bottom: -1px; } .entrylistItem:hover { border: 1px solid #169fe6; position: relative; z-index: 10; } .entrylist .postSeparator { display: none; } .entrylistItemTitle { color: #555; } .entrylistPosttitle { font-size: 21px; line-height: 1.5em; float: left; clear: right; } .entrylistPostSummary { padding: 15px 0; clear: both; } .entrylistItemPostDesc { clear: both; color: #bcbcbc; float: none; text-align: left; line-height: 200%; font-size: 12px; } .entrylistItemPostDesc a { color: #999; float: right; } #myposts h3 { height: 50px; line-height: 50px; margin-bottom: 10px; font-size: 28px !important; } #myposts .PostList { background: #FFF; padding: 20px; border: 1px solid #dedede; margin: 0 0 -1px 0 !important; } #myposts .PostList:hover { border: 1px solid #169fe6; position: relative; z-index: 10; } #myposts .PostList a { display: block; font-size: 16px; color: #333; } #myposts .PostList a:hover { color: #FF5E52; } #TopDiggPostsBlock { padding: 10px; } .catListImageCategory { padding-top: 0 !important; } .catListEssay ul { padding: 10px; border: 1px solid #dedede; border-top: none; color: #777; } .catListEssay ul li a:link { color: #777 !important; } .catListEssay ul li a:visited { color: #777 !important; } .catListImageCategory ul { border: 1px solid #dedede; border-top: none; } .catListImageCategory ul li { line-height: 44px; border-bottom: 1px solid #E9E9E9; padding-left: 25px; font-size: 15px; color: #7e8c8d; } .catListImageCategory ul li a { color: #777; } .catListImageCategory ul li a:hover { color: #FF5E52; border-bottom: 1px dotted #FF5E52; text-decoration: none; } .catListBlogRank { margin-top: 20px; } .catListBlogRank ul { padding: 10px; border: 1px solid #dedede; border-top: none; color: #777; background-color: white; } #blogCalendar { margin-top: 20px; border: 1px solid #DEDEDE; padding: 5px; background-color: white; } #blogCalendar tr { height: 30px; line-height: 30px; } .CalTitle { background-color: #169FE6; color: white; font-weight: normal; } .CalTitle a { color: white; padding: 0 10px; } .CalTodayDay { background-color: #169FE6; color: white; } .CalOtherMonthDay { background-color: #f3f3f3; }
时间: 2024-10-29 19:06:52