Skip to content

Instantly share code, notes, and snippets.

@oec2003
Created June 21, 2015 15:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oec2003/ebe7e8c76a6d5397f838 to your computer and use it in GitHub Desktop.
Save oec2003/ebe7e8c76a6d5397f838 to your computer and use it in GitHub Desktop.
/* =Markdown支持
----------------------------------------------- */
h3 {
font-size: 26px;
}
code, kbd, pre, samp {
font-family: "Consolas",monospace;
}
code {
padding: 2px 4px;
font-size: 90%;
color: #2c3f51;
background-color: rgba(102,128,153,0.075);
white-space: nowrap;
border-radius: 4px;
}
code {
color: #c7254e;
background-color: #f9f2f4;
border-radius: 4px;
}
pre {
display: block;
padding: 10px;
margin: 0 0 10.5px;
font-size: 14px;
line-height: 1.45;
word-break: break-all;
word-wrap: break-word;
color: #333;
background-color: rgba(102,128,153,0.05);
border: 1px solid rgba(102,128,153,0.075);
border-radius: 4px;
}
pre code {
padding: 0;
font-size: inherit;
color: inherit;
white-space: pre-wrap;
background-color: transparent;
border-radius: 0;
}
.editor .code, .editor .pre {
color: #29333d;
font: normal .9em "Source Code Pro",monospace;
}
.editor .code, .editor .img, .editor .imgref, .editor .md-toc {
background-color: rgba(102,128,153,0.075);
border-radius: 4px;
padding: .15em 0;
}
.ace_dark .code, .ace_dark .img, .ace_dark .imgref, .ace_dark .md-toc {
background-color: rgba(0,0,0,0.33);
}
.ace_dark .code, .ace_dark .pre {
color: #868686;
}
pre.prettyprint {
padding: 2px;
border: 1px solid #888;
}
p, pre, pre.prettyprint, blockquote {
margin: 0 0 1.1em;
}
pre, pre.prettyprint {
text-align: start;
border: 0;
border-radius: 5px;
}
pre code, pre.prettyprint code {
padding: 18px 28px !important;
}
.hljs-dark {
background: #f6f6f6;
}
.hljs-light .hljs {
display: block;
padding: .5em;
background-color: #f0f0f0;
}
.hljs-light .hljs, .hljs-light .hljs-subst, .hljs-light .hljs-tag .hljs-title, .hljs-light .lisp .hljs-title, .hljs-light .clojure .hljs-built_in, .hljs-light .nginx .hljs-title {
color: #000;
}
.hljs-light .hljs-string, .hljs-light .hljs-title, .hljs-light .hljs-constant, .hljs-light .hljs-parent, .hljs-light .hljs-tag .hljs-value, .hljs-light .hljs-rules .hljs-value, .hljs-light .hljs-rules .hljs-value .hljs-number, .hljs-light .hljs-preprocessor, .hljs-light .hljs-pragma, .hljs-light .haml .hljs-symbol, .hljs-light .ruby .hljs-symbol, .hljs-light .ruby .hljs-symbol .hljs-string, .hljs-light .hljs-aggregate, .hljs-light .hljs-template_tag, .hljs-light .django .hljs-variable, .hljs-light .smalltalk .hljs-class, .hljs-light .hljs-addition, .hljs-light .hljs-flow, .hljs-light .hljs-stream, .hljs-light .bash .hljs-variable, .hljs-light .apache .hljs-tag, .hljs-light .apache .hljs-cbracket, .hljs-light .tex .hljs-command, .hljs-light .tex .hljs-special, .hljs-light .erlang_repl .hljs-function_or_atom, .hljs-light .asciidoc .hljs-header, .hljs-light .markdown .hljs-header, .hljs-light .coffeescript .hljs-attribute {
color: #800;
}
.hljs-light .smartquote, .hljs-light .hljs-comment, .hljs-light .hljs-annotation, .hljs-light .hljs-template_comment, .hljs-light .diff .hljs-header, .hljs-light .hljs-chunk, .hljs-light .asciidoc .hljs-blockquote, .hljs-light .markdown .hljs-blockquote {
color: #888;
}
.hljs-light .hljs-number, .hljs-light .hljs-date, .hljs-light .hljs-regexp, .hljs-light .hljs-literal, .hljs-light .hljs-hexcolor, .hljs-light .smalltalk .hljs-symbol, .hljs-light .smalltalk .hljs-char, .hljs-light .go .hljs-constant, .hljs-light .hljs-change, .hljs-light .lasso .hljs-variable, .hljs-light .makefile .hljs-variable, .hljs-light .asciidoc .hljs-bullet, .hljs-light .markdown .hljs-bullet, .hljs-light .asciidoc .hljs-link_url, .hljs-light .markdown .hljs-link_url {
color: #080;
}
.hljs-light .hljs-label, .hljs-light .hljs-javadoc, .hljs-light .ruby .hljs-string, .hljs-light .hljs-decorator, .hljs-light .hljs-filter .hljs-argument, .hljs-light .hljs-localvars, .hljs-light .hljs-array, .hljs-light .hljs-attr_selector, .hljs-light .hljs-important, .hljs-light .hljs-pseudo, .hljs-light .hljs-pi, .hljs-light .haml .hljs-bullet, .hljs-light .hljs-doctype, .hljs-light .hljs-deletion, .hljs-light .hljs-envvar, .hljs-light .hljs-shebang, .hljs-light .apache .hljs-sqbracket, .hljs-light .nginx .hljs-built_in, .hljs-light .tex .hljs-formula, .hljs-light .erlang_repl .hljs-reserved, .hljs-light .hljs-prompt, .hljs-light .asciidoc .hljs-link_label, .hljs-light .markdown .hljs-link_label, .hljs-light .vhdl .hljs-attribute, .hljs-light .clojure .hljs-attribute, .hljs-light .asciidoc .hljs-attribute, .hljs-light .lasso .hljs-attribute, .hljs-light .coffeescript .hljs-property, .hljs-light .hljs-phony {
color: #88f;
}
.hljs-light .hljs-keyword, .hljs-light .hljs-id, .hljs-light .hljs-title, .hljs-light .hljs-built_in, .hljs-light .hljs-aggregate, .hljs-light .css .hljs-tag, .hljs-light .hljs-javadoctag, .hljs-light .hljs-phpdoc, .hljs-light .hljs-yardoctag, .hljs-light .smalltalk .hljs-class, .hljs-light .hljs-winutils, .hljs-light .bash .hljs-variable, .hljs-light .apache .hljs-tag, .hljs-light .go .hljs-typename, .hljs-light .tex .hljs-command, .hljs-light .asciidoc .hljs-strong, .hljs-light .markdown .hljs-strong, .hljs-light .hljs-request, .hljs-light .hljs-status {
font-weight: bold;
}
.hljs-light .asciidoc .hljs-emphasis, .hljs-light .markdown .hljs-emphasis {
font-style: italic;
}
.hljs-light .nginx .hljs-built_in {
font-weight: normal;
}
.hljs-light .coffeescript .javascript, .hljs-light .javascript .xml, .hljs-light .lasso .markup, .hljs-light .tex .hljs-formula, .hljs-light .xml .javascript, .hljs-light .xml .vbscript, .hljs-light .xml .css, .hljs-light .xml .hljs-cdata {
opacity: .5;
}
.hljs-dark {
background: #f6f6f6;
}
.hljs-dark .hljs {
display: block;
padding: .5em;
background: #23241f;
}
.hljs-dark .hljs, .hljs-dark .hljs-tag, .hljs-dark .css .hljs-rules, .hljs-dark .css .hljs-value, .hljs-dark .css .hljs-function .hljs-preprocessor, .hljs-dark .hljs-pragma {
color: #f8f8f2;
}
.hljs-dark .hljs-strongemphasis, .hljs-dark .hljs-strong, .hljs-dark .hljs-emphasis {
color: #a8a8a2;
}
.hljs-dark .hljs-bullet, .hljs-dark .hljs-blockquote, .hljs-dark .hljs-horizontal_rule, .hljs-dark .hljs-number, .hljs-dark .hljs-regexp, .hljs-dark .alias .hljs-keyword, .hljs-dark .hljs-literal, .hljs-dark .hljs-hexcolor {
color: #ae81ff;
}
.hljs-dark .hljs-tag .hljs-value, .hljs-dark .hljs-code, .hljs-dark .hljs-title, .hljs-dark .css .hljs-class, .hljs-dark .hljs-class .hljs-title:last-child {
color: #a6e22e;
}
.hljs-dark .hljs-link_url {
font-size: 80%;
}
.hljs-dark .hljs-strong, .hljs-dark .hljs-strongemphasis {
font-weight: bold;
}
.hljs-dark .hljs-emphasis, .hljs-dark .hljs-strongemphasis, .hljs-dark .hljs-class .hljs-title:last-child {
font-style: italic;
}
.hljs-dark .hljs-keyword, .hljs-dark .hljs-function, .hljs-dark .hljs-change, .hljs-dark .hljs-winutils, .hljs-dark .hljs-flow, .hljs-dark .lisp .hljs-title, .hljs-dark .clojure .hljs-built_in, .hljs-dark .nginx .hljs-title, .hljs-dark .tex .hljs-special, .hljs-dark .hljs-header, .hljs-dark .hljs-attribute, .hljs-dark .hljs-symbol, .hljs-dark .hljs-symbol .hljs-string, .hljs-dark .hljs-tag .hljs-title, .hljs-dark .hljs-value, .hljs-dark .alias .hljs-keyword:first-child, .hljs-dark .css .hljs-tag, .hljs-dark .css .unit, .hljs-dark .css .hljs-important {
color: #f92672;
}
.hljs-dark .hljs-function .hljs-keyword, .hljs-dark .hljs-class .hljs-keyword:first-child, .hljs-dark .hljs-constant, .hljs-dark .css .hljs-attribute {
color: #66d9ef;
}
.hljs-dark .hljs-variable, .hljs-dark .hljs-params, .hljs-dark .hljs-class .hljs-title {
color: #f8f8f2;
}
.hljs-dark .hljs-string, .hljs-dark .css .hljs-id, .hljs-dark .hljs-subst, .hljs-dark .haskell .hljs-type, .hljs-dark .ruby .hljs-class .hljs-parent, .hljs-dark .hljs-built_in, .hljs-dark .sql .hljs-aggregate, .hljs-dark .django .hljs-template_tag, .hljs-dark .django .hljs-variable, .hljs-dark .smalltalk .hljs-class, .hljs-dark .django .hljs-filter .hljs-argument, .hljs-dark .smalltalk .hljs-localvars, .hljs-dark .smalltalk .hljs-array, .hljs-dark .hljs-attr_selector, .hljs-dark .hljs-pseudo, .hljs-dark .hljs-addition, .hljs-dark .hljs-stream, .hljs-dark .hljs-envvar, .hljs-dark .apache .hljs-tag, .hljs-dark .apache .hljs-cbracket, .hljs-dark .tex .hljs-command, .hljs-dark .hljs-prompt, .hljs-dark .hljs-link_label, .hljs-dark .hljs-link_url {
color: #e6db74;
}
.hljs-dark .hljs-comment, .hljs-dark .hljs-javadoc, .hljs-dark .java .hljs-annotation, .hljs-dark .python .hljs-decorator, .hljs-dark .hljs-template_comment, .hljs-dark .hljs-pi, .hljs-dark .hljs-doctype, .hljs-dark .hljs-deletion, .hljs-dark .hljs-shebang, .hljs-dark .apache .hljs-sqbracket, .hljs-dark .tex .hljs-formula {
color: #75715e;
}
.hljs-dark .coffeescript .javascript, .hljs-dark .javascript .xml, .hljs-dark .tex .hljs-formula, .hljs-dark .xml .javascript, .hljs-dark .xml .vbscript, .hljs-dark .xml .css, .hljs-dark .xml .hljs-cdata, .hljs-dark .xml .php, .hljs-dark .php .xml {
opacity: .5;
}
.note-content {
line-height: 1.5;
color: #2c3f51;
}
.note-content div, .note-content dl, .note-content dt, .note-content em, .note-content font, .note-content h3, .note-content h4, .note-content h5, .note-content h6, .note-content hr, .note-content i, .note-content ins, .note-content kbd, .note-content li, .note-content map, .note-content ol, .note-content p, .note-content pre, .note-content q, .note-content s, .note-content samp, .note-content small, .note-content span, .note-content strike, .note-content strong, .note-content sub, .note-content sup, .note-content table, .note-content tbody, .note-content td, .note-content tfoot, .note-content th, .note-content thead, .note-content tr, .note-content tt, .note-content u, .note-content ul {
line-height: 1.6;
}
blockquote {
border-left-width: 15px;
background-color: #F1F2EF;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
padding: 15px 20px;
}
blockquote p {
margin-bottom: 1.1em;
font-size: 1em;
line-height: 1.45;
}
blockquote ul:last-child, blockquote ol:last-child {
margin-bottom: 0;
}
blockquote {
padding: 10.5px 21px;
margin: 0 0 21px;
border-left: 10px solid #D6DBDF;
}
table {
margin-bottom: 20px;
}
table th, table td {
padding: 8px;
line-height: 20px;
vertical-align: top;
border-top: 1px solid #ddd;
}
table th {
font-weight: bold;
}
table thead th {
vertical-align: bottom;
}
table caption + thead tr:first-child th, table caption + thead tr:first-child td, table colgroup + thead tr:first-child th, table colgroup + thead tr:first-child td, table thead:first-child tr:first-child th, table thead:first-child tr:first-child td {
border-top: 0;
}
table tbody + tbody {
border-top: 2px solid #ddd;
}
table th, table td, table thead:first-child tr:first-child th {
padding: .5em;
border: 1px solid #ddd;
line-height: 1.5;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment