diff --git a/MarkdownPreview.py b/MarkdownPreview.py index 6a0cef85..52c6967f 100644 --- a/MarkdownPreview.py +++ b/MarkdownPreview.py @@ -587,7 +587,9 @@ def run(self, view, wholefile=False): html += self.get_mathjax() html += self.get_title() html += '' + html += '
' html += body + html += '
' html += '' html += '' diff --git a/github.css b/github.css index 0172231c..b618a60e 100644 --- a/github.css +++ b/github.css @@ -1,750 +1,790 @@ -body -{ - font-size:15px; - line-height:1.7; - overflow-x:hidden; - - background-color: white; - border-radius: 3px; - border: 3px solid #EEE; - box-shadow: inset 0 0 0 1px #CECECE; - font-family: Helvetica, arial, freesans, clean, sans-serif; - max-width: 912px; - padding: 30px; - margin: 2em auto; - - color:#333333; -} - - -.body-classic{ - color:#444; - font-family:Georgia, Palatino, 'Palatino Linotype', Times, 'Times New Roman', "Hiragino Sans GB", "STXihei", "微软雅黑", serif; - font-size:16px; - line-height:1.5em; - background:#fefefe; +body { width: 45em; - margin: 10px auto; - padding: 1em; - outline: 1300px solid #FAFAFA; + border: 1px solid #ddd; + outline: 1300px solid #fff; + margin: 16px auto; } -body>:first-child +body .markdown-body { - margin-top:0!important; + padding: 30px; } -body>:last-child -{ - margin-bottom:0!important; +@font-face { + font-family: octicons-anchor; + src: url(data:font/woff;charset=utf-8;base64,d09GRgABAAAAAAYcAA0AAAAACjQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAABMAAAABwAAAAca8vGTk9TLzIAAAFMAAAARAAAAFZG1VHVY21hcAAAAZAAAAA+AAABQgAP9AdjdnQgAAAB0AAAAAQAAAAEACICiGdhc3AAAAHUAAAACAAAAAj//wADZ2x5ZgAAAdwAAADRAAABEKyikaNoZWFkAAACsAAAAC0AAAA2AtXoA2hoZWEAAALgAAAAHAAAACQHngNFaG10eAAAAvwAAAAQAAAAEAwAACJsb2NhAAADDAAAAAoAAAAKALIAVG1heHAAAAMYAAAAHwAAACABEAB2bmFtZQAAAzgAAALBAAAFu3I9x/Nwb3N0AAAF/AAAAB0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moO9rafrz7ILXEHHaAx95s9lsI7AHNMBWEZHULnfAXwG9/ZqdzLI08iuwRloXE8kfhXYAvE23+23DU3t626rbs8/8adv+9DWknsHp3E17oCf+Z48rvEQNZ78paYM38qfk3v/u3l3u3GXN2Dmvmvpf1Srwk3pB/VSsp512bA/GG5i2WJ7wu430yQ5K3nFGiOqgtmSB5pJVSizwaacmUZzZhXLlZTq8qGGFY2YcSkqbth6aW1tRmlaCFs2016m5qn36SbJrqosG4uMV4aP2PHBmB3tjtmgN2izkGQyLWprekbIntJFing32a5rKWCN/SdSoga45EJykyQ7asZvHQ8PTm6cslIpwyeyjbVltNikc2HTR7YKh9LBl9DADC0U/jLcBZDKrMhUBfQBvXRzLtFtjU9eNHKin0x5InTqb8lNpfKv1s1xHzTXRqgKzek/mb7nB8RZTCDhGEX3kK/8Q75AmUM/eLkfA+0Hi908Kx4eNsMgudg5GLdRD7a84npi+YxNr5i5KIbW5izXas7cHXIMAau1OueZhfj+cOcP3P8MNIWLyYOBuxL6DRylJ4cAAAB4nGNgYoAALjDJyIAOWMCiTIxMLDmZedkABtIBygAAAA==) format('woff'); } -blockquote,dl,ol,p,pre,table,ul { - border: 0; - margin: 15px 0; - padding: 0; +.markdown-body { + font-family: sans-serif; + -ms-text-size-adjust: 100%; + -webkit-text-size-adjust: 100%; + color: #333333; + overflow: hidden; + font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif; + font-size: 16px; + line-height: 1.6; + word-wrap: break-word; } -body a { - color: #4183c4; - text-decoration: none; +.markdown-body a { + background: transparent; } -body a:hover { - text-decoration: underline; +.markdown-body a:active, +.markdown-body a:hover { + outline: 0; } -body a.absent -{ - color:#c00; +.markdown-body strong { + font-weight: bold; } -body a.anchor -{ - display:block; - padding-left:30px; - margin-left:-30px; - cursor:pointer; - position:absolute; - top:0; - left:0; - bottom:0 +.markdown-body h1 { + font-size: 2em; + margin: 0.67em 0; } -/*h4,h5,h6{ font-weight: bold; }*/ +.markdown-body img { + border: 0; +} -.octicon{ - font:normal normal 16px sans-serif; - width: 1em; - height: 1em; - line-height:1; - display:inline-block; - text-decoration:none; - -webkit-font-smoothing:antialiased +.markdown-body hr { + -moz-box-sizing: content-box; + box-sizing: content-box; + height: 0; } -.octicon-link { - background: url("data:image/svg+xml;utf8, Copyright (C) 2013 by GitHub "); - background-size: contain; - background-repeat: no-repeat; - background-position: bottom; +.markdown-body pre { + overflow: auto; } -.octicon-link:before{ - content:'\a0'; +.markdown-body code, +.markdown-body kbd, +.markdown-body pre { + font-family: monospace, monospace; + font-size: 1em; } -body h1,body h2,body h3,body h4,body h5,body h6{ - margin:1em 0 15px; - padding:0; - font-weight:bold; - line-height:1.7; - cursor:text; - position:relative +.markdown-body input { + color: inherit; + font: inherit; + margin: 0; } -body h1 .octicon-link,body h2 .octicon-link,body h3 .octicon-link,body h4 .octicon-link,body h5 .octicon-link,body h6 .octicon-link{ - display:none; - color:#000 +.markdown-body html input[disabled] { + cursor: default; } -body h1:hover a.anchor,body h2:hover a.anchor,body h3:hover a.anchor,body h4:hover a.anchor,body h5:hover a.anchor,body h6:hover a.anchor{ - text-decoration:none; - line-height:1; - padding-left:0; - margin-left:-22px; - top:15% +.markdown-body input { + line-height: normal; } -body h1:hover a.anchor .octicon-link,body h2:hover a.anchor .octicon-link,body h3:hover a.anchor .octicon-link,body h4:hover a.anchor .octicon-link,body h5:hover a.anchor .octicon-link,body h6:hover a.anchor .octicon-link{ - display:inline-block +.markdown-body input[type="checkbox"] { + box-sizing: border-box; + padding: 0; } -body h1 tt,body h1 code,body h2 tt,body h2 code,body h3 tt,body h3 code,body h4 tt,body h4 code,body h5 tt,body h5 code,body h6 tt,body h6 code{ - font-size:inherit +.markdown-body table { + border-collapse: collapse; + border-spacing: 0; } -body h1{ - font-size:2.5em; - border-bottom:1px solid #ddd +.markdown-body td, +.markdown-body th { + padding: 0; } -body h2{ - font-size:2em; - border-bottom:1px solid #eee +.markdown-body * { + -moz-box-sizing: border-box; + box-sizing: border-box; } -body h3{ - font-size:1.5em +.markdown-body input { + font: 13px Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol"; + line-height: 1.4; } -body h4{ - font-size:1.2em +.markdown-body a { + color: #4183c4; + text-decoration: none; } -body h5{ - font-size:1em +.markdown-body a:hover, +.markdown-body a:focus, +.markdown-body a:active { + text-decoration: underline; } -body h6{ - color:#777; - font-size:1em +.markdown-body hr { + height: 0; + margin: 15px 0; + overflow: hidden; + background: transparent; + border: 0; + border-bottom: 1px solid #ddd; } -body p,body blockquote,body ul,body ol,body dl,body table,body pre{ - margin:15px 0 +.markdown-body hr:before, +.markdown-body hr:after { + display: table; + content: " "; } -body h1 tt,body h1 code,body h2 tt,body h2 code,body h3 tt,body h3 code,body h4 tt,body h4 code,body h5 tt,body h5 code,body h6 tt,body h6 code -{ - font-size:inherit; +.markdown-body hr:after { + clear: both; } +.markdown-body h1, +.markdown-body h2, +.markdown-body h3, +.markdown-body h4, +.markdown-body h5, +.markdown-body h6 { + margin-top: 15px; + margin-bottom: 15px; + line-height: 1.1; +} -body hr -{ - background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAECAYAAACtBE5DAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OENDRjNBN0E2NTZBMTFFMEI3QjRBODM4NzJDMjlGNDgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OENDRjNBN0I2NTZBMTFFMEI3QjRBODM4NzJDMjlGNDgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo4Q0NGM0E3ODY1NkExMUUwQjdCNEE4Mzg3MkMyOUY0OCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo4Q0NGM0E3OTY1NkExMUUwQjdCNEE4Mzg3MkMyOUY0OCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PqqezsUAAAAfSURBVHjaYmRABcYwBiM2QSA4y4hNEKYDQxAEAAIMAHNGAzhkPOlYAAAAAElFTkSuQmCC); - background-repeat: repeat-x; - /*background:transparent url(http://overblown.net/files/markdown/dirty-shade.png) repeat-x 0 0;*/ - background-color: transparent; - background-position: 0; - border:0 none; - color:#ccc; - height:4px; - margin:15px 0; - padding:0; +.markdown-body h1 { + font-size: 30px; } -body li p.first -{ - display:inline-block; +.markdown-body h2 { + font-size: 21px; } -body ul,body ol -{ - padding-left:30px; +.markdown-body h3 { + font-size: 16px; } -body ul.no-list,body ol.no-list -{ - list-style-type:none; - padding:0; +.markdown-body h4 { + font-size: 14px; } -body ul ul,body ul ol,body ol ol,body ol ul -{ - margin-bottom:0; - margin-top:0; +.markdown-body h5 { + font-size: 12px; } -body dl -{ - padding:0; +.markdown-body h6 { + font-size: 11px; } -body dl dt -{ - font-size:14px; - font-style:italic; - font-weight:700; - margin-top:15px; - padding:0; +.markdown-body blockquote { + margin: 0; } -body dl dd -{ - margin-bottom:15px; - padding:0 15px; +.markdown-body ul, +.markdown-body ol { + padding: 0; + margin-top: 0; + margin-bottom: 0; } -body blockquote -{ - border-left:4px solid #DDD; - color:#777; - padding:0 15px; +.markdown-body ol ol, +.markdown-body ul ol { + list-style-type: lower-roman; } -body blockquote>:first-child -{ - margin-top:0; +.markdown-body ul ul ol, +.markdown-body ul ol ol, +.markdown-body ol ul ol, +.markdown-body ol ol ol { + list-style-type: lower-alpha; } -body blockquote>:last-child -{ - margin-bottom:0; +.markdown-body dd { + margin-left: 0; } -body table -{ - display:block; - overflow:auto; - width:100%; - border-collapse: collapse; - border-spacing: 0; - padding: 0; +.markdown-body code, +.markdown-body pre { + font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; + font-size: 12px; } -body table th -{ - font-weight:700; +.markdown-body pre { + margin-top: 0; + margin-bottom: 0; } -body table th,body table td -{ - border:1px solid #ddd; - padding:6px 13px; +.markdown-body kbd { + background-color: #e7e7e7; + background-image: -moz-linear-gradient(#fefefe, #e7e7e7); + background-image: -webkit-linear-gradient(#fefefe, #e7e7e7); + background-image: linear-gradient(#fefefe, #e7e7e7); + background-repeat: repeat-x; + border-radius: 2px; + border: 1px solid #cfcfcf; + color: #000; + padding: 3px 5px; + line-height: 10px; + font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace; + display: inline-block; +} + +.markdown-body>*:first-child { + margin-top: 0 !important; +} + +.markdown-body>*:last-child { + margin-bottom: 0 !important; +} + +.markdown-body .anchor { + position: absolute; + top: 0; + bottom: 0; + left: 0; + display: block; + padding-right: 6px; + padding-left: 30px; + margin-left: -30px; +} + +.markdown-body .anchor:focus { + outline: none; +} + +.markdown-body h1, +.markdown-body h2, +.markdown-body h3, +.markdown-body h4, +.markdown-body h5, +.markdown-body h6 { + position: relative; + margin-top: 1em; + margin-bottom: 16px; + font-weight: bold; + line-height: 1.4; +} + +.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 { + display: none; + color: #000; + vertical-align: middle; +} + +.markdown-body h1:hover .anchor, +.markdown-body h2:hover .anchor, +.markdown-body h3:hover .anchor, +.markdown-body h4:hover .anchor, +.markdown-body h5:hover .anchor, +.markdown-body h6:hover .anchor { + height: 1em; + padding-left: 8px; + margin-left: -30px; + line-height: 1; + text-decoration: none; } -body table tr -{ - background-color:#fff; - border-top:1px solid #ccc; +.markdown-body h1:hover .anchor .octicon-link, +.markdown-body h2:hover .anchor .octicon-link, +.markdown-body h3:hover .anchor .octicon-link, +.markdown-body h4:hover .anchor .octicon-link, +.markdown-body h5:hover .anchor .octicon-link, +.markdown-body h6:hover .anchor .octicon-link { + display: inline-block; } -body table tr:nth-child(2n) -{ - background-color:#f8f8f8; +.markdown-body h1 { + padding-bottom: 0.3em; + font-size: 2.25em; + line-height: 1.2; + border-bottom: 1px solid #eee; } -body img -{ - -moz-box-sizing:border-box; - box-sizing:border-box; - max-width:100%; +.markdown-body h2 { + padding-bottom: 0.3em; + font-size: 1.75em; + line-height: 1.225; + border-bottom: 1px solid #eee; } -body span.frame -{ - display:block; - overflow:hidden; +.markdown-body h3 { + font-size: 1.5em; + line-height: 1.43; } -body span.frame>span -{ - border:1px solid #ddd; - display:block; - float:left; - margin:13px 0 0; - overflow:hidden; - padding:7px; - width:auto; +.markdown-body h4 { + font-size: 1.25em; } -body span.frame span img -{ - display:block; - float:left; +.markdown-body h5 { + font-size: 1em; } -body span.frame span span -{ - clear:both; - color:#333; - display:block; - padding:5px 0 0; +.markdown-body h6 { + font-size: 1em; + color: #777; } -body span.align-center -{ - clear:both; - display:block; - overflow:hidden; +.markdown-body p, +.markdown-body blockquote, +.markdown-body ul, +.markdown-body ol, +.markdown-body dl, +.markdown-body table, +.markdown-body pre { + margin-top: 0; + margin-bottom: 16px; } -body span.align-center>span -{ - display:block; - margin:13px auto 0; - overflow:hidden; - text-align:center; +.markdown-body hr { + height: 4px; + padding: 0; + margin: 16px 0; + background-color: #e7e7e7; + border: 0 none; } -body span.align-center span img -{ - margin:0 auto; - text-align:center; +.markdown-body ul, +.markdown-body ol { + padding-left: 2em; } -body span.align-right -{ - clear:both; - display:block; - overflow:hidden; +.markdown-body ul ul, +.markdown-body ul ol, +.markdown-body ol ol, +.markdown-body ol ul { + margin-top: 0; + margin-bottom: 0; } -body span.align-right>span -{ - display:block; - margin:13px 0 0; - overflow:hidden; - text-align:right; +.markdown-body li>p { + margin-top: 16px; } -body span.align-right span img -{ - margin:0; - text-align:right; +.markdown-body dl { + padding: 0; } -body span.float-left -{ - display:block; - float:left; - margin-right:13px; - overflow:hidden; +.markdown-body dl dt { + padding: 0; + margin-top: 16px; + font-size: 1em; + font-style: italic; + font-weight: bold; } -body span.float-left span -{ - margin:13px 0 0; +.markdown-body dl dd { + padding: 0 16px; + margin-bottom: 16px; } -body span.float-right -{ - display:block; - float:right; - margin-left:13px; - overflow:hidden; +.markdown-body blockquote { + padding: 0 15px; + color: #777; + border-left: 4px solid #ddd; } -body span.float-right>span -{ - display:block; - margin:13px auto 0; - overflow:hidden; - text-align:right; +.markdown-body blockquote>:first-child { + margin-top: 0; } -body code,body tt -{ - background-color:#f8f8f8; - border:1px solid #ddd; - border-radius:3px; - margin:0 2px; - padding:0 5px; +.markdown-body blockquote>:last-child { + margin-bottom: 0; } -body code -{ - white-space:nowrap; +.markdown-body table { + display: block; + width: 100%; + overflow: auto; + word-break: normal; + word-break: keep-all; } +.markdown-body table th { + font-weight: bold; +} -code,pre{ - font-family:Consolas, "Liberation Mono", Courier, monospace; - font-size:12px +.markdown-body table th, +.markdown-body table td { + padding: 6px 13px; + border: 1px solid #ddd; } -body pre>code -{ - background:transparent; - border:none; - margin:0; - padding:0; - white-space:pre; +.markdown-body table tr { + background-color: #fff; + border-top: 1px solid #ccc; } -body .highlight pre,body pre -{ - background-color:#f8f8f8; - border:1px solid #ddd; - font-size:13px; - line-height:19px; - overflow:auto; - padding:6px 10px; - border-radius:3px +.markdown-body table tr:nth-child(2n) { + background-color: #f8f8f8; } -body pre code,body pre tt -{ - background-color:transparent; - border:none; - margin:0; - padding:0; +.markdown-body img { + max-width: 100%; + -moz-box-sizing: border-box; + box-sizing: border-box; } -body .task-list{ - list-style-type:none; - padding-left:10px +.markdown-body code { + 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; } -.task-list-item{ - padding-left:20px +.markdown-body code:before, +.markdown-body code:after { + letter-spacing: -0.2em; + content: "\00a0"; } -.task-list-item label{ - font-weight:normal +.markdown-body pre>code { + padding: 0; + margin: 0; + font-size: 100%; + word-break: normal; + white-space: pre; + background: transparent; + border: 0; } -.task-list-item.enabled label{ - cursor:pointer +.markdown-body .highlight { + margin-bottom: 16px; } -.task-list-item+.task-list-item{ - margin-top:5px +.markdown-body .highlight pre, +.markdown-body pre { + padding: 16px; + overflow: auto; + font-size: 85%; + line-height: 1.45; + background-color: #f7f7f7; + border-radius: 3px; } -.task-list-item-checkbox{ - float:left; - margin-left:-20px; - margin-top:7px +.markdown-body .highlight pre { + margin-bottom: 0; + word-break: normal; } +.markdown-body pre { + word-wrap: normal; +} -.highlight{ - background:#ffffff +.markdown-body pre code { + display: inline; + max-width: initial; + padding: 0; + margin: 0; + overflow: initial; + line-height: inherit; + word-wrap: normal; + background-color: transparent; + border: 0; } -.highlight .c{ - color:#999988; - font-style:italic +.markdown-body pre code:before, +.markdown-body pre code:after { + content: normal; } -.highlight .err{ - color:#a61717; - background-color:#e3d2d2 +.markdown-body .highlight { + background: #ffffff; } -.highlight .k{ - font-weight:bold +.markdown-body .highlight .c { + color: #999988; + font-style: italic; } -.highlight .o{ - font-weight:bold +.markdown-body .highlight .err { + color: #a61717; + background-color: #e3d2d2; } -.highlight .cm{ - color:#999988; - font-style:italic +.markdown-body .highlight .k { + font-weight: bold; } -.highlight .cp{ - color:#999999; - font-weight:bold +.markdown-body .highlight .o { + font-weight: bold; } -.highlight .c1{ - color:#999988; - font-style:italic +.markdown-body .highlight .cm { + color: #999988; + font-style: italic; } -.highlight .cs{ - color:#999999; - font-weight:bold; - font-style:italic +.markdown-body .highlight .cp { + color: #999999; + font-weight: bold; } -.highlight .gd{ - color:#000000; - background-color:#ffdddd +.markdown-body .highlight .c1 { + color: #999988; + font-style: italic; } -.highlight .gd .x{ - color:#000000; - background-color:#ffaaaa +.markdown-body .highlight .cs { + color: #999999; + font-weight: bold; + font-style: italic; } -.highlight .ge{ - font-style:italic +.markdown-body .highlight .gd { + color: #000000; + background-color: #ffdddd; } -.highlight .gr{ - color:#aa0000 +.markdown-body .highlight .gd .x { + color: #000000; + background-color: #ffaaaa; } -.highlight .gh{ - color:#999999 +.markdown-body .highlight .ge { + font-style: italic; } -.highlight .gi{ - color:#000000; - background-color:#ddffdd +.markdown-body .highlight .gr { + color: #aa0000; } -.highlight .gi .x{ - color:#000000; - background-color:#aaffaa +.markdown-body .highlight .gh { + color: #999999; } -.highlight .go{ - color:#888888 +.markdown-body .highlight .gi { + color: #000000; + background-color: #ddffdd; } -.highlight .gp{ - color:#555555 +.markdown-body .highlight .gi .x { + color: #000000; + background-color: #aaffaa; } -.highlight .gs{ - font-weight:bold +.markdown-body .highlight .go { + color: #888888; } -.highlight .gu{ - color:#800080; - font-weight:bold +.markdown-body .highlight .gp { + color: #555555; } -.highlight .gt{ - color:#aa0000 +.markdown-body .highlight .gs { + font-weight: bold; } -.highlight .kc{ - font-weight:bold +.markdown-body .highlight .gu { + color: #800080; + font-weight: bold; } -.highlight .kd{ - font-weight:bold +.markdown-body .highlight .gt { + color: #aa0000; } -.highlight .kn{ - font-weight:bold +.markdown-body .highlight .kc { + font-weight: bold; } -.highlight .kp{ - font-weight:bold +.markdown-body .highlight .kd { + font-weight: bold; } -.highlight .kr{ - font-weight:bold +.markdown-body .highlight .kn { + font-weight: bold; } -.highlight .kt{ - color:#445588; - font-weight:bold +.markdown-body .highlight .kp { + font-weight: bold; } -.highlight .m{ - color:#009999 +.markdown-body .highlight .kr { + font-weight: bold; } -.highlight .s{ - color:#d14 +.markdown-body .highlight .kt { + color: #445588; + font-weight: bold; } -.highlight .n{ - color:#333333 +.markdown-body .highlight .m { + color: #009999; } -.highlight .na{ - color:#008080 +.markdown-body .highlight .s { + color: #dd1144; } -.highlight .nb{ - color:#0086B3 +.markdown-body .highlight .n { + color: #333333; } -.highlight .nc{ - color:#445588; - font-weight:bold +.markdown-body .highlight .na { + color: teal; } -.highlight .no{ - color:#008080 +.markdown-body .highlight .nb { + color: #0086b3; } -.highlight .ni{ - color:#800080 +.markdown-body .highlight .nc { + color: #445588; + font-weight: bold; } -.highlight .ne{ - color:#990000; - font-weight:bold +.markdown-body .highlight .no { + color: teal; } -.highlight .nf{ - color:#990000; - font-weight:bold +.markdown-body .highlight .ni { + color: purple; } -.highlight .nn{ - color:#555555 +.markdown-body .highlight .ne { + color: #990000; + font-weight: bold; } -.highlight .nt{ - color:#000080 +.markdown-body .highlight .nf { + color: #990000; + font-weight: bold; } -.highlight .nv{ - color:#008080 +.markdown-body .highlight .nn { + color: #555555; } -.highlight .ow{ - font-weight:bold +.markdown-body .highlight .nt { + color: navy; } -.highlight .w{ - color:#bbbbbb +.markdown-body .highlight .nv { + color: teal; } -.highlight .mf{ - color:#009999 +.markdown-body .highlight .ow { + font-weight: bold; } -.highlight .mh{ - color:#009999 +.markdown-body .highlight .w { + color: #bbbbbb; } -.highlight .mi{ - color:#009999 +.markdown-body .highlight .mf { + color: #009999; } -.highlight .mo{ - color:#009999 +.markdown-body .highlight .mh { + color: #009999; } -.highlight .sb{ - color:#d14 +.markdown-body .highlight .mi { + color: #009999; } -.highlight .sc{ - color:#d14 +.markdown-body .highlight .mo { + color: #009999; } -.highlight .sd{ - color:#d14 +.markdown-body .highlight .sb { + color: #dd1144; } -.highlight .s2{ - color:#d14 +.markdown-body .highlight .sc { + color: #dd1144; } -.highlight .se{ - color:#d14 +.markdown-body .highlight .sd { + color: #dd1144; } -.highlight .sh{ - color:#d14 +.markdown-body .highlight .s2 { + color: #dd1144; } -.highlight .si{ - color:#d14 +.markdown-body .highlight .se { + color: #dd1144; } -.highlight .sx{ - color:#d14 +.markdown-body .highlight .sh { + color: #dd1144; } -.highlight .sr{ - color:#009926 +.markdown-body .highlight .si { + color: #dd1144; } -.highlight .s1{ - color:#d14 +.markdown-body .highlight .sx { + color: #dd1144; } -.highlight .ss{ - color:#990073 +.markdown-body .highlight .sr { + color: #009926; } -.highlight .bp{ - color:#999999 +.markdown-body .highlight .s1 { + color: #dd1144; } -.highlight .vc{ - color:#008080 +.markdown-body .highlight .ss { + color: #990073; } -.highlight .vg{ - color:#008080 +.markdown-body .highlight .bp { + color: #999999; } -.highlight .vi{ - color:#008080 +.markdown-body .highlight .vc { + color: teal; } -.highlight .il{ - color:#009999 +.markdown-body .highlight .vg { + color: teal; } -.highlight .gc{ - color:#999; - background-color:#EAF2F5 +.markdown-body .highlight .vi { + color: teal; } -.type-csharp .highlight .k{ - color:#0000FF +.markdown-body .highlight .il { + color: #009999; } -.type-csharp .highlight .kt{ - color:#0000FF +.markdown-body .highlight .gc { + color: #999; + background-color: #EAF2F5; } -.type-csharp .highlight .nf{ - color:#000000; - font-weight:normal +.markdown-body .octicon { + font: normal normal 16px octicons-anchor; + line-height: 1; + display: inline-block; + text-decoration: none; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } -.type-csharp .highlight .nc{ - color:#2B91AF +.markdown-body .octicon-link:before { + content: '\f05c'; } -.type-csharp .highlight .nn{ - color:#000000 +.markdown-body .task-list-item { + list-style-type: none; } -.type-csharp .highlight .s{ - color:#A31515 +.markdown-body .task-list-item+.task-list-item { + margin-top: 3px; } -.type-csharp .highlight .sc{ - color:#A31515 +.markdown-body .task-list-item input { + margin: 0 4px 0.25em -20px; + vertical-align: middle; } diff --git a/markdown.css b/markdown.css index a845ad94..4b8e2f3d 100644 --- a/markdown.css +++ b/markdown.css @@ -1,155 +1,615 @@ -/* Fonts */ -@font-face{ - font-family: octicons-anchor; - src: url(data:font/woff;charset=utf-8;base64,d09GRgABAAAAAAYcAA0AAAAACjQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAABMAAAABwAAAAca8vGTk9TLzIAAAFMAAAARAAAAFZG1VHVY21hcAAAAZAAAAA+AAABQgAP9AdjdnQgAAAB0AAAAAQAAAAEACICiGdhc3AAAAHUAAAACAAAAAj//wADZ2x5ZgAAAdwAAADRAAABEKyikaNoZWFkAAACsAAAAC0AAAA2AtXoA2hoZWEAAALgAAAAHAAAACQHngNFaG10eAAAAvwAAAAQAAAAEAwAACJsb2NhAAADDAAAAAoAAAAKALIAVG1heHAAAAMYAAAAHwAAACABEAB2bmFtZQAAAzgAAALBAAAFu3I9x/Nwb3N0AAAF/AAAAB0AAAAvaoFvbwAAAAEAAAAAzBdyYwAAAADP2IQvAAAAAM/bz7t4nGNgZGFgnMDAysDB1Ml0hoGBoR9CM75mMGLkYGBgYmBlZsAKAtJcUxgcPsR8iGF2+O/AEMPsznAYKMwIkgMA5REMOXicY2BgYGaAYBkGRgYQsAHyGMF8FgYFIM0ChED+h5j//yEk/3KoSgZGNgYYk4GRCUgwMaACRoZhDwCs7QgGAAAAIgKIAAAAAf//AAJ4nHWMMQrCQBBF/0zWrCCIKUQsTDCL2EXMohYGSSmorScInsRGL2DOYJe0Ntp7BK+gJ1BxF1stZvjz/v8DRghQzEc4kIgKwiAppcA9LtzKLSkdNhKFY3HF4lK69ExKslx7Xa+vPRVS43G98vG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FtjU9eNHKin0x5InTqb8lNpfKv1s1xHzTXRqgKzek/mb7nB8RZTCDhGEX3kK/8Q75AmUM/eLkfA+0Hi908Kx4eNsMgudg5GLdRD7a84npi+YxNr5i5KIbW5izXas7cHXIMAau1OueZhfj+cOcP3P8MNIWLyYOBuxL6DRylJ4cAAAB4nGNgYoAALjDJyIAOWMCiTIxMLDmZedkABtIBygAAAA==) format('woff'); +body { + width: 45em; + border: 1px solid #ddd; + outline: 1300px solid #fff; + margin: 16px auto; } -@font-face{ +body .markdown-body +{ + padding: 30px; +} + +@font-face { font-family: fontawesome-mini; src: url(data:font/woff;charset=utf-8;base64,d09GRgABAAAAAAzUABAAAAAAFNgAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAABbAAAABwAAAAcZMzaOEdERUYAAAGIAAAAHQAAACAAOQAET1MvMgAAAagAAAA+AAAAYHqhde9jbWFwAAAB6AAAAFIAAAFa4azkLWN2dCAAAAI8AAAAKAAAACgFgwioZnBnbQAAAmQAAAGxAAACZVO0L6dnYXNwAAAEGAAAAAgAAAAIAAAAEGdseWYAAAQgAAAFDgAACMz7eroHaGVhZAAACTAAAAAwAAAANgWEOEloaGVhAAAJYAAAAB0AAAAkDGEGa2htdHgAAAmAAAAAEwAAADBEgAAQbG9jYQAACZQAAAAaAAAAGgsICJBtYXhwAAAJsAAAACAAAAAgASgBD25hbWUAAAnQAAACZwAABOD4no+3cG9zdAAADDgAAABsAAAAmF+yXM9wcmVwAAAMpAAAAC4AAAAusPIrFAAAAAEAAAAAyYlvMQAAAADLVHQgAAAAAM/u9uZ4nGNgZGBg4ANiCQYQYGJgBEJuIGYB8xgABMMAPgAAAHicY2Bm42OcwMDKwMLSw2LMwMDQBqGZihmiwHycoKCyqJjB4YPDh4NsDP+BfNb3DIuAFCOSEgUGRgAKDgt4AAB4nGNgYGBmgGAZBkYGEAgB8hjBfBYGCyDNxcDBwMTA9MHhQ9SHrA8H//9nYACyQyFs/sP86/kX8HtB9UIBIxsD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u+cfgQr42G3CRpeLoZ53gmfe3X6rcKt5oVxnptHR9JS8ehVUd5wvvahN2uqxOOpMXapibI5k7Zwbt4xBSaTfoKBufhAnO/uqNcfK8OTs0OQ6l7JIqFjDhYj5WcjevCnI/1DDiI8j4ndWb/5YzDZWh79yomWXeXj7Nnw70/2TIeFPTrlSh89k1ObOSRVZWZfgF0r/zJQB4nG2JUQuCQBCEd07TTg36fb2IyBaLd3vWaUh/vmSJnvpgmG8YcmS8X3Shf3R7QA4OBUocUKHGER5NNbOOEvwc1txnuWkTRb/aPjimJ5vXabI+3VfOiyS15UWvyezM2xiGOPyuMohOH8O8JiO4Af+FsAGNAEuwCFBYsQEBjlmxRgYrWCGwEFlLsBRSWCGwgFkdsAYrXFhZsBQrAAA=) format('woff'); } -/* Body */ -html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; } +@font-face { + font-family: octicons-anchor; + src: url(data:font/woff;charset=utf-8;base64,d09GRgABAAAAAAYcAA0AAAAACjQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAABMAAAABwAAAAca8vGTk9TLzIAAAFMAAAARAAAAFZG1VHVY21hcAAAAZAAAAA+AAABQgAP9AdjdnQgAAAB0AAAAAQAAAAEACICiGdhc3AAAAHUAAAACAAAAAj//wADZ2x5ZgAAAdwAAADRAAABEKyikaNoZWFkAAACsAAAAC0AAAA2AtXoA2hoZWEAAALgAAAAHAAAACQHngNFaG10eAAAAvwAAAAQAAAAEAwAACJsb2NhAAADDAAAAAoAAAAKALIAVG1heHAAAAMYAAAAHwAAACABEAB2bmFtZQAAAzgAAALBAAAFu3I9x/Nwb3N0AAAF/AAAAB0AAAAvaoFvbwAAAAEAAAAAzBdyYwAAAADP2IQvAAAAAM/bz7t4nGNgZGFgnMDAysDB1Ml0hoGBoR9CM75mMGLkYGBgYmBlZsAKAtJcUxgcPsR8iGF2+O/AEMPsznAYKMwIkgMA5REMOXicY2BgYGaAYBkGRgYQ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A/GG5i2WJ7wu430yQ5K3nFGiOqgtmSB5pJVSizwaacmUZzZhXLlZTq8qGGFY2YcSkqbth6aW1tRmlaCFs2016m5qn36SbJrqosG4uMV4aP2PHBmB3tjtmgN2izkGQyLWprekbIntJFing32a5rKWCN/SdSoga45EJykyQ7asZvHQ8PTm6cslIpwyeyjbVltNikc2HTR7YKh9LBl9DADC0U/jLcBZDKrMhUBfQBvXRzLtFtjU9eNHKin0x5InTqb8lNpfKv1s1xHzTXRqgKzek/mb7nB8RZTCDhGEX3kK/8Q75AmUM/eLkfA+0Hi908Kx4eNsMgudg5GLdRD7a84npi+YxNr5i5KIbW5izXas7cHXIMAau1OueZhfj+cOcP3P8MNIWLyYOBuxL6DRylJ4cAAAB4nGNgYoAALjDJyIAOWMCiTIxMLDmZedkABtIBygAAAA==) format('woff'); +} -body{ - color:#4d4d4c; - font-family:Georgia, Palatino, 'Palatino Linotype', Times, 'Times New Roman', - "Hiragino Sans GB", "STXihei", "微软雅黑", serif; - font-size:12px; - line-height:1.5em; - background:#fefefe; - width: 45em; - margin: 10px auto; - padding: 30px; - border: 1px solid #ddd; - outline: 1300px solid #f8f8f8; +.markdown-body { + font-family: sans-serif; + -ms-text-size-adjust: 100%; + -webkit-text-size-adjust: 100%; + color: #333333; + overflow: hidden; + font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif; + font-size: 16px; + line-height: 1.6; + word-wrap: break-word; } -/* Links */ -a{ color: #06d; text-decoration:none; } -a:hover{ color: #06e; text-decoration: underline; } -a:active{ color:#faa700; } -a:focus{ outline: thin dotted; } -a:hover, a:active{ outline: 0; } +.markdown-body a { + background: transparent; +} -::-moz-selection { background:#a8d1ff; color:#000 } -::selection { background:#a8d1ff; color:#000 } +.markdown-body a:active, +.markdown-body a:hover { + outline: 0; +} -a::-moz-selection { background:#a8d1ff; color:#0645ad } -a::selection { background:#a8d1ff; color:#0645ad } +.markdown-body b, +.markdown-body strong { + font-weight: bold; +} + +.markdown-body mark { + background: #ff0; + color: #000; + font-style: italic; + font-weight: bold; +} -/* Header Anchor Links*/ -.headeranchor-link { - color:#111; +.markdown-body sub, +.markdown-body sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} +.markdown-body sup { + top: -0.5em; +} +.markdown-body sub { + bottom: -0.25em; +} + +.markdown-body h1 { + font-size: 2em; + margin: 0.67em 0; +} + +.markdown-body img { border: 0; - margin-left: -20px; - padding-right: 6px; - cursor: pointer; +} + +.markdown-body hr { + -moz-box-sizing: content-box; + box-sizing: content-box; + height: 0; +} + +.markdown-body pre { + overflow: auto; +} + +.markdown-body code, +.markdown-body kbd, +.markdown-body pre, +.markdown-body samp { + font-family: monospace, monospace; + font-size: 1em; +} + +.markdown-body input { + color: inherit; + font: inherit; + margin: 0; +} + +.markdown-body html input[disabled] { + cursor: default; +} + +.markdown-body input { + line-height: normal; +} + +.markdown-body input[type="checkbox"] { + box-sizing: border-box; + padding: 0; +} + +.markdown-body table { + border-collapse: collapse; + border-spacing: 0; +} + +.markdown-body td, +.markdown-body th { + padding: 0; +} + +.markdown-body .codehilitetable { + border: 0; + border-spacing: 0; +} + +.markdown-body .codehilitetable tr { + border: 0; +} + +.markdown-body .codehilitetable pre, +.markdown-body div.codehilite { + margin: 0; +} + +.markdown-body .linenos, +.markdown-body .code, +.markdown-body .codehilitetable td { + border: 0; + padding: 0; +} + +.markdown-body td:not(.linenos) .linenodiv { + padding: 0 !important; +} + +.markdown-body .code { + width: 100%; +} + +.markdown-body .linenos div pre, +.markdown-body .linenodiv pre, +.markdown-body .linenodiv { + border: 0; + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; + -webkit-border-top-left-radius: 3px; + -webkit-border-bottom-left-radius: 3px; + -moz-border-radius-topleft: 3px; + -moz-border-radius-bottomleft: 3px; + border-top-left-radius: 3px; + border-bottom-left-radius: 3px; +} + +.markdown-body .code div pre, +.markdown-body .code div { + border: 0; + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; + -webkit-border-top-right-radius: 3px; + -webkit-border-bottom-right-radius: 3px; + -moz-border-radius-topright: 3px; + -moz-border-radius-bottomright: 3px; + border-top-right-radius: 3px; + border-bottom-right-radius: 3px; +} + +.markdown-body * { + -moz-box-sizing: border-box; + box-sizing: border-box; +} + +.markdown-body input { + font: 13px Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol"; + line-height: 1.4; +} + +.markdown-body a { + color: #4183c4; + text-decoration: none; +} + +.markdown-body a:hover, +.markdown-body a:focus, +.markdown-body a:active { + text-decoration: underline; +} + +.markdown-body hr { + height: 0; + margin: 15px 0; + overflow: hidden; + background: transparent; + border: 0; + border-bottom: 1px solid #ddd; +} + +.markdown-body hr:before, +.markdown-body hr:after { + display: table; + content: " "; +} + +.markdown-body hr:after { + clear: both; +} + +.markdown-body h1, +.markdown-body h2, +.markdown-body h3, +.markdown-body h4, +.markdown-body h5, +.markdown-body h6 { + margin-top: 15px; + margin-bottom: 15px; + line-height: 1.1; +} + +.markdown-body h1 { + font-size: 30px; +} + +.markdown-body h2 { + font-size: 21px; +} + +.markdown-body h3 { + font-size: 16px; +} + +.markdown-body h4 { + font-size: 14px; +} + +.markdown-body h5 { + font-size: 12px; +} + +.markdown-body h6 { + font-size: 11px; +} + +.markdown-body blockquote { + margin: 0; +} + +.markdown-body ul, +.markdown-body ol { + padding: 0; + margin-top: 0; + margin-bottom: 0; +} + +.markdown-body ol ol, +.markdown-body ul ol { + list-style-type: lower-roman; +} + +.markdown-body ul ul ol, +.markdown-body ul ol ol, +.markdown-body ol ul ol, +.markdown-body ol ol ol { + list-style-type: lower-alpha; +} + +.markdown-body dd { + margin-left: 0; +} + +.markdown-body code, +.markdown-body pre, +.markdown-body samp { + font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; + font-size: 12px; +} + +.markdown-body pre { + margin-top: 0; + margin-bottom: 0; +} + +.markdown-body kbd { + background-color: #e7e7e7; + background-image: -moz-linear-gradient(#fefefe, #e7e7e7); + background-image: -webkit-linear-gradient(#fefefe, #e7e7e7); + background-image: linear-gradient(#fefefe, #e7e7e7); + background-repeat: repeat-x; + border-radius: 2px; + border: 1px solid #cfcfcf; + color: #000; + padding: 3px 5px; + line-height: 10px; + font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace; + display: inline-block; +} + +.markdown-body>*:first-child { + margin-top: 0 !important; +} + +.markdown-body>*:last-child { + margin-bottom: 0 !important; +} + +.markdown-body .headeranchor-link { position: absolute; - display: block; top: 0; - left: 0; bottom: 0; + left: 0; + display: block; + padding-right: 6px; + padding-left: 30px; + margin-left: -30px; } -.headeranchor { - font: normal normal 16px octicons-anchor; +.markdown-body .headeranchor-link:focus { + outline: none; +} + +.markdown-body h1, +.markdown-body h2, +.markdown-body h3, +.markdown-body h4, +.markdown-body h5, +.markdown-body h6 { + position: relative; + margin-top: 1em; + margin-bottom: 16px; + font-weight: bold; + line-height: 1.4; +} + +.markdown-body h1 .headeranchor, +.markdown-body h2 .headeranchor, +.markdown-body h3 .headeranchor, +.markdown-body h4 .headeranchor, +.markdown-body h5 .headeranchor, +.markdown-body h6 .headeranchor { + display: none; + color: #000; + vertical-align: middle; +} + +.markdown-body h1:hover .headeranchor-link, +.markdown-body h2:hover .headeranchor-link, +.markdown-body h3:hover .headeranchor-link, +.markdown-body h4:hover .headeranchor-link, +.markdown-body h5:hover .headeranchor-link, +.markdown-body h6:hover .headeranchor-link { + height: 1em; + padding-left: 8px; + margin-left: -30px; line-height: 1; - -moz-osx-font-smoothing: grayscale; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; + text-decoration: none; } -.headeranchor-link:hover, -.headeranchor-link:visited, -.headeranchor-link:active -{ text-decoration: none; color:#4d4d4c; } -.headeranchor-link:hover .headeranchor:before, -h1:hover .headeranchor:before, -h2:hover .headeranchor:before, -h3:hover .headeranchor:before, -h4:hover .headeranchor:before, -h5:hover .headeranchor:before, -h6:hover .headeranchor:before -{ content: '\f05c'; } +.markdown-body h1:hover .headeranchor-link .headeranchor, +.markdown-body h2:hover .headeranchor-link .headeranchor, +.markdown-body h3:hover .headeranchor-link .headeranchor, +.markdown-body h4:hover .headeranchor-link .headeranchor, +.markdown-body h5:hover .headeranchor-link .headeranchor, +.markdown-body h6:hover .headeranchor-link .headeranchor { + display: inline-block; +} -abbr { cursor: pointer; } +.markdown-body h1 { + padding-bottom: 0.3em; + font-size: 2.25em; + line-height: 1.2; + border-bottom: 1px solid #eee; +} -/* Paragraphs */ -p { margin:1em 0; } +.markdown-body h2 { + padding-bottom: 0.3em; + font-size: 1.75em; + line-height: 1.225; + border-bottom: 1px solid #eee; +} -/* Images */ -img { - max-width:100%; - border: 0; - -ms-interpolation-mode: bicubic; - vertical-align: middle; +.markdown-body h3 { + font-size: 1.5em; + line-height: 1.43; } -/* Headers */ -h1,h2,h3,h4,h5,h6 { - font-weight:normal; - color:#111; - line-height: 1.7; - position: relative; +.markdown-body h4 { + font-size: 1.25em; } -h4,h5,h6{ font-weight: bold; } -h1 { font-size:2.5em; border-bottom: 1px solid #ddd;} -h2 { font-size:2em; border-bottom:1px solid #eee; padding-bottom: 5px; } -h3 { font-size:1.5em; } -h4 { font-size:1.2em; } -h5 { font-size:1em; } -h6 { font-size:0.9em; } - -/* Block Quotes */ -blockquote { - color:#666666; - margin:0; - padding-left: 3em; - border-left: 0.5em #EEE solid; -} -hr { display: block; height: 2px; border: 0; border-top: 1px solid #aaa;border-bottom: 1px solid #eee; margin: 1em 0; padding: 0; } - -/* Raw Blocks */ -pre, code, kbd, samp { - color: #000; - font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; + +.markdown-body h5 { + font-size: 1em; +} + +.markdown-body h6 { + font-size: 1em; + color: #777; +} + +.markdown-body p, +.markdown-body blockquote, +.markdown-body ul, +.markdown-body ol, +.markdown-body dl, +.markdown-body table, +.markdown-body pre, +.markdown-body .admonition { + margin-top: 0; + margin-bottom: 16px; +} + +.markdown-body hr { + height: 4px; + padding: 0; + margin: 16px 0; + background-color: #e7e7e7; + border: 0 none; +} + +.markdown-body ul, +.markdown-body ol { + padding-left: 2em; +} + +.markdown-body ul ul, +.markdown-body ul ol, +.markdown-body ol ol, +.markdown-body ol ul { + margin-top: 0; + margin-bottom: 0; +} + +.markdown-body li>p { + margin-top: 16px; +} + +.markdown-body dl { + padding: 0; +} + +.markdown-body dl dt { + padding: 0; + margin-top: 16px; + font-size: 1em; + font-style: italic; + font-weight: bold; +} + +.markdown-body dl dd { + padding: 0 16px; + margin-bottom: 16px; +} + +.markdown-body blockquote { + padding: 0 15px; + color: #777; + border-left: 4px solid #ddd; +} + +.markdown-body blockquote>:first-child { + margin-top: 0; +} + +.markdown-body blockquote>:last-child { + margin-bottom: 0; +} + +.markdown-body table { + display: block; + width: 100%; + overflow: auto; + word-break: normal; + word-break: keep-all; +} + +.markdown-body table th { + font-weight: bold; +} + +.markdown-body table th, +.markdown-body table td { + padding: 6px 13px; + border: 1px solid #ddd; +} + +.markdown-body table tr { + background-color: #fff; + border-top: 1px solid #ccc; +} + +.markdown-body table tr:nth-child(2n) { + background-color: #f8f8f8; +} + +.markdown-body img { + max-width: 100%; + -moz-box-sizing: border-box; + box-sizing: border-box; +} + +.markdown-body code, +.markdown-body samp { + 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-size: 0.88em; - background-color: #F8F8F8; - border: 1px solid #CCC; } -pre { - padding: 10px; +.markdown-body code:before, +.markdown-body code:after { + letter-spacing: -0.2em; + content: "\00a0"; +} + +.markdown-body pre>code { + padding: 0; + margin: 0; + font-size: 100%; + word-break: normal; + white-space: pre; + background: transparent; + border: 0; +} + +.markdown-body .codehilite { + margin-bottom: 16px; +} + +.markdown-body .codehilite pre, +.markdown-body pre { + padding: 16px; overflow: auto; + font-size: 85%; + line-height: 1.45; + background-color: #f7f7f7; + border-radius: 3px; +} + +.markdown-body .codehilite pre { + margin-bottom: 0; + word-break: normal; +} + +.markdown-body pre { + word-wrap: normal; } -code { padding: 0 3px 0 3px; } -pre code { border: 0; padding: 0; } +.markdown-body pre code { + display: inline; + max-width: initial; + padding: 0; + margin: 0; + overflow: initial; + line-height: inherit; + word-wrap: normal; + background-color: transparent; + border: 0; +} + +.markdown-body pre code:before, +.markdown-body pre code:after { + content: normal; +} /* Admonition */ -.admonition { +.markdown-body .admonition { -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; - font-size: 0.88em; padding: 0.5em 1em 0.5em 1em; - margin: 10px auto; color: #888888; - background-color: #F8F8F8; + background-color: #F7F7F7; border: 1px solid #888888; } -.admonition p { padding: 0; margin: 0; } -.admonition-title { font-weight: bold; margin: 0; } +.markdown-body .admonition blockquote { + color: rgba(136, 136, 136, 0.5); + border-left: 4px solid rgba(136, 136, 136, 0.5); +} + +.markdown-body .admonition table { + color: #333; +} -.admonition-icon { +.markdown-body .admonition p { + padding: 0; + margin: 0; +} + +.markdown-body .admonition-title { + font-weight: bold; + margin: 0; +} + +.markdown-body .admonition-icon { font: normal normal 16px fontawesome-mini; line-height: 1.5; -moz-osx-font-smoothing: grayscale; @@ -160,22 +620,103 @@ pre code { border: 0; padding: 0; } float: left; } -.admonition.attention { color: #4F8A10; background-color: #DFF2BF; border: 1px solid #4F8A10; } -.admonition.caution { color: #D63301; background-color: #FFCCBA; border: 1px solid #D63301; } -.admonition.hint { color: #00529B; background-color: #BDE5F8; border: 1px solid #00529B; } -.admonition.danger { color: #D8000C; background-color: #FFBABA; border: 1px solid #D8000C; } -.admonition.question { color: #00049b; background-color: #BDC8F8; border: 1px solid #00049b; } -.admonition.note { color: #9F6000; background-color: #FEEFB3; border: 1px solid #9F6000; } +.markdown-body .attention { + color: #4F8A10; + background-color: #DFF2BF; + border: 1px solid #4F8A10; +} -.attention > .admonition-icon:before { content: "\f058\00a0"; } -.caution > .admonition-icon:before { content: "\f06a\00a0"; } -.hint > .admonition-icon:before { content: "\f05a\00a0"; } -.danger > .admonition-icon:before { content: "\f056\00a0"; } -.question > .admonition-icon:before { content: "\f059\00a0"; } -.note > .admonition-icon:before { content: "\f040\00a0"; } +.markdown-body .caution { + color: #D63301; + background-color: #FFCCBA; + border: 1px solid #D63301; +} + +.markdown-body .hint { + color: #00529B; + background-color: #BDE5F8; + border: 1px solid #00529B; +} + +.markdown-body .danger { + color: #D8000C; + background-color: #FFBABA; + border: 1px solid #D8000C; +} + +.markdown-body .question { + color: #00049b; + background-color: #BDC8F8; + border: 1px solid #00049b; +} + +.markdown-body .note { + color: #9F6000; + background-color: #FEEFB3; + border: 1px solid #9F6000; +} + +.markdown-body .attention { + color: #4F8A10; + background-color: #DFF2BF; + border: 1px solid #4F8A10; +} + +.markdown-body .caution blockquote { + color: rgba(214, 51, 1, .5); + border-left: 4px solid rgba(214, 51, 1, .5); +} + +.markdown-body .hint blockquote { + color: rgba(0, 82, 155, .5); + border-left: 4px solid rgba(0, 82, 155, .5); +} + +.markdown-body .danger blockquote { + color: rgba(216, 0, 12, .5); + border-left: 4px solid rgba(216, 0, 12, .5); +} + +.markdown-body .question blockquote { + color: rgba(0, 4, 155, .5); + border-left: 4px solid rgba(0, 4, 155, .5);; +} + +.markdown-body .note blockquote { + color: rgba(159, 96, 0, .5); + border-left: 4px solid rgba(159, 96, 0, .5); +} + +.markdown-body .admonition-icon:before { + content: "\f040\00a0"; +} + +.markdown-body .attention > .admonition-icon:before { + content: "\f058\00a0"; +} + +.markdown-body .caution > .admonition-icon:before { + content: "\f06a\00a0"; +} + +.markdown-body .hint > .admonition-icon:before { + content: "\f05a\00a0"; +} + +.markdown-body .danger > .admonition-icon:before { + content: "\f056\00a0"; +} + +.markdown-body .question > .admonition-icon:before { + content: "\f059\00a0"; +} + +.markdown-body .note > .admonition-icon:before { + content: "\f040\00a0"; +} /* progress bar*/ -.progress { +.markdown-body .progress { display: block; width: 300px; margin: 10px 0; @@ -189,29 +730,20 @@ pre code { border: 0; padding: 0; } box-shadow: inset -1px 1px 3px rgba(0, 0, 0, .1); } -.progress-label { +.markdown-body .progress-label { position: absolute; text-align: center; font-weight: bold; width: 100%; margin: 0; line-height: 24px; color: #333; - text-shadow: - 1px 1px 0px #fefefe, - -1px -1px 0px #fefefe, - -1px 1px 0px #fefefe, - 1px -1px 0px #fefefe, - 0px 1px 0px #fefefe, - 0px -1px 0px #fefefe, - 1px 0px 0px #fefefe, - -1px 0px 0px #fefefe, - 1px 1px 2px #000; + text-shadow: 1px 1px 0 #fefefe, -1px -1px 0 #fefefe, -1px 1px 0 #fefefe, 1px -1px 0 #fefefe, 0 1px 0 #fefefe, 0 -1px 0 #fefefe, 1px 0 0 #fefefe, -1px 0 0 #fefefe, 1px 1px 2px #000; -webkit-font-smoothing: antialiased !important; white-space: nowrap; overflow: hidden; } -.progress-bar { +.markdown-body .progress-bar { height: 24px; float: left; border-right: 1px solid #ccc; @@ -219,14 +751,14 @@ pre code { border: 0; padding: 0; } -moz-border-radius: 3px; border-radius: 3px; background-color: #34c2e3; - box-shadow: inset 0 1px 0px rgba(255, 255, 255, .5); + box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5); background-size: 30px 30px; background-image: -webkit-linear-gradient( - 135deg, - rgba(255, 255, 255, .4) 27%, transparent 27%, + 135deg, rgba(255, 255, 255, .4) 27%, + transparent 27%, transparent 53%, rgba(255, 255, 255, .4) 53%, - rgba(255, 255, 255, .4) 77%, transparent 77%, - transparent + rgba(255, 255, 255, .4) 77%, + transparent 77%, transparent ); background-image: -moz-linear-gradient( 135deg, @@ -258,118 +790,212 @@ pre code { border: 0; padding: 0; } ); } -.progress-100plus .progress-bar { background-color: #1ee038; } -.progress-80plus .progress-bar { background-color: #86e01e; } -.progress-60plus .progress-bar { background-color: #f2d31b; } -.progress-40plus .progress-bar { background-color: #f2b01e; } -.progress-20plus .progress-bar { background-color: #f27011; } -.progress-0plus .progress-bar { background-color: #f63a0f; } +.markdown-body .progress-100plus .progress-bar { + background-color: #1ee038; +} + +.markdown-body .progress-80plus .progress-bar { + background-color: #86e01e; +} -.gloss .progress-bar { +.markdown-body .progress-60plus .progress-bar { + background-color: #f2d31b; +} + +.markdown-body .progress-40plus .progress-bar { + background-color: #f2b01e; +} + +.markdown-body .progress-20plus .progress-bar { + background-color: #f27011; +} + +.markdown-body .progress-0plus .progress-bar { + background-color: #f63a0f; +} + +.markdown-body .gloss .progress-bar { box-shadow: - inset -1px 1px 0px rgba(255, 255, 255, .5), + inset -1px 1px 0 rgba(255, 255, 255, .5), inset 0 -4px 12px rgba(255, 255, 255, .7), inset 0 4px 12px rgba(255, 255, 255, .7), - inset 0 -12px 0px rgba(0, 0, 0, .05), - inset 1px -1px 0px rgba(255, 255, 255, .2); + inset 0 -12px 0 rgba(0, 0, 0, .05), + inset 1px -1px 0 rgba(255, 255, 255, .2); } -.candystripe-animate .progress-bar{ +.markdown-body .candystripe-animate .progress-bar{ -webkit-animation: animate-stripes 3s linear infinite; -moz-animation: animate-stripes 3s linear infinite; animation: animate-stripes 3s linear infinite; } -@-webkit-keyframes animate-stripes { 0% { background-position: 0 0; } 100% { background-position: 60px 0; } } -@-moz-keyframes animate-stripes { 0% { background-position: 0 0; } 100% { background-position: 60px 0; } } -@keyframes animate-stripes { 0% { background-position: 0 0; } 100% { background-position: 60px 0; } } +@-webkit-keyframes animate-stripes { + 0% { + background-position: 0 0; + } + + 100% { + background-position: 60px 0; + } +} + +@-moz-keyframes animate-stripes { + 0% { + background-position: 0 0; + } -/* Inlines */ -b, strong { font-weight: bold; } + 100% { + background-position: 60px 0; + } +} -mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; } +@keyframes animate-stripes { + 0% { + background-position: 0 0; + } -sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } -sup { top: -0.5em; } -sub { bottom: -0.25em; } + 100% { + background-position: 60px 0; + } +} -dfn { font-style: italic; } +/* Multimarkdown Critic Blocks */ +.markdown-body .critic_mark { + background: #ff0; +} -/* Lists */ -ul, ol { padding-left: 30px; } -li p:last-child { margin:0 } -.task-list-item { list-style-type: none; } -.task-list-item input { float:left; margin-left: -20px; margin-top: 6px; } -dt { font-weight: bold; font-style: italic;} -dd { margin: 0 0 0 2em; } +.markdown-body .critic_delete { + color: #c82829; + text-decoration: line-through; +} -/* Tables */ -table { width: 100%; border-collapse: collapse; overflow-x: auto; overflow-y: hidden; display: block;} -table tr { background-color: #fefefe; } -table tr:nth-child(2n) { background-color: #f8f8f8; } -td, th { border: 1px solid #ddd; padding: 6px 13px; } +.markdown-body .critic_insert { + color: #718c00 ; + text-decoration: underline; +} -/* Codehilite Tables */ -.codehilitetable { border: 0; border-spacing: 0; } -.linenos, .code, .codehilitetable td { border: 0; padding: 0; } -td:not(.linenos) .linenodiv { padding: 0 !important; } -.code { width: 100%; } -.linenos div pre, .linenodiv pre { - border: 0; - border-top: 1px solid #CCC; - border-left: 1px solid #CCC; - border-right: 1px solid #CCC; - border-bottom: 1px solid #CCC; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - -webkit-border-top-left-radius: 3px; - -webkit-border-bottom-left-radius: 3px; - -moz-border-radius-topleft: 3px; - -moz-border-radius-bottomleft: 3px; - border-top-left-radius: 3px; - border-bottom-left-radius: 3px; +.markdown-body .critic_comment { + color: #8e908c; + font-style: italic; } -.code div pre { - border: 0; - border-top: 1px solid #CCC; - border-right: 1px solid #CCC; - border-bottom: 1px solid #CCC; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - -webkit-border-top-right-radius: 3px; - -webkit-border-bottom-right-radius: 3px; - -moz-border-radius-topright: 3px; - -moz-border-radius-bottomright: 3px; - border-top-right-radius: 3px; - border-bottom-right-radius: 3px; +.markdown-body .headeranchor { + font: normal normal 16px octicons-anchor; + line-height: 1; + display: inline-block; + text-decoration: none; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.headeranchor:before { + content: '\f05c'; +} + +.markdown-body .task-list-item { + list-style-type: none; +} + +.markdown-body .task-list-item+.task-list-item { + margin-top: 3px; +} + +.markdown-body .task-list-item input { + margin: 0 4px 0.25em -20px; + vertical-align: middle; } /* Media */ @media only screen and (min-width: 480px) { - body{ font-size:14px; } + .markdown-body { + font-size:14px; + } } @media only screen and (min-width: 768px) { - body{ font-size:16px; } + .markdown-body { + font-size:16px; + } } @media print { - * { background: transparent !important; color: black !important; filter:none !important; -ms-filter: none !important; } - body{ font-size:12pt; max-width:100%; outline:none; border: 0;} - a, a:visited { text-decoration: underline; } - .headeranchor-link { display: none; } - hr { height: 1px; border:0; border-bottom:1px solid black; } - a[href]:after { content: " (" attr(href) ")"; } - abbr[title]:after { content: " (" attr(title) ")"; } - .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } - pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; } - pre, blockquote { border: 1px solid #999; padding-right: 1em; page-break-inside: avoid; } - .progress, .progress-bar { box-shadow: none; } - tr, img { page-break-inside: avoid; } - img { max-width: 100% !important; } - p, h2, h3 { orphans: 3; widows: 3; } - h2, h3 { page-break-after: avoid; } + .markdown-body * { + background: transparent !important; + color: black !important; + filter:none !important; + -ms-filter: none !important; + } + + .markdown-body { + font-size:12pt; + max-width:100%; + outline:none; + border: 0; + } + + .markdown-body a, + .markdown-body a:visited { + text-decoration: underline; + } + + .markdown-body .headeranchor-link { + display: none; + } + + .markdown-body a[href]:after { + content: " (" attr(href) ")"; + } + + .markdown-body abbr[title]:after { + content: " (" attr(title) ")"; + } + + .markdown-body .ir a:after, + .markdown-body a[href^="javascript:"]:after, + .markdown-body a[href^="#"]:after { + content: ""; + } + + .markdown-body pre { + white-space: pre; + white-space: pre-wrap; + word-wrap: break-word; + } + + .markdown-body pre, + .markdown-body blockquote { + border: 1px solid #999; + padding-right: 1em; + page-break-inside: avoid; + } + + .markdown-body .progress, + .markdown-body .progress-bar { + box-shadow: none; + } + + .markdown-body tr, + .markdown-body img { + page-break-inside: avoid; + } + + .markdown-body img { + max-width: 100% !important; + } + + .markdown-body p, + .markdown-body h2, + .markdown-body h3 { + orphans: 3; + widows: 3; + } + + .markdown-body h2, + .markdown-body h3 { + page-break-after: avoid; + } } diff --git a/tests/test.md b/tests/test.md index 61048b11..5efbb33e 100644 --- a/tests/test.md +++ b/tests/test.md @@ -98,6 +98,8 @@ New paragraph. ``` `inline block` +ctrl+alt+del + **bold 1** and __bold 2__ *italic 1* and _italic 2_ @@ -140,6 +142,8 @@ __~~*strike italic 1 bold 2*~~__ and *~~__strike italic 1 bold 2__~~* `inline block` +ctrl+alt+del + **bold 1** and __bold 2__ *italic 1* and _italic 2_