/********** Global styles ***********/ 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; } input { background: #f5f5f5; padding: .5em .3em; border: 1px solid #888; } input[type=text]:focus { background: #fff; } a img { border: none } a, a:link { color: #c33; text-decoration: none; } a:active, a:hover { text-decoration: underline; } h1, h2, h3, h4, h5, h6 { color: black; font-family: inherit; text-rendering: optimizelegibility; font-weight: bold; padding: 15px 0 0 0; margin: 0; } h1 { font-size: 2.2em; padding:20px 0 10px 0; } h2 { padding-top: 25px; font-size: 1.8em; padding-bottom: 10px; border-bottom: 1px solid #ddd; margin-bottom: 10px; font-weigth: } h3 { padding-top:25px; font-size: 1.6em; padding-bottom: 10px; } h4 { padding: 20px 0 5px 0; font-size: 1.3em; } h5 { padding: 12px 0 0 0; margin:0 font-size: 1.1em; } p { padding:8px 0; } ol { padding:0px 0px 10px 30px; list-style-type: decimal; } ol li { display: list-item; text-align: -webkit-match-parent; margin: 7px 10px 0 10px; } ol p { padding:3px; } ul { list-style-type: disc; padding:15px 5px 15px 45px; } em, strong { font-weight: bold; color:#000; } i[class^="icon-"] { padding-right: .3em; } html {-webkit-text-size-adjust:none} .clear{ clear: both; } body { background: url(body_bg.jpg) #eee; font-family: "PingFang SC", "Lantinghei SC", "Microsoft Yahei", "Hiragino Sans GB", "Microsoft Sans Serif", "WenQuanYi Micro Hei", sans; font-size: 16px; color: #464646; margin: 0; height: 100%; line-height: 1.8em; } .wrapper { max-width:900px; margin:0 auto; +width:900px; _width:900px; overflow: hidden; } .wrapper img { max-width: 100%; height: auto; } /********* header **********/ #logo { padding:0 20px; background: #000; color: #fff; line-height: 40px; font-family:Verdana, Arial, Sans-Serif; float: left; } #logo:hover{ border:none; background: #c33; text-decoration: none; } #logo i{ font-size: 20px; } #nav { float:right; } a.navbtn { padding:8px 15px 8px 15px; font-size: 14px; background: #555; color: #fff; font-family:Verdana, Arial, Sans-Serif; line-height:34px; } a.navbtn:hover{ border:none; background: #c33; text-decoration: none; } /********* post **********/ .post_title .post_title_detail{ padding:5px 0 0 5px; font-size: 14px; color:#999; } .post_title { padding:80px 0 50px 0; text-align: center; } .post_title_index { padding:0; text-align: left; border-left: 3px solid #c33; padding-left: 13px; margin: 20px 0 10px 0; } .post_title_index h2 { padding-top: 10px; font-size: 27px; padding-left:5px; padding-bottom:5px; border:none; margin:0; } .post_title_index h2 a { color: #000; } .post_title_detail { padding:0; font-size: 13px; color:#999; padding-left:5px; } .post { border-bottom: 1px dashed #888; padding:5px 10px 20px 10px; } .post_content { font-family:'Lucida Sans Unicode',Verdana, Arial, Sans-Serif; } .post_page { border:none; } h1.title { font-size:35px; font-weight: bold; display:block; color: #c33; line-height: 1em; } .page_category { float: left; padding:15px 0 20px 10px; font-size: 15px; } #pagination { padding:10px 10px 20px 10px; float:right; text-align: right; font-size:16px; } #nofound { padding:150px; text-align: center; } /********** comment ***********/ #comment_title{ color:#fff; font-weight:bold; width:300px; background-color:#c33; padding:6px 0 6px 20px; margin-top:50px; } #comment_area{ } .comment{ margin:20px auto; padding:15px 15px 15px 20px; background-color:#f2f2f2; border:1px solid #ccc; } .comment_img{ float:left; } .comment_author{ float:left; } .comment_name{ padding:3px 0 0 0; margin-left:10px; } .comment_name span{ font-weight:bold; } .comment_date{ margin-left:10px; font-size:12px; color:#999; } .comment_content{ padding-top:1px; clear:both; margin:0 20px; line-height:22px; } #comment_form{ margin:20px 0 20px 0px; } #comment_form p{ margin:10px; padding:0; } .comment-box{ padding:5px; font-size:13px; line-height:20px; width:99%; background: #f5f5f5; border: 1px solid #888; } .comment_require { color: #c33; } #email, #url { width: 180px; } .comment_submit { float: right; padding:10px 20px; background: #c33; color: #fff; font-size: 14px; border: 1px solid #b22; } .editComment, .editableComment, .textComment{ display: inline; } .comment-childs{ border: 1px solid #ccc; margin: 5px 2px 2px 4px; padding: 10px; background-color: #eee; } .chalt{ background-color: #eee; } .comment-childs .avatar{ float:left; margin-right:10px; } .comment-childs .author_profile{ display:block; float:left; margin:0; padding: 5px 0 0 0; } .comment-childs .commentmetadata{ font-size:12px; color:#999; display:block; } .comment-childs .cmt_content{clear:both;padding:5px 15px} #newcomment{ border:1px dashed #777;width:90%; } #newcommentsubmit{ color:red; } .adminreplycomment{ border:1px dashed #777; width:99%; margin:4px; padding:4px; } .mvccls{ color: #999; } .thdrpy { text-align: right; } /********** archive ***********/ .archives_dl { padding:15px 5px 15px 15px; } .archives_dl h3{ font-size: 30px; padding:25px 0 0 0; } .archives_dl dd { padding:0 10px; } /********** footer ***********/ #footer { background: #000; color: #777; font-weight: normal; font-size: 12px; padding:10px; clear: both; margin-top: 30px; } #footer a{ color: #aaa; } #category { float:left; width: 200px; margin-left: 20px; } #category ul{ padding:5px 15px; } #category ul li { font-size: 16px; list-style: none; } #cloud { float:left; max-width: 500px; margin:0 20px; } #footer h4 { color: #eee; font-size: 20px; } #copyright { padding:10px 0; text-align: center; } .syntaxhighlighter { padding :10px 0 10px 10px; } span.inline_code{ padding: 5px 8px; margin: 0; font-size: 90%; background-color: rgba(0,0,0,0.06); border-radius: 5px; display: inline-block; line-height: 1em; } /* code { padding: 5px 8px; margin: 0; font-size: 90%; background-color: rgba(0,0,0,0.04); border-radius: 5px; display: inline-block; line-height: 1em; } */ pre,code,p code,li code{font-family:Menlo,Monaco,"Andale Mono","lucida console","Courier New",monospace} pre{-webkit-border-radius:0.4em;-moz-border-radius:0.4em;-ms-border-radius:0.4em;-o-border-radius:0.4em;border-radius:0.4em;line-height:1.6em;font-size:0.9rem;margin-bottom:1em;padding:.8em 1em;overflow:auto; background-color:rgba(0,0,0,0.04);} p code,li code{display:inline-block;white-space:no-wrap;font-size:0.9rem;line-height:1.5em;-webkit-border-radius:0.4em;-moz-border-radius:0.4em;-ms-border-radius:0.4em;-o-border-radius:0.4em;border-radius:0.4em;padding:0 .3em;margin:-1px 4px;background-color:rgba(0,0,0,0.04);} p pre code,li pre code{font-size:1em !important;background:none;border:none} pre code.code { font-size: 0.85em; font-family: Consolas, Inconsolata, Courier, monospace; padding: 10px 20px; white-space: pre; border: 1px solid #cccccc; border-radius: 3px; display: block; overflow: auto; overflow-x: auto; color: #333333; background: #f8f8f8; line-height:1.6em; margin: 15px; } /* github.com style (c) Vasily Polovnyov */ .hljs { display: block; overflow-x: auto; padding: 0.5em; color: #333; -webkit-text-size-adjust: none; } .hljs-comment, .diff .hljs-header { color: #998; font-style: italic; } .hljs-keyword, .css .rule .hljs-keyword, .hljs-winutils, .nginx .hljs-title, .hljs-subst, .hljs-request, .hljs-status { color: #333; font-weight: bold; } .hljs-number, .hljs-hexcolor, .ruby .hljs-constant { color: #008080; } .hljs-string, .hljs-tag .hljs-value, .hljs-doctag, .tex .hljs-formula { color: #d14; } .hljs-title, .hljs-id, .scss .hljs-preprocessor { color: #900; font-weight: bold; } .hljs-list .hljs-keyword, .hljs-subst { font-weight: normal; } .hljs-class .hljs-title, .hljs-type, .vhdl .hljs-literal, .tex .hljs-command { color: #458; font-weight: bold; } .hljs-tag, .hljs-tag .hljs-title, .hljs-rule .hljs-property, .django .hljs-tag .hljs-keyword { color: #000080; font-weight: normal; } .hljs-attribute, .hljs-variable, .lisp .hljs-body, .hljs-name { color: #008080; } .hljs-regexp { color: #009926; } .hljs-symbol, .ruby .hljs-symbol .hljs-string, .lisp .hljs-keyword, .clojure .hljs-keyword, .scheme .hljs-keyword, .tex .hljs-special, .hljs-prompt { color: #990073; } .hljs-built_in { color: #0086b3; } .hljs-preprocessor, .hljs-pragma, .hljs-pi, .hljs-doctype, .hljs-shebang, .hljs-cdata { color: #999; font-weight: bold; } .hljs-deletion { background: #fdd; } .hljs-addition { background: #dfd; } .diff .hljs-change { background: #0086b3; } .hljs-chunk { color: #aaa; }