关于博客园主题
借鉴了两个前端巨巨的主题样式
http://www.cnblogs.com/moondark/p/3607825.html
和
http://www.cnblogs.com/maybreath/p/5253824.html
css代码分别为:
Hexo经典主题Light
@font-face { font-family: 'FontAwesome'; font-style: normal; font-weight: normal; src: url("http://blog.zhaishidan.cn/css/font/fontawesome-webfont.eot?#iefix") format('embedded-opentype'), url("http://blog.zhaishidan.cn/css/font/fontawesome-webfont.woff") format('woff'), url("http://blog.zhaishidan.cn/css/font/fontawesome-webfont.ttf") format('truetype'), url("http://blog.zhaishidan.cn/css/font/fontawesome-webfont.svg#FontAwesomeRegular") format('svg'); } * { margin: 0; padding: 0; } body { background: #eee; background-image: url("http://images.cnblogs.com/cnblogs_com/moondark/420237/o_banner.jpg") color: #444; font-family: "Lucida Grande", "Lucida Sans Unicode", Helvetica, Arial, Verdana, sans-serif; font-size: 14px; text-shadow: 0 0 1px transparent; } @media screen and (max-width: 1260px) { body { margin: 0 30px; } } @media screen and (max-width: 600px) { body { font-size: 13px; } } h1, h2, h3, h4, h5, h6 { font-family: "Lucida Grande", "Lucida Sans Unicode", Helvetica, Arial, Verdana, sans-serif; } h1 { font-size: 1.8em; } h2 { font-size: 1.5em; } h3 { font-size: 1.3em; } a { text-decoration: none; color: #258fb8; } a:hover { text-decoration: underline; } #tbCommentBody { width: 100%; } #blogTitle { float: left; } .alignright { float: right; } .clearfix { zoom: 1; } .clearfix:before, .clearfix:after { content: ""; display: table; } .clearfix:after { clear: both; } #header, #main, #footer { width: 1200px; margin: 0 auto; } @media screen and (max-width: 1260px) { #main { width: 100%; } } #mainContent { width: 900px; float: left; } @media screen and (max-width: 1260px) { #main-col { width: 100%; margin-right: -300px; } } @media screen and (max-width: 900px) { #main-col { margin-right: 0; float: none; } } @media screen and (max-width: 1260px) { #wrapper { margin-right: 300px; } } @media screen and (max-width: 900px) { #wrapper { margin-right: 0; } } #header { text-shadow: 0 0 1px #fff; margin: 50px auto; position: relative; height: 60px; color: #999; } #header a { color: #999; } #header a:hover { color: #258fb8; text-decoration: none; } #header h1 { font-weight: normal; font-size: 30px; line-height: 1; } #header h2 { font-weight: normal; font-size: 0.9em; line-height: 1; margin-top: 10px; margin-left: 30px; } #header #navigator { font-family: "Lato", Helvetica Neue, Helvetica, Arial, sans-serif; line-height: 2.5em; float: right; position:relative; } #header #navigator ul { list-style: none; } #header #navigator ul li { float: left; margin-left: 30px; } #header .blogStats { position: absolute; top:35px; right: 0; float: right; } .topicListFooter { margin-bottom: 30px; margin-right: 0 !important; } .topicListFooter a { display: inline !important; padding: 5px 10px; background: #ddd; color: #999; font-family: "Lato", Helvetica Neue, Helvetica, Arial, sans-serif; text-shadow: 0 0 1px #fff; } .topicListFooter a:hover { background: #258fb8; color: #fff; text-decoration: none; text-shadow: none; } .topicListFooter .prev:before { content: '\f053'; padding-right: 10px; font-family: FontAwesome; } .topicListFooter .next:after { content: '\f054'; padding-left: 10px; font-family: FontAwesome; } article { -webkit-box-shadow: 1px 2px 3px #ddd; box-shadow: 1px 2px 3px #ddd; background: #fff; } article.page { padding-left: 20px; } article.page .icon { display: none; } .postIcon:before { content: '\f016'; } article.photo .icon:before { content: '\f030'; } article.link .icon:before { content: '\f0c1'; } article.link .title a:after { content: '\f08e'; color: #999; font: 12px FontAwesome; padding-left: 10px; vertical-align: super; } .dayTitle { display: none; } .postTitle, .entrylistPosttitle { font-family: "Lato", Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 1.8em; padding: 20px 20px 15px 77px; box-shadow: 1px 2px 0 #ddd; background: #fff; } .entrylistPostSummary, .postCon, .postBody { padding: 0 20px 15px 77px; -webkit-box-shadow: 1px 2px 3px #ddd; box-shadow: 0 2px 0 #ddd; background: #fff; position: relative; } .postDesc, .entrylistItemPostDesc { margin-bottom: 50px; padding: 10px 20px 15px 77px; color: #999; font-size: 0.9em; line-height: 16px; position: relative; min-height: 16px; box-shadow: 1px 0 0 #ddd; box-shadow: 0 2px 3px #ddd; background: #fff; } #blog-calendar { display: none; } @media screen and (max-width: 600px) { .postCon { padding-left: 20px; } } .postIcon { height: 0px; margin-right: 25px; position: relative; top: 25px; left: 25px; color: #258fb8; } @media screen and (max-width: 600px) { article header .icon { display: none; } } .postIcon:before { position: absolute; font: 32px FontAwesome; top: 0; left: 0; width: 32px; text-align: center; } article header time { color: #999; font: 0.9em "Lato", Helvetica Neue, Helvetica, Arial, sans-serif; margin-bottom: 5px; display: block; line-height: 1; } article header .title { font-weight: normal; } article header .title a { color: #444; } article header .title a:hover { color: #258fb8; text-decoration: none; } #cnblogs_post_body { text-align: justify; line-height: 1.6; } #cnblogs_post_body p, #cnblogs_post_body blockquote, #cnblogs_post_body ul, #cnblogs_post_body ol, #cnblogs_post_body dl, #cnblogs_post_body table, #cnblogs_post_body iframe, #cnblogs_post_body h3, #cnblogs_post_body h4, #cnblogs_post_body h5, #cnblogs_post_body h6, #cnblogs_post_body .video-container { margin-top: 15px; } #cnblogs_post_body blockquote { border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; font-style: italic; font-family: "Georgia", serif; font-size: 1.2em; padding: 0 30px 15px; } #cnblogs_post_body blockquote footer { border-top: none; font-size: 0.8em; line-height: 1; margin: 20px 0 0; padding-top: 0; } #cnblogs_post_body blockquote footer cite:before { content: '—'; color: #ccc; padding: 0 0.5em; } #cnblogs_post_body code, #cnblogs_post_body pre { font-family: Monaco, Menlo, Consolas, Courier New, monospace; } #cnblogs_post_body code { background: #eee; color: #666; padding: 0 5px; margin: 0 2px; font-size: 0.9em; border: 1px solid #ddd; -webkit-border-radius: 3px; border-radius: 3px; } #cnblogs_post_body pre { background: #eee; overflow: auto; padding: 7px 15px; -webkit-border-radius: 2px; border-radius: 2px; } #cnblogs_post_body pre code { background: none; padding: 0; margin: 0; border: none; -webkit-border-radius: 0; border-radius: 0; } #cnblogs_post_body ul ul, #cnblogs_post_body ol ul, #cnblogs_post_body dl ul, #cnblogs_post_body ul ol, #cnblogs_post_body ol ol, #cnblogs_post_body dl ol, #cnblogs_post_body ul dl, #cnblogs_post_body ol dl, #cnblogs_post_body dl dl { margin-top: 0; } #cnblogs_post_body h1, #cnblogs_post_body h2 { font-weight: bold; border-bottom: 1px solid #ddd; padding-bottom: 10px; margin-top: 20px; } #cnblogs_post_body h3, #cnblogs_post_body h4, #cnblogs_post_body h5, #cnblogs_post_body h6 { font-weight: normal; } .postBody img, .entrylistPostSummary img, .postCon img, .postBody video { max-width: 100%; height: auto; border: none; } #cnblogs_post_body iframe { border: none; } #cnblogs_post_body .caption { display: block; margin-top: 5px; color: #999; position: relative; font-size: 0.9em; padding-left: 25px; } #cnblogs_post_body .caption:before { content: '\f040'; position: absolute; font: 1.3em FontAwesome; position: absolute; left: 0; top: 3px; } #cnblogs_post_body .video-container { position: relative; padding-bottom: 56.25%; padding-top: 30px; height: 0; overflow: hidden; } #cnblogs_post_body .video-container iframe, #cnblogs_post_body .video-container object, #cnblogs_post_body .video-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; margin-top: 0; } #cnblogs_post_body .pullquote { float: right; border: none; padding: 0; margin: 1em 0 0.5em 1.5em; text-align: left; width: 45%; font-size: 1.5em; } #blog-comments-placeholder, #comment_form { padding: 20px; background: #fff; -webkit-box-shadow: 1px 2px 3px #ddd; box-shadow: 1px 2px 3px #ddd; margin-bottom: 50px; } .feedback_area_title { margin-bottom: 15px; font-size: 1.8em; } .feedbackItem { border-bottom: 1px solid #CCC; margin-bottom: 10px; padding: 5px; background: rgb(248, 248, 248); } .color_shine {background: rgb(226, 242, 255);} .feedbackItem:hover {-webkit-animation-name: color_shine;-webkit-animation-duration: 2s;-webkit-animation-iteration-count: infinite;} #comment_form .title { font-weight: normal; margin-bottom: 15px; } #ad_under_post_holder { display: none; } .entrylistTitle { color: #999; font-weight: normal; margin-bottom: 30px; text-shadow: 0 0 1px #fff; } .entrylistTitle:before { font-family: FontAwesome; content: '\f07b'; padding-right: 15px; } .archive { -webkit-box-shadow: 1px 2px 3px #ddd; box-shadow: 1px 2px 3px #ddd; border-bottom: 1px solid #ddd; margin-bottom: 50px; } .archive article { -webkit-box-shadow: none; box-shadow: none; } .archive article .post-content { margin-bottom: 0; } #sideBar{ width: 270px; line-height: 1.8em; float: right; } @media screen and (max-width: 900px) { #sideBar { float: none; width: 100%; } } .catListLink, .catListMyTeams, .catListComment, .catListFeedback { display: none; } .search, .newsItem, .catListPostCategory, .catListPostArchive, .catListTag, .catListView, .catListBlogRank { background: #fff; -webkit-box-shadow: 1px 2px 3px #ddd; box-shadow: 1px 2px 3px #ddd; margin-bottom: 30px; word-wrap: break-word; } #blog-sidecolumn h3, .newsItem h3 { padding: 15px 20px; font-size: 1em; border-bottom: 1px solid #ddd; font-weight: normal; } #blog-sidecolumn ul, .newsItem #blog-news { font-size: 0.9em; padding: 15px 20px; } #blog-sidecolumn ul, #blog-sidecolumn ol, #blog-sidecolumn dl { list-style: none; } #blog-sidecolumn ul ul, #blog-sidecolumn ol ul, #blog-sidecolumn dl ul, #blog-sidecolumn ul ol, #blog-sidecolumn ol ol, #blog-sidecolumn dl ol, #blog-sidecolumn ul dl, #blog-sidecolumn ol dl, #blog-sidecolumn dl dl { list-style: disc; margin-left: 20px; } #q { background: #fff; font-family: "Lato", Helvetica Neue, Helvetica, Arial, sans-serif; font-style: italic; font-size: 1em; padding: 10px 15px; border: 1px solid #ddd; width: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; color: #999; height: 100%; } #q:focus { color: #444; } /*隐藏搜索框中的无用组件*/ .mySearch { display: none; } #sideBar .tag small { margin-left: 15px; color: #999; } #sideBar .tag small:before { content: '('; } #sideBar .tag small:after { content: ')'; } #sideBar .twitter li { border-bottom: 1px solid #ddd; padding: 15px 20px; font-size: 0.9em; } #sideBar .twitter li:last-of-type { border-bottom: none; } #sideBar .twitter small { display: block; margin-top: 10px; color: #999; line-height: 1; } #sideBar .tagcloud .entry { padding-right: 5px; } #sideBar .tagcloud a { margin-right: 10px; display: inline-block; } #footer { color: #999; margin-bottom: 50px; font: 0.9em/1.6 "Lato", Helvetica Neue, Helvetica, Arial, sans-serif; text-shadow: 0 0 1px #fff; } .entry .gist { background: #eee; border: 1px solid #ddd; margin-top: 15px; padding: 7px 15px; -webkit-border-radius: 2px; border-radius: 2px; text-shadow: 0 0 1px #fff; line-height: 1.6; overflow: auto; color: #666; } .entry .gist .gist-file { border: none; font-family: inherit; margin: 0; font-size: 0.9em; } .entry .gist .gist-file .gist-data { background: none; border-bottom: none; } .entry .gist .gist-file .gist-data pre { padding: 0 !important; font-family: Monaco, Menlo, Consolas, Courier New, monospace; } .entry .gist .gist-file .gist-meta { background: none; color: #999; margin-top: 5px; padding: 0; text-shadow: 0 0 1px #fff; font-size: 100%; } .entry .gist .gist-file .gist-meta a { color: #258fb8; } .entry .gist .gist-file .gist-meta a:visited { color: #258fb8; } figure.highlight { background: #eee; border: 1px solid #ddd; margin-top: 15px; padding: 7px 15px; -webkit-border-radius: 2px; border-radius: 2px; text-shadow: 0 0 1px #fff; line-height: 1.6; overflow: auto; position: relative; font-size: 0.9em; } figure.highlight figcaption { color: #999; margin-bottom: 5px; text-shadow: 0 0 1px #fff; } figure.highlight figcaption a { position: absolute; right: 15px; } figure.highlight pre { border: none; padding: 0; margin: 0; } figure.highlight table { margin-top: 0; border-spacing: 0; } figure.highlight .gutter { color: #999; padding: 7px 10px 7px 5px !important; border-right: 1px solid #ddd; text-align: right; } figure.highlight .code { padding: 7px 7px 7px 10px !important; border-left: 1px solid #fff; color: #666; } pre .comment, pre .template_comment, pre .diff .header, pre .doctype, pre .pi, pre .lisp .string, pre .javadoc { color: #93a1a1; font-style: italic; } pre .keyword, pre .winutils, pre .method, pre .addition, pre .css .tag, pre .request, pre .status, pre .nginx .title { color: #859900; } pre .number, pre .command, pre .string, pre .tag .value, pre .phpdoc, pre .tex .formula, pre .regexp, pre .hexcolor { color: #2aa198; } pre .title, pre .localvars, pre .chunk, pre .decorator, pre .built_in, pre .identifier, pre .vhdl, pre .literal, pre .id { color: #268bd2; } pre .attribute, pre .variable, pre .lisp .body, pre .smalltalk .number, pre .constant, pre .class .title, pre .parent, pre .haskell .type { color: #b58900; } pre .preprocessor, pre .preprocessor .keyword, pre .shebang, pre .symbol, pre .symbol .string, pre .diff .change, pre .special, pre .attr_selector, pre .important, pre .subst, pre .cdata, pre .clojure .title { color: #cb4b16; } pre .deletion { color: #dc322f; } .feedbackListSubtitle { position: relative;} .feedbackManage {width: 160px;position: absolute;right: 0;text-align: right;} .cnblogs_code_toolbar {display: none;} #cnblogs_post_body {overflow: hidden;} #cnblogs_post_body ol { padding-left: 40px;} #cnblogs_post_body ul { margin-left: 35px;} .fixedReadRank { position: fixed; top: 20px; width: 270px; } .fixedRecRank { position: fixed; top: 360px; width: 270px; } figure.highlight { margin-top: 0; padding: 0;} figure table {width: 100%; margin: 0 !important;} #cnblogs_post_body pre { padding: 0; } #cnblogs_post_body th, #cnblogs_post_body td { padding: 0; } .cnblogs_code pre { padding: 7px 15px !important; background: #f5f5f5;border: 0;margin-top: 0;} .cnblogs_code th {border: 1px solid silver; padding: 3px;} .cnblogs_code { padding: 0;} /*评论标题*/ .feedback_area_title { padding:10px; font-size:24px; font-weight:bold; color:#55895B; border-bottom:solid 6px #55895B; } .feedbackListSubtitle { font-size:12px; color:#888; } .feedbackListSubtitle a { color:#888; } .comment_quote { background:#FCFAAC; padding:15px; border:1px solid #CCC; } #commentform_title { color:#55895B; 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 #55895B; } /*评论框*/ #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:850px; max-width:850px; min-width:850px; 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; } /*green_channel*/ #green_channel { text:align:right; background:#6DA47D; padding-left:0px; font-weight:normal; font-size:15px; width:740px; border:none; color:#fff; padding:20px; border-radius:4px; }
星空背景(有问题,星空不显示)
#sideBar,#blog_post_info_block { display: none; } #under_post_news { display: none; } /*评论框大小*/ #tbCommentBody.comment_textarea{ width:890px; } /*尾部间距*/ #footer { text-align:center; border-top:2px solid green; margin-left:25px; margin-right:25px; padding-top:10px; padding-bottom:10px; } /*居中间距*/ #mainContent .forFlow { margin-left:20px; margin-right:20px; margin-top:10px; float: none; width: auto; } /*评论框边框*/ #comment_form_container,#blog-comments-placeholder { background-color:#f5f5f5; border-radius:6px 6px 6px 6px; padding:20px; } #comment_nav,#homepage1_HomePageDays_DaysList_ctl05_ImageLink { display: none; } .postBody { border-bottom: 2px solid green; } .day { padding-bottom: 5px; padding-left: 20px; padding-right: 20px; padding-top: 10px; margin-bottom:5px; } .postSeparator { display: none; } .postTitle { border-left: 3px solid #21759b; font-size: 110%px; } .postTitle a:link, .postTitle a:visited, .postTitle a:active { padding-left: 10px; } #cb_post_title_url.postTitle2 { font-size: 120%; } .dayTitle a:link { display:none; } #main { font-size:15px; font-family:微软雅黑; padding-left: 0px; padding-right: 0px; } #home { opacity: 0.95; width:970px; background-color:#f5f5f5; border-radius:6px 6px 6px 6px; box-shadow:0 0 20px black; }
还有github上的一个项目:
cnblogs-theme-msstyle
一个微软风格的博客园主题
注意 在第231行需要把url替换成你的博客园地址
https://github.com/ZeekoZhu/cnblogs-theme-msstyle
html, body, * { font-family: "Microsoft YaHei" !important; } /* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 License: none (public domain) */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; } /* HTML5 display-role reset for older browsers */ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; } body { line-height: 1; } ol, ul { list-style: none; } blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; } table { border-collapse: collapse; border-spacing: 0; } a:link, a:active, a:hover, a:visited { text-decoration: none; color: black; } /* framework start */ #home { display: -webkit-box!important; display: -ms-flexbox!important; display: flex!important; -ms-flex-flow: column nowrap; flex-flow: column nowrap; -webkit-box-pack: start; -ms-flex-pack: start; justify-content: flex-start; -webkit-box-align: center; -ms-flex-align: center; align-items: center; } #header { z-index: 9; width: 100%!important; position: fixed!important; left: 0; } #footer { background-color: #E6E7E8; color: #505050; height: 80px; font-size: 14px; text-align: center; width: 100%; display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-flow: column nowrap; flex-flow: column nowrap; -webkit-box-pack: end; -ms-flex-pack: end; justify-content: flex-end; padding-bottom: 20px; margin-top: 30px; } #homepage_top_pager { display: none; } #homepage1_HomePageDays_homepage_bottom_pager { padding-top: 20px; position: relative; float: right; margin: 0!important; } .topicListFooter { margin: 0!important; } #nav_next_page { margin-top: 30px; } #nav_next_page > a { font-size: 0.9em; color: #2B59A9; } .pager { font-size: 0.9em; display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-flow: row nowrap; flex-flow: row nowrap; -webkit-box-pack: end; -ms-flex-pack: end; justify-content: end; -webkit-box-align: center; -ms-flex-align: center; align-items: center; color: #505050; } .pager > a:first-child, .pager > a:last-child { display: none; } .pager > a { margin: 0 20px; background-color: white; border: none; color: #2B59A9; } .pager > a:nth-last-child(2) { margin-right: 0; padding-right: 0; } /* framework end */ /* blog title start */ .title { font-size: 1.5rem; display: -webkit-box!important; display: -ms-flexbox!important; display: flex!important; -ms-flex-flow: column nowrap; flex-flow: column nowrap; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; height: 100%!important; } #blogTitle { background-color: #231F20; padding: 0 !important; height: 40px!important; } #Header1_HeaderTitle { width: 190px!important; color: white; font-size: 0.7em!important; margin-left: calc(50% - 586px)!important; font-family: "Microsoft YaHei"; } /* search */ #widget_my_zzk { z-index: 10; position: fixed; top: 5px; margin: 0 !important; right: calc(50% - 594px)!important; ; } #widget_my_zzk:after { color: white; content: '\f002'; font-family: FontAwesome; font-size: 16px; top: 6px; position: absolute; left: 234px; } #btnZzk { opacity: 0; z-index: 10; position: absolute!important; left: 226px!important; padding: 0px!important; width: 30px; height: 30px; cursor: pointer; } #q { background-color: #4F4C4D!important; border: none; height: 20px!important; width: 230px!important; padding: 5px 13px !important; color: #cac9c9!important; } /* search end */ http://www.cnblogs.com/SSYYGAM/ /* Blog title end */ /* Navigator start */ #navigator { border: none!important; background: -webkit-linear-gradient(left, #1B204F, #2B326D, #3C437C, #474F87)!important; background: linear-gradient(to right, #1B204F, #2B326D, #3C437C, #474F87)!important; height: 30px; } #navList { width: 50%!important; margin-left: calc(50% - 590px)!important; display: -webkit-box!important; display: -ms-flexbox!important; display: flex!important; -ms-flex-flow: row nowrap; flex-flow: row nowrap; height: 100%!important; overflow: hidden; } #navList > li { display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-flow: row nowrap; flex-flow: row nowrap; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: stretch; -ms-flex-align: stretch; align-items: stretch; margin: 0; float: none!important; } #nav_sitehome ~ li > a { color: #BDC0D7; padding: 8px 13px; font-size: 14px!important; height: 30px!important; } #nav_sitehome ~ li > a:hover { background-color: #120E38!important; } #MyLinks1_HomeLink { padding: 4px 20px 0px 0px!important; font-size: 18px!important; padding-left: 0!important; color: white!important; } #MyLink1_HomeLink:hover { color: white!important; } @-moz-document url('http://www.cnblogs.com/JacZhu/') { #nav_myhome { background-color: #120E38!important; } } #blog_nav_sitehome { display: none; } /* Navigator end */ /* main content start */ .forFlow { margin: 0!important; } #main { font-size: 14px; padding-top: 100px; display: -webkit-box!important; display: -ms-flexbox!important; display: flex!important; -ms-flex-flow: row nowrap; flex-flow: row nowrap; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; width: 1180px!important; } #mainContent { margin: 0!important; width: 835px!important; float: none!important; } .day { position: relative; } .postDesc { font-size: 13px; color: gray; text-align: right; padding: 10px 0px; } .postDesc > a { font-size: 13px; color: gray; } .postSeparator { height: 1px; width: 100%; display: block; background-color: #D2D2D2; } .dayTitle { border-top: #D2D2D2 solid 1px; border-bottom: #D2D2D2 solid 1px; background-color: #EFEFEF !important; display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-flow: row nowrap; flex-flow: row nowrap; -webkit-box-pack: start; -ms-flex-pack: start; justify-content: flex-start; -webkit-box-align: center; -ms-flex-align: center; align-items: center; height: 40px !important; width: 100%!important; } .dayTitle > a { margin-left: 10px; } .postTitle { border: none !important; margin: 20px 0 5px 0 !important; line-height: normal; } .postTitle2 { font-weight: bold; color: #2B59A9 !important; padding-left: 10px; } .postCon { padding: 0 0 0 10px; color: #505050; } .c_b_p_desc_readmore { display: none; } /* main content end */ /* post detail start */ #post_detail div#topics div.post h1.postTitle { margin-top: 0!important; } #post_detail div#topics div.post h1.postTitle a { font-weight: 300; color: black!important; font-size: 2em; padding-left: 0; } #post_detail div#topics div.post h1.postTitle { margin-bottom: 70px!important; } div#post_detail div#topics div.post div.postDesc { position: absolute; top: 160px; right: calc(50% - 290px + 44px); } .cnblogs-markdown { color: #505050; line-height: 24px; font-size: 14px; } div.cnblogs-markdown hr { border-top: none; border-bottom: 1px solid #D2D2D2; } .cnblogs-markdown .uri, .cnblogs-markdown a { color: #2B59A9; font-size: 14px; } .cnblogs-markdown h2 { padding-top: 20px; color: black; font-weight: 400 !important; } .cnblogs-markdown p, .cnblogs-markdown ul { padding: 10px 0 0 0; } .cnblogs-markdown code { margin-left: 2px; margin-right: 2px; padding: 0 3px!important; vertical-align: middle!important; font-family: Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace !important; color: #e74c3c; border-radius: 0!important; background-color: white !important; border: 1px solid #e1e4e5; } .cnblogs-markdown img { width: 100%; height: auto; padding: 20px 0; } .cnblogs-markdown pre code.hljs *, .cnblogs-markdown pre code.hljs { font-family: Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace !important; } /* post detail end */ /* star this artical ! */ #blog_post_info { position: relative; } #green_channel { display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-flow: row nowrap; flex-flow: row nowrap; -webkit-box-pack: start; -ms-flex-pack: start; justify-content: flex-start; vertical-align: middle; height: 32px; padding: 15px 0; border: none; background-color: #2b3990; width: 100%!important; } #green_channel_follow { margin-left: 30px; } #green_channel a { border-radius: 0; background: #6cb200 none repeat scroll 0 0!important; padding: 5px 15px!important; font-size: 16px; font-weight: 400; vertical-align: bottom!important; line-height: normal!important; } #post_next_prev { color: white; position: relative; display: block; width: 100%!important; background-color: #2b3990; font-size: 0; } #post_next_prev a { position: absolute; display: block; font-size: 14px; color: white; padding: 5px 10px!important; background: #6cb200 none repeat scroll 0 0!important; } #post_next_prev a:nth-child(2):before { font-size: 14px; content: "\f0a8"; color: white; font-family: FontAwesome; padding-right: 5px; } #post_next_prev a:nth-child(5) { right: 0; } #post_next_prev a:nth-child(5):after { font-size: 14px; content: "\f0a9"; color: white; font-family: FontAwesome; padding-left: 5px; } #div_digg { margin: 15px 30px 0 0; border: none; z-index: 3; position: absolute; top: 0; right: 0; width: 90px; } #div_digg div.diggit, #div_digg div.buryit { padding: 0; margin: 0; height: 32px; width: 32px; background: #6cb200 none repeat scroll 0 0!important; } #div_digg div.diggit:after, #div_digg div.buryit:after { color: white; font-family: FontAwesome; font-size: 24px; top: 2px; position: absolute; } #div_digg div.diggit:after { content: '\f0d8'; left: 10px; } #div_digg div.buryit:after { top: 3px; content: '\f0d7'; right: 8px; } #digg_tips { color: white!important; position: absolute; left: -140px; top: 4px; font-size: 14px; } /* star this artical end */ /* comment start */ #comment_form { padding-top: 80px; position: relative; } #comment_nav a:last-child { margin: 0; padding: 0; position: fixed; bottom: 200px; right: 0; font-size: 0; height: 42px; width: 42px; background: #6cb200 none repeat scroll 0 0!important; } #comment_nav a:last-child:after { margin-top: 6px; text-align: center; vertical-align: bottom; display: block; content: '\f062'; font-family: FontAwesome; font-size: 28px; color: white; } #blog-comments-placeholder { margin-top: 100px; position: relative; } .feedbackItem { margin-bottom: 30px; padding: 0 0 10px 0; } .feedbackItem:nth-child(even) { border: #D2D2D2 solid 1px; } .feedbackItem:nth-child(odd) { background: #fffbe9 none repeat scroll 0 0 !important; border: #DCC76A solid 1px; } .feedbackItem .feedbackListSubtitle .feedbackManage { padding: 10px 0; } .feedbackItem .feedbackListSubtitle .feedbackManage .comment_actions { line-height: 18px; padding: 0 10px; vertical-align: middle; display: block } .feedbackItem .feedbackListSubtitle .feedbackManage .comment_actions a { color: #2B59A9; font-size: 13px; } .feedbackItem:nth-child(even) .feedbackListSubtitle .feedbackManage { background: #EFEFEF none repeat scroll 0 0; } .feedbackItem:nth-child(odd) .feedbackListSubtitle .feedbackManage { background: #fff1b5 none repeat scroll 0 0; } div.feedbackItem div.feedbackListSubtitle { font-size: 0; position: relative; } div.feedbackItem div.feedbackListSubtitle a.layer { position: absolute; font-weight: 200; font-size: 18px; margin-top: 5px; margin-left: 10px; } div.feedbackItem div.feedbackListSubtitle span.comment_date { position: relative !important; /* padding-top: 80px; */ margin-left: 60px; top: 10px; font-size: 12px; } div.feedbackItem div.feedbackListSubtitle span ~ a:nth-last-child(2) { top: 30px; color: #2B59A9; display: inline; position: absolute; right: 10px; margin-top: 22px; margin-left: 10px; font-size: 14px; } .blog_comment_body { padding: 30px 0 30px 30px; } .feedbackCon { position: relative; } .comment_vote { position: absolute; top: -38px; right: 10px; font-size: 13px; color: #505050; } #comment_form_container { position: relative; } #commentform_title { background: #2b3990 none repeat scroll 0 0; vertical-align: middle; font-size: 14px; padding: 10px 0 10px 10px; color: white; } #tip_comment { position: absolute; left: 90px; top: 10px; color: #FFB900!important; font-style: italic; } #comment_form_container p:nth-child(3) { font-size: 0; } #tbCommentAuthor { background: none; border: none; padding: 4px 0 4px 10px; } .commentbox_main { position: relative; top: -25px; } .commentbox_title_right { right: 0; position: absolute; } #tbCommentBody { margin-top: 25px; width: 100%; } #commentbox_opt { line-height: unset!important; position: relative; margin: 0; padding: 0; top: -26px; } #commentbox_opt > a { color: #2b59a9; display: block; position: absolute; margin-top: 4px; padding: 0; } div#comment_form_container p:nth-last-child(2) { color: #505050; font-style: italic; position: absolute; right: 90px; bottom: 0px; } #btn_comment_submit { position: absolute; right: 0; background: #6cb200 none repeat scroll 0 0 !important; border: none; color: white; padding: 5px 10px; width: auto; height: auto; } /* comment end */ /* news start */ .itnews { margin-top: 150px; } /* news end */ /* side bar start */ #sideBar { border: none !important; float: none !important; width: 300px !important; padding: 0 !important; margin: 0 !important; } #sideBarMain { display: -webkit-box!important; display: -ms-flexbox!important; display: flex!important; -ms-flex-flow: column nowrap; flex-flow: column nowrap; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; } .catListTitle { margin: 0!important; } .newsItem { background-color: #EFEFEF!important; } .newsItem > h3 { background-color: #231F20; color: white; padding: 10px 12px 10px 20px!important; } #profile_block { padding: 10px 20px 10px 20px; line-height: 30px!important; } .catListComment > h3 { padding: 20px 0 0 0 !important; font-weight: 400; font-size: 1.2em!important; } .recent_comment_title { width: 100% !important; margin-left: 0!important; text-indent: 0!important; border-top: #D2D2D2 solid 1px; margin-top: 15px; padding-top: 10px; } .recent_comment_title > a { color: #505050; } .recent_comment_title:first-child { border: none!important; } .recent_comment_body { font-weight: 300; font-size: 0.9em; line-height: 18px; padding-top: 10px; padding-left: 20px; color: gray; font-style: italic; } .recent_comment_author { padding-top: 10px; color: #505050; } .catListView > h3, .catListFeedback > h3 { margin-top: 20px!important; font-weight: 400; font-size: 1.2em!important; } #TopViewPostsBlock { padding-top: 20px!important; } #TopViewPostsBlock > ul > li, #TopFeedbackPostsBlock > ul > li, #TopDiggPostsBlock > ul > li { border-top: #D2D2D2 solid 1px; padding-top: 8px; padding-bottom: 8px; } #TopViewPostsBlock > ul > li > a, #TopFeedbackPostsBlock > ul > li > a, #TopDiggPostsBlock > ul > li > a { font-size: 0.9em; color: #505050; } #TopFeedbackPostsBlock, #TopDiggPostsBlock { padding-top: 20px; } #TopViewPostsBlock > ul > li:first-child, #TopFeedbackPostsBlock > ul > li:first-child, #TopDiggPostsBlock > ul > li:first-child { border: none !important; } /* side bar end */ /* display: none modules start */ .commentbox_title_left, div#comment_nav a[href="#"], #lnk_RefreshComments, div.feedbackItem div.feedbackListSubtitle a.sendMsg2This, .feedback_area_title, #comments_pager_top, #div_digg span, #post_next_prev br, #author_profile, #post_next_prev .p_n_p_prefix, #green_channel_weibo, #green_channel_wechat, #green_channel_digg, .clear, #sidebar_categories, #blog-calendar, sidebar_categories, .blogStats, #sidebar_shortcut, #widget_my_google, #sidebar_search > h3 { display: none!important; } /* display: none modules end */