github-markdown-css/github-markdown.css

646 lines
10 KiB
CSS
Raw Normal View History

.markdown-body {
2014-05-08 02:02:46 +08:00
font-family: sans-serif;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}
.markdown-body a:focus {
2014-05-08 02:02:46 +08:00
outline: thin dotted;
}
.markdown-body a:active,
.markdown-body a:hover {
2014-05-08 02:02:46 +08:00
outline: 0;
}
.markdown-body h1 {
2014-05-08 02:02:46 +08:00
font-size: 2em;
margin: .67em 0;
}
.markdown-body strong {
2014-05-08 02:02:46 +08:00
font-weight: bold;
}
.markdown-body hr {
2014-05-08 02:02:46 +08:00
-moz-box-sizing: content-box;
box-sizing: content-box;
height: 0;
}
.markdown-body code,
.markdown-body pre {
2014-05-08 02:02:46 +08:00
font-family: monospace, serif;
font-size: 1em;
}
.markdown-body img {
2014-05-08 02:02:46 +08:00
border: 0;
}
.markdown-body table {
2014-05-08 02:02:46 +08:00
border-collapse: collapse;
border-spacing: 0;
}
.markdown-body {
2014-05-08 02:02:46 +08:00
font: 13px Helvetica, arial, freesans, clean, sans-serif;
line-height: 1.4;
}
.markdown-body {
2014-05-08 02:02:46 +08:00
color: #333333;
}
.markdown-body * {
2014-05-08 02:02:46 +08:00
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.markdown-body a {
2014-05-08 02:02:46 +08:00
color: #4183c4;
text-decoration: none;
}
.markdown-body a:hover {
2014-05-08 02:02:46 +08:00
text-decoration: underline;
}
.markdown-body a:focus,
.markdown-body a:active {
2014-05-08 02:02:46 +08:00
text-decoration: underline;
}
.markdown-body hr {
2014-05-08 02:02:46 +08:00
height: 0;
margin: 15px 0;
overflow: hidden;
background: transparent;
border: 0;
border-bottom: 1px solid #ddd;
}
.markdown-body hr:before,
.markdown-body hr:after {
2014-05-08 02:02:46 +08:00
content: " ";
display: table;
}
.markdown-body hr:after {
2014-05-08 02:02:46 +08:00
clear: both;
}
.markdown-body ol ol {
2014-05-08 02:02:46 +08:00
list-style-type: lower-roman;
}
.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
2014-05-08 02:02:46 +08:00
margin-top: 15px;
margin-bottom: 15px;
line-height: 1.1;
}
.markdown-body h1 {
2014-05-08 02:02:46 +08:00
font-size: 30px;
}
.markdown-body h2 {
2014-05-08 02:02:46 +08:00
font-size: 21px;
}
.markdown-body h3 {
2014-05-08 02:02:46 +08:00
font-size: 16px;
}
.markdown-body h4 {
2014-05-08 02:02:46 +08:00
font-size: 14px;
}
.markdown-body h5 {
2014-05-08 02:02:46 +08:00
font-size: 12px;
}
.markdown-body h6 {
2014-05-08 02:02:46 +08:00
font-size: 11px;
}
.markdown-body blockquote {
2014-05-08 02:02:46 +08:00
margin: 0;
}
.markdown-body ul,
.markdown-body ol {
2014-05-08 02:02:46 +08:00
padding: 0;
margin-top: 0;
margin-bottom: 0;
}
.markdown-body dd {
2014-05-08 02:02:46 +08:00
margin-left: 0;
}
.markdown-body code,
.markdown-body pre {
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
2014-05-08 02:02:46 +08:00
font-size: 12px;
}
.markdown-body pre {
2014-05-08 02:02:46 +08:00
margin-top: 0;
margin-bottom: 0;
}
.markdown-body {
font-size: 15px;
line-height: 1.7;
overflow: hidden;
word-wrap: break-word;
}
.markdown-body>*:first-child {
margin-top: 0 !important;
}
.markdown-body>*:last-child {
margin-bottom: 0 !important;
}
.markdown-body a.anchor {
display: block;
padding-right: 6px;
padding-left: 30px;
margin-left: -30px;
cursor: pointer;
position: absolute;
top: 0;
left: 0;
bottom: 0;
}
.markdown-body a.anchor:focus {
outline: none;
}
.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
margin: 1em 0 15px;
padding: 0;
font-weight: bold;
line-height: 1.7;
cursor: text;
position: relative;
}
.markdown-body h1 {
font-size: 2.5em;
border-bottom: 1px solid #ddd;
}
.markdown-body h2 {
font-size: 2em;
border-bottom: 1px solid #eee;
}
.markdown-body h3 {
font-size: 1.5em;
}
.markdown-body h4 {
font-size: 1.2em;
}
.markdown-body h5 {
font-size: 1em;
}
.markdown-body h6 {
color: #777;
font-size: 1em;
}
.markdown-body p,
.markdown-body blockquote,
.markdown-body ul,
.markdown-body ol,
.markdown-body dl,
.markdown-body table,
.markdown-body pre {
margin: 15px 0;
}
.markdown-body hr {
background: transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAECAYAAACtBE5DAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OENDRjNBN0E2NTZBMTFFMEI3QjRBODM4NzJDMjlGNDgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OENDRjNBN0I2NTZBMTFFMEI3QjRBODM4NzJDMjlGNDgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo4Q0NGM0E3ODY1NkExMUUwQjdCNEE4Mzg3MkMyOUY0OCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo4Q0NGM0E3OTY1NkExMUUwQjdCNEE4Mzg3MkMyOUY0OCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PqqezsUAAAAfSURBVHjaYmRABcYwBiM2QSA4y4hNEKYDQxAEAAIMAHNGAzhkPOlYAAAAAElFTkSuQmCC) repeat-x 0 0;
border: 0 none;
color: #ccc;
height: 4px;
padding: 0;
margin: 15px 0;
}
.markdown-body ul,
.markdown-body ol {
padding-left: 30px;
}
.markdown-body ol ol,
.markdown-body ol ul {
margin-top: 0;
margin-bottom: 0;
}
.markdown-body dl {
padding: 0;
}
.markdown-body dl dt {
font-size: 14px;
font-weight: bold;
font-style: italic;
padding: 0;
margin-top: 15px;
}
.markdown-body dl dd {
margin-bottom: 15px;
padding: 0 15px;
}
.markdown-body blockquote {
border-left: 4px solid #DDD;
padding: 0 15px;
color: #777;
}
.markdown-body blockquote>:first-child {
margin-top: 0px;
}
.markdown-body blockquote>:last-child {
margin-bottom: 0px;
}
.markdown-body table {
width: 100%;
overflow: auto;
display: block;
}
.markdown-body table th {
font-weight: bold;
}
.markdown-body table th,
.markdown-body table td {
border: 1px solid #ddd;
padding: 6px 13px;
}
.markdown-body table tr {
border-top: 1px solid #ccc;
background-color: #fff;
}
.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 {
margin: 0;
border: 1px solid #ddd;
background-color: #f8f8f8;
border-radius: 3px;
padding: 0;
}
.markdown-body code:before,
.markdown-body code:after {
content: "\00a0";
letter-spacing: -0.2em;
}
.markdown-body pre>code {
margin: 0;
padding: 0;
white-space: pre;
border: none;
background: transparent;
}
.markdown-body .highlight pre,
.markdown-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 pre {
word-wrap: normal;
}
.markdown-body pre code {
margin: 0;
padding: 0;
background-color: transparent;
border: none;
word-wrap: normal;
max-width: initial;
display: inline;
overflow: initial;
line-height: inherit;
}
.markdown-body pre code:before,
.markdown-body pre code:after {
content: normal;
}
.markdown-body .highlight {
2014-05-08 02:02:46 +08:00
background: #ffffff;
}
.markdown-body .highlight .c {
2014-05-08 02:02:46 +08:00
color: #999988;
font-style: italic;
}
.markdown-body .highlight .err {
2014-05-08 02:02:46 +08:00
color: #a61717;
background-color: #e3d2d2;
}
.markdown-body .highlight .k {
2014-05-08 02:02:46 +08:00
font-weight: bold;
}
.markdown-body .highlight .o {
2014-05-08 02:02:46 +08:00
font-weight: bold;
}
.markdown-body .highlight .cm {
2014-05-08 02:02:46 +08:00
color: #999988;
font-style: italic;
}
.markdown-body .highlight .cp {
2014-05-08 02:02:46 +08:00
color: #999999;
font-weight: bold;
}
.markdown-body .highlight .c1 {
2014-05-08 02:02:46 +08:00
color: #999988;
font-style: italic;
}
.markdown-body .highlight .cs {
2014-05-08 02:02:46 +08:00
color: #999999;
font-weight: bold;
font-style: italic;
}
.markdown-body .highlight .gd {
2014-05-08 02:02:46 +08:00
color: #000000;
background-color: #ffdddd;
}
.markdown-body .highlight .gd .x {
2014-05-08 02:02:46 +08:00
color: #000000;
background-color: #ffaaaa;
}
.markdown-body .highlight .ge {
2014-05-08 02:02:46 +08:00
font-style: italic;
}
.markdown-body .highlight .gr {
2014-05-08 02:02:46 +08:00
color: #aa0000;
}
.markdown-body .highlight .gh {
2014-05-08 02:02:46 +08:00
color: #999999;
}
.markdown-body .highlight .gi {
2014-05-08 02:02:46 +08:00
color: #000000;
background-color: #ddffdd;
}
.markdown-body .highlight .gi .x {
2014-05-08 02:02:46 +08:00
color: #000000;
background-color: #aaffaa;
}
.markdown-body .highlight .go {
2014-05-08 02:02:46 +08:00
color: #888888;
}
.markdown-body .highlight .gp {
2014-05-08 02:02:46 +08:00
color: #555555;
}
.markdown-body .highlight .gs {
2014-05-08 02:02:46 +08:00
font-weight: bold;
}
.markdown-body .highlight .gu {
2014-05-08 02:02:46 +08:00
color: #800080;
font-weight: bold;
}
.markdown-body .highlight .gt {
2014-05-08 02:02:46 +08:00
color: #aa0000;
}
.markdown-body .highlight .kc {
2014-05-08 02:02:46 +08:00
font-weight: bold;
}
.markdown-body .highlight .kd {
2014-05-08 02:02:46 +08:00
font-weight: bold;
}
.markdown-body .highlight .kn {
2014-05-08 02:02:46 +08:00
font-weight: bold;
}
.markdown-body .highlight .kp {
2014-05-08 02:02:46 +08:00
font-weight: bold;
}
.markdown-body .highlight .kr {
2014-05-08 02:02:46 +08:00
font-weight: bold;
}
.markdown-body .highlight .kt {
2014-05-08 02:02:46 +08:00
color: #445588;
font-weight: bold;
}
.markdown-body .highlight .m {
2014-05-08 02:02:46 +08:00
color: #009999;
}
.markdown-body .highlight .s {
2014-05-08 02:02:46 +08:00
color: #dd1144;
}
.markdown-body .highlight .n {
2014-05-08 02:02:46 +08:00
color: #333333;
}
.markdown-body .highlight .na {
2014-05-08 02:02:46 +08:00
color: teal;
}
.markdown-body .highlight .nb {
2014-05-08 02:02:46 +08:00
color: #0086b3;
}
.markdown-body .highlight .nc {
2014-05-08 02:02:46 +08:00
color: #445588;
font-weight: bold;
}
.markdown-body .highlight .no {
2014-05-08 02:02:46 +08:00
color: teal;
}
.markdown-body .highlight .ni {
2014-05-08 02:02:46 +08:00
color: purple;
}
.markdown-body .highlight .ne {
2014-05-08 02:02:46 +08:00
color: #990000;
font-weight: bold;
}
.markdown-body .highlight .nf {
2014-05-08 02:02:46 +08:00
color: #990000;
font-weight: bold;
}
.markdown-body .highlight .nn {
2014-05-08 02:02:46 +08:00
color: #555555;
}
.markdown-body .highlight .nt {
2014-05-08 02:02:46 +08:00
color: navy;
}
.markdown-body .highlight .nv {
2014-05-08 02:02:46 +08:00
color: teal;
}
.markdown-body .highlight .ow {
2014-05-08 02:02:46 +08:00
font-weight: bold;
}
.markdown-body .highlight .w {
2014-05-08 02:02:46 +08:00
color: #bbbbbb;
}
.markdown-body .highlight .mf {
2014-05-08 02:02:46 +08:00
color: #009999;
}
.markdown-body .highlight .mh {
2014-05-08 02:02:46 +08:00
color: #009999;
}
.markdown-body .highlight .mi {
2014-05-08 02:02:46 +08:00
color: #009999;
}
.markdown-body .highlight .mo {
2014-05-08 02:02:46 +08:00
color: #009999;
}
.markdown-body .highlight .sb {
2014-05-08 02:02:46 +08:00
color: #dd1144;
}
.markdown-body .highlight .sc {
2014-05-08 02:02:46 +08:00
color: #dd1144;
}
.markdown-body .highlight .sd {
2014-05-08 02:02:46 +08:00
color: #dd1144;
}
.markdown-body .highlight .s2 {
2014-05-08 02:02:46 +08:00
color: #dd1144;
}
.markdown-body .highlight .se {
2014-05-08 02:02:46 +08:00
color: #dd1144;
}
.markdown-body .highlight .sh {
2014-05-08 02:02:46 +08:00
color: #dd1144;
}
.markdown-body .highlight .si {
2014-05-08 02:02:46 +08:00
color: #dd1144;
}
.markdown-body .highlight .sx {
2014-05-08 02:02:46 +08:00
color: #dd1144;
}
.markdown-body .highlight .sr {
2014-05-08 02:02:46 +08:00
color: #009926;
}
.markdown-body .highlight .s1 {
2014-05-08 02:02:46 +08:00
color: #dd1144;
}
.markdown-body .highlight .ss {
2014-05-08 02:02:46 +08:00
color: #990073;
}
.markdown-body .highlight .bp {
2014-05-08 02:02:46 +08:00
color: #999999;
}
.markdown-body .highlight .vc {
2014-05-08 02:02:46 +08:00
color: teal;
}
.markdown-body .highlight .vg {
2014-05-08 02:02:46 +08:00
color: teal;
}
.markdown-body .highlight .vi {
2014-05-08 02:02:46 +08:00
color: teal;
}
.markdown-body .highlight .il {
2014-05-08 02:02:46 +08:00
color: #009999;
}
.markdown-body .highlight .gc {
2014-05-08 02:02:46 +08:00
color: #999;
background-color: #EAF2F5;
}