Last active
July 30, 2017 07:06
-
-
Save IanChen83/00222a2eb4c277b390b450b51b80d2c3 to your computer and use it in GitHub Desktop.
HackMD style
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
<style type="text/css"> | |
@import url(https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.7.0/styles/github-gist.min.css); | |
@import url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css); | |
@import url(//fonts.googleapis.com/earlyaccess/cwtexfangsong.css); | |
@import url(//fonts.googleapis.com/earlyaccess/notosanstc.css); | |
.markdown-body blockquote { | |
padding: 0 1em; | |
color: #777; | |
border-left: 0.25em solid #ddd; | |
} | |
.markdown-body a { | |
color: #337ab7; | |
text-decoration: underline; | |
} | |
.markdown-body a:hover, | |
a:focus { | |
color: #23527c; | |
} | |
.markdown-body a:focus { | |
outline: 5px auto -webkit-focus-ring-color; | |
outline-offset: -2px; | |
} | |
.markdown-body { | |
max-width:1100px; | |
} | |
.markdown-body .alert{ | |
padding: 10px; | |
margin: 10px auto; | |
} | |
.markdown-body b{ | |
font-weight: 700; | |
} | |
.markdown-body h1, | |
.markdown-body h2, | |
.markdown-body h3, | |
.markdown-body h4, | |
.markdown-body h5, | |
.markdown-body h6 { | |
color: #b8a680; | |
margin-top: 24px; | |
margin-bottom: 16px; | |
font-weight: 600; | |
line-height: 1.25; | |
} | |
.markdown-body h1 .octicon-link, | |
.markdown-body h2 .octicon-link, | |
.markdown-body h3 .octicon-link, | |
.markdown-body h4 .octicon-link, | |
.markdown-body h5 .octicon-link, | |
.markdown-body h6 .octicon-link { | |
color: #000; | |
vertical-align: middle; | |
visibility: hidden; | |
border-bottom: 1px solid #eee; | |
} | |
.markdown-body h1 { | |
padding-bottom: 0.3em; | |
font-size: 2em; | |
} | |
.markdown-body h2 { | |
text-align: left; | |
padding-bottom: 0.3em; | |
font-size: 1.5em; | |
width: 100%; | |
font-weight: bold; | |
margin: 20px auto; | |
font-variant: small-caps; | |
} | |
.markdown-body h3 { | |
font-size: 1.25em; | |
} | |
.markdown-body h4 { | |
display: initial; | |
font-size: 1em; | |
} | |
.markdown-body h5 { | |
font-size: 0.875em; | |
} | |
.markdown-body h6 { | |
font-size: 0.85em; | |
color: #777 | |
} | |
.markdown-body ul{ | |
list-style-type: disc; | |
} | |
.markdown-body ul, | |
.markdown-body ol { | |
padding-left: 2em | |
} | |
.markdown-body code, | |
.markdown-body tt { | |
padding: 0; | |
padding-top: 0.2em; | |
padding-bottom: 0.2em; | |
margin: 0; | |
font-size: 85%; | |
background-color: rgba(0, 0, 0, 0.04); | |
border-radius: 3px; | |
font-family: Menlo, Monaco, Consolas, "Courier New", monospace; | |
} | |
.markdown-body code::before, | |
.markdown-body code::after, | |
.markdown-body tt::before, | |
.markdown-body tt::after { | |
letter-spacing: -0.2em; | |
content: "\A0"; | |
} | |
.markdown-body code br, | |
.markdown-body tt br { | |
display: none; | |
} | |
.markdown-body del code { | |
text-decoration: inherit; | |
} | |
.markdown-body pre { | |
word-wrap: normal; | |
} | |
.markdown-body pre>code { | |
padding: 0; | |
margin: 0; | |
font-size: 100%; | |
word-break: normal; | |
white-space: pre; | |
background: transparent; | |
border: 0; | |
} | |
.markdown-body .highlight { | |
margin-bottom: 16px; | |
} | |
.markdown-body .highlight pre { | |
word-break: normal; | |
} | |
.markdown-body .highlight pre, | |
.markdown-body pre { | |
margin: 0 0 10px 0; | |
padding: 16px; | |
overflow: auto; | |
font-size: 85%; | |
line-height: 1.45; | |
background-color: #f7f7f7; | |
border-radius: 3px; | |
} | |
.markdown-body pre code, | |
.markdown-body pre tt { | |
display: inline; | |
max-width: auto; | |
padding: 0; | |
margin: 0; | |
overflow: visible; | |
line-height: inherit; | |
word-wrap: normal; | |
background-color: transparent; | |
border: 0; | |
} | |
.markdown-body pre code::before, | |
.markdown-body pre code::after, | |
.markdown-body pre tt::before, | |
.markdown-body pre tt::after { | |
content: normal; | |
} | |
.markdown-body{ | |
font-family: 'Noto Sans TC', sans-serif; | |
} | |
.markdown-body h1, h2, h3, h4, h5, h6{ | |
font-family: cwTeXFangSong, sans-serif; | |
} | |
.markdown-body h1{ | |
text-align: center | |
} | |
.markdown-body h4{ | |
color: #666 | |
} | |
.markdown-body blockquote{ | |
font-size: 15px | |
} | |
.markdown-body table{ | |
display: table; | |
} | |
#cases tr td{ | |
border-width: 0; | |
} | |
#cases thead tr th{ | |
border-width: 0; | |
text-align: center; | |
} | |
.markdown-body img{ | |
border: 1px solid #ddd; | |
text-align:center; | |
box-sizing: content-box; | |
position: relative; | |
display: block; | |
margin: 10px auto; | |
max-width: 90%; | |
} | |
table img{ | |
margin:0; | |
padding: 0; | |
} | |
.list_wrapper ol{ | |
list-style-type: lower-roman; | |
} | |
table{ | |
font-size: 14px; | |
} | |
.p-alert { | |
font-size: 20px; | |
color: red; | |
} | |
article.inpage p { | |
font-size: 19px; | |
margin: 10px 0; | |
word-break: normal; | |
} | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment