Skip to content

Instantly share code, notes, and snippets.

@tesths
Created April 20, 2017 13:12
Show Gist options
  • Save tesths/1f1fe87f01861bf3ee1a8482e9bcbdb0 to your computer and use it in GitHub Desktop.
Save tesths/1f1fe87f01861bf3ee1a8482e9bcbdb0 to your computer and use it in GitHub Desktop.
.markdown-here-wrapper {
font-family: -apple-system-font,"Helvetica Neue","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
font-size: 15px;
line-height: 28px;
letter-spacing: 1px;
word-wrap: break-word !important;
}
strong, b{
color: #898989;
font-weight: bold;
font-style: bold !important;
}
em, i {
color: #424242;
}
/* --- */
hr {
border: 1px solid #C5E1A5;
margin: 1.5em auto;
}
p {
margin: 1.5em 15px !important;
color: #898989;
}
table, pre, dl, blockquote, q, ul, ol {
margin: 10px 5px;
}
ul, ol {
padding-left: 15px;
}
li {
margin: 10px;
}
li p {
margin: 10px 0 !important;
}
ul ul, ul ol, ol ul, ol ol {
margin: 0;
padding-left: 10px;
}
ul {
list-style-type: circle;
}
dl {
padding: 0;
}
dl dt {
font-size: 1em;
font-weight: bold;
font-style: italic;
}
dl dd {
margin: 0 0 10px;
padding: 0 10px;
}
blockquote, q {
border-left: 4px solid #64B5F6;
padding: 0 2px;
color: #777777;
quotes: none;
margin-left: 1em;
}
blockquote::before, blockquote::after, q::before, q::after {
content: none;
}
h1, h2, h3, h4, h5, h6 {
margin: 20px 0 10px;
padding: 4;
font-weight: bold;
font-style: bold !important;
color: #3E3E3E !important;
text-align: left !important;
margin:1em auto;
padding: 0.5em 0;
color: #424242;
}
h1 {
font-size: 24px !important;
border-bottom: 3px solid #ddd !important;
}
h2 {
font-size: 20px !important;
margin: 0;
padding-bottom: 15px;
position: relative;
border-bottom: 8px solid #64B5F6;
border-left-width: 0;
}
/* h2:before {
position: absolute;
background: #64B5F6;
height: 8px;
content: '';
width: 35px;
bottom: -8px;
left: 0;
}*/
h3 {
font-size: 18px;
margin: 0 5px;
padding-bottom: 15px;
position: relative;
border-bottom: 6px solid #90CAF9;
}
/* h3:before {
position: absolute;
background: #64B5F6;
height: 8px;
content: '';
width: 50px;
bottom: -8px;
left: 0;
}*/
h4 {
font-size: 16px;
margin: 0 10px;
padding-bottom: 15px;
position: relative;
border-bottom: 4px solid #BBDEFB;
}
table {
padding: 0;
border-collapse: collapse;
border-spacing: 0;
font-size: 1em;
font: inherit;
border: 0;
margin: 0 auto;
}
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:nth-child(2n) {
background-color: #F8F8F8;
}
table tr th, table tr td {
font-size: 16px;
border: 1px solid #CCC;
margin: 0;
padding: 5px 10px;
}
table tr th {
font-weight: bold;
color: #eee;
border: 1px solid #009688;
background-color: #03A9F4;
}
pre, code {
font-size: 15px;
font-family: "Helvetica Neue",Helvetica,"Hiragino Sans GB","Microsoft YaHei",Arial,sans-serif;
margin: auto 5px;
line-height: 28px;
box-sizing: border-box !important;
word-wrap: break-word !important;
letter-spacing:1px;
}
code {
white-space: pre-wrap;
border-radius: 2px;
display: inline;
}
/* 段落 */
pre {
font-size: 15px;
line-height: 1.4em;
display: block; !important;
}
pre code {
white-space: pre;
overflow: auto;
border-radius: 3px;
padding: 1px 1px;
display: block !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment