Last active
August 3, 2018 08:18
-
-
Save zhouie/9205f77c8643cd5d2dac0843a0a0a2df to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.markdown-here-wrapper { | |
} | |
/* To add site specific rules, you can use the `data-md-url` attribute that we | |
add to the wrapper element. Note that rules like this are used depending | |
on the URL you're *sending* from, not the URL where the recipient views it. | |
*/ | |
/* .markdown-here-wrapper[data-md-url*="mail.yahoo."] ul { color: red; } */ | |
/* In edit mode, Wordpress uses a `* { font: ...;} rule+style that makes highlighted | |
code look non-monospace. This rule will override it. */ | |
.markdown-here-wrapper[data-md-url*="wordpress."] code span { | |
font: inherit; | |
} | |
/* Wordpress adds a grey background to `pre` elements that doesn't go well with | |
our syntax highlighting. */ | |
.markdown-here-wrapper[data-md-url*="wordpress."] pre { | |
background-color: transparent; | |
} | |
/* This spacing has been tweaked to closely match Gmail+Chrome "paragraph" (two line breaks) spacing. | |
Note that we only use a top margin and not a bottom margin -- this prevents the | |
"blank line" look at the top of the email (issue #243). | |
*/ | |
p { | |
/* !important is needed here because Hotmail/Outlook.com uses !important to | |
kill the margin in <p>. We need this to win. */ | |
margin: 0 0 1.5em 0 !important; | |
font-size: 15px; | |
} | |
pre { | |
padding: 10px; | |
line-height: 1em; | |
box-sizing: border-box; | |
background-color: #F8F8F8; | |
margin: 0px 0px 1.5em !important; | |
color: #333; | |
word-wrap: break-word!important; | |
overflow: auto; | |
} | |
pre code { | |
line-height: 1.75em; | |
white-space: pre; | |
box-sizing: border-box; | |
font-size: 14px; | |
font-family: monospace; | |
background: none; | |
}; | |
table, dl, blockquote, q, ul, ol { | |
margin: 1.2em 0; | |
} | |
ul, ol { | |
padding-left: 2em; | |
font-size: 15px; | |
padding-bottom: 1em; | |
} | |
li { | |
margin: 0.5em 0; | |
font-size: 15px; | |
} | |
li code{ | |
font-size: 15px; | |
line-height: 1.75em; | |
font-family: monospace; | |
color: rgb(199, 37, 78); | |
background-color: rgb(249, 242, 244); | |
padding: 3px 5px; | |
max-width: 100% !important; | |
} | |
/* Space paragraphs in a list the same as the list itself. */ | |
li p { | |
/* Needs !important to override rule above. */ | |
margin: 0.5em 0 !important; | |
}; | |
/* Smaller spacing for sub-lists */ | |
ul ul, ul ol, ol ul, ol ol { | |
margin: 0; | |
padding-left: 1em; | |
} | |
/* Use Roman numerals for sub-ordered-lists. (Like Github.) */ | |
ol ol, ul ol { | |
list-style-type: lower-roman; | |
} | |
/* Use letters for sub-sub-ordered lists. (Like Github.) */ | |
ul ul ol, ul ol ol, ol ul ol, ol ol ol { | |
list-style-type: lower-alpha; | |
} | |
p code { | |
font-size:15px; | |
line-height: 1.75em; | |
max-width: 100%!important; | |
font-family: monospace; | |
color: #c7254e; | |
background-color: #f9f2f4; | |
padding-left:5px; | |
padding-right:5px; | |
padding-top:3px; | |
padding-bottom:3px; | |
}; | |
dl { | |
padding: 0; | |
} | |
dl dt { | |
font-size: 15px; | |
font-weight: bold; | |
font-style: italic; | |
} | |
dl dd { | |
margin: 0 0 1em; | |
padding: 0 1em; | |
} | |
blockquote, q { | |
border-left: 2px solid #009a61; | |
background: #f6f6f6; | |
color: #555; | |
quotes: none; | |
line-height: 1.6; | |
word-wrap: break-word; | |
padding-bottom:1px; | |
padding-top:20px; | |
margin: 1.5em 0; | |
} | |
h1, h2, h3, h4, h5, h6 { | |
margin: 1.3em 0 1em; | |
padding: 0; | |
font-weight: bold; | |
} | |
h1 { | |
font-size: 20px; | |
border-bottom: 1px solid #ddd; | |
} | |
h2 { | |
font-size: 20px; | |
border-bottom: 1px solid #eee; | |
} | |
h3 { | |
font-size: 18px; | |
} | |
h4 { | |
font-size: 16px; | |
} | |
h5 { | |
font-size: 16px; | |
} | |
h6 { | |
font-size: 16px; | |
color: #777; | |
} | |
table { | |
padding: 0; | |
border-collapse: collapse; | |
border-spacing: 0; | |
font-size:15px ; | |
font: inherit; | |
border: 0; | |
} | |
tbody { | |
margin: 0; | |
padding: 0; | |
border: 0; | |
} | |
table tr { | |
border: 0; | |
border-top: 1px solid #CCC; | |
background-color: white; | |
margin: 0; | |
padding: 0; | |
} | |
table tr th, table tr td { | |
font-size: 15px; | |
border: 1px solid #CCC; | |
margin: 0; | |
padding: 0.5em 1em; | |
} | |
table tr th { | |
font-weight: bold; | |
background-color: #F0F0F0; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
github.com style (c) Vasily Polovnyov <vast@whiteants.net> | |
*/ | |
.hljs { | |
display: block; | |
overflow-x: auto; | |
padding: 0.5em; | |
color: #657b83; | |
-webkit-text-size-adjust: none; | |
} | |
.hljs-comment, | |
.hljs-template_comment, | |
.hljs-pi, | |
.hljs-doctype, | |
.diff .hljs-header, | |
.hljs-javadoc { | |
color: #93a1a1; | |
font-style: italic; | |
} | |
.hljs-keyword, | |
.hljs-addition, | |
.method, | |
.css .rule .hljs-keyword, | |
.hljs-winutils, | |
.javascript .hljs-title, | |
.nginx .hljs-title, | |
.hljs-subst, | |
.hljs-request, | |
.hljs-status { | |
color: #859900; | |
font-weight: bold; | |
} | |
.hljs-command, | |
.hljs-phpdoc, | |
.hljs-tag, | |
.hljs-number, | |
.hljs-regexp, | |
.hljs-string, | |
.hljs-hexcolor, | |
.hljs-tag .hljs-value, | |
.hljs-rules .hljs-value, | |
.tex .hljs-formula, | |
.hljs-link_url, | |
.ruby .hljs-constant { | |
color: #2aa198; | |
} | |
.hljs-dartdoc { | |
color: #d14; | |
} | |
.hljs-literal{ | |
color: #657b83; | |
} | |
.hljs-title, | |
.hljs-localvars, | |
.hljs-identifier, | |
.hljs-chunk, | |
.hljs-id, | |
.hljs-decorator, | |
.hljs-built_in, | |
.vhdl .hljs-literal, | |
.css .hljs-function, | |
.scss .hljs-preprocessor { | |
color: #268bd2; | |
font-weight: bold; | |
} | |
.javascript .hljs-title, | |
.hljs-list .hljs-keyword, | |
.hljs-subst { | |
font-weight: normal; | |
} | |
.tex .hljs-command { | |
color: #458; | |
font-weight: bold; | |
} | |
.hljs-tag .hljs-title, | |
.hljs-rules .hljs-property, | |
.django .hljs-tag .hljs-keyword { | |
color: #000080; | |
font-weight: normal; | |
} | |
.hljs-attribute, | |
.hljs-variable, | |
.hljs-constant, | |
.hljs-class .hljs-title, | |
.hljs-type, | |
.hljs-parent, | |
.haskell .hljs-type, | |
.hljs-link_reference, | |
.smalltalk .hljs-number, | |
.lisp .hljs-body { | |
color: #b58900; | |
} | |
.hljs-symbol, | |
.ruby .hljs-symbol .hljs-string, | |
.lisp .hljs-keyword, | |
.clojure .hljs-keyword, | |
.scheme .hljs-keyword, | |
.tex .hljs-special, | |
.hljs-prompt { | |
color: #990073; | |
} | |
.hljs-preprocessor, | |
.hljs-pragma, | |
.hljs-shebang, | |
.hljs-cdata { | |
color: #999; | |
font-weight: bold; | |
} | |
.hljs-deletion { | |
background: #fdd; | |
} | |
.diff .hljs-change { | |
background: #0086b3; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment