Created
March 13, 2019 05:57
-
-
Save joonyou/41ce311e38f3ae934f27cae314c21ea8 to your computer and use it in GitHub Desktop.
markdown css
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
body { | |
font: 16px 'Open Sans', sans-serif; | |
color:black; | |
line-height:1.2em; | |
background-color: #FFFFFF; | |
padding: 0.7em; | |
} | |
p { | |
margin:1em 0 1em 1.2em; | |
line-height:1.5em; | |
} | |
table { | |
font-size:inherit; | |
font:100%; | |
margin:1em; | |
} | |
table th{border-bottom:1px solid #bbb;padding:.2em 1em;} | |
table td{border-bottom:1px solid #ddd;padding:.2em 1em;} | |
input[type=text],input[type=password],input[type=image],textarea{font:99% helvetica,arial,freesans,sans-serif;} | |
select,option{padding:0 .25em;} | |
optgroup{margin-top:.5em;} | |
pre,code{font:12px Menlo, Monaco, "DejaVu Sans Mono", "Bitstream Vera Sans Mono",monospace;} | |
pre { | |
margin:1em 0; | |
font-size:12px; | |
background-color:#eee; | |
border:1px solid #ddd; | |
padding:5px; | |
line-height:1.5em; | |
color:#444; | |
overflow:auto; | |
-webkit-box-shadow:rgba(0,0,0,0.07) 0 1px 2px inset; | |
-webkit-border-radius:3px; | |
-moz-border-radius:3px;border-radius:3px; | |
} | |
pre code { | |
padding:0; | |
font-size:12px; | |
background-color:#eee; | |
border:none; | |
} | |
code { | |
font-size:12px; | |
background-color:#f8f8ff; | |
color:#444; | |
padding:0 .2em; | |
border:1px solid #dedede; | |
} | |
img{border:0;max-width:100%;} | |
abbr{border-bottom:none;} | |
a{color:#4183c4;text-decoration:none;} | |
a:hover{text-decoration:underline;} | |
a code,a:link code,a:visited code{color:#4183c4;} | |
h2,h3{margin:1em 0;} | |
h1,h2,h3,h4,h5,h6{line-height: 1em;border:0;} | |
h1{font-size:300%;font-weight:300;border-top:0 #aaa;padding-top:.5em;margin-top:1.5em;margin-left: -25px;margin-bottom: 1em;} | |
h1:first-child{margin-top:0;padding-top:.25em;border-top:none;} | |
h2{font-size:150%;font-weight:300;margin-top:1.3em;border-top:3px solid #e0e0e0;padding-top:.5em;} | |
h3{font-size:120%;font-weight:300;margin-top:1em;} | |
h4{font-size:100%;font-weight:bold;margin-top:1em;margin-left: 1.2em} | |
h5{font-size:100%;font-weight:normal;font-style: italic; color: #DC143C;margin: 0 0 0 1.2em} | |
hr{border:1px solid #ddd;} | |
ul{margin:1em 0 1em 2em;} | |
ol{margin:1em 0 1em 2em;} | |
ul li,ol li{margin-top:.5em;margin-bottom:.5em;} | |
ul ul,ul ol,ol ol,ol ul{margin-top:0;margin-bottom:0;} | |
blockquote{margin:1em 0;border-left:5px solid #ddd;padding-left:.6em;color:#555;} | |
dt{font-weight:bold;margin-left:1em;} | |
dd{margin-left:2em;margin-bottom:1em;} | |
sup { | |
font-size: 0.83em; | |
vertical-align: super; | |
line-height: 0; | |
} | |
* { | |
-webkit-print-color-adjust: exact; | |
} | |
@media screen and (min-width: 914px) { | |
body { | |
width: 1200px; | |
margin:0 auto; | |
} | |
} | |
@media print { | |
table, pre { | |
page-break-inside: avoid; | |
} | |
pre { | |
word-wrap: break-word; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment