github-markdown-css/github-markdown.css

652 lines
9.4 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%;
font: 13px Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
2014-06-23 00:56:54 +08:00
line-height: 1.4;
color: #333333;
overflow: hidden;
font-family: "Helvetica Neue", Helvetica, Arial, freesans, sans-serif;
font-size: 16px;
line-height: 1.6;
2014-06-23 00:56:54 +08:00
word-wrap: break-word;
2014-05-08 02:02:46 +08:00
}
.markdown-body a {
background: transparent;
2014-05-08 02:02:46 +08:00
}
.markdown-body a:active,
.markdown-body a:hover {
2014-05-08 02:02:46 +08:00
outline: 0;
}
.markdown-body strong {
font-weight: bold;
}
.markdown-body h1 {
2014-05-08 02:02:46 +08:00
font-size: 2em;
margin: 0.67em 0;
2014-05-08 02:02:46 +08:00
}
.markdown-body img {
border: 0;
2014-05-08 02:02:46 +08:00
}
.markdown-body hr {
2014-05-08 02:02:46 +08:00
-moz-box-sizing: content-box;
box-sizing: content-box;
height: 0;
}
.markdown-body pre {
overflow: auto;
2014-05-08 02:02:46 +08:00
}
.markdown-body code,
.markdown-body pre {
font-family: monospace, monospace;
font-size: 1em;
2014-05-08 02:02:46 +08:00
}
.markdown-body table {
2014-05-08 02:02:46 +08:00
border-collapse: collapse;
border-spacing: 0;
}
.markdown-body td,
.markdown-body th {
padding: 0;
}
.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,
.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
display: table;
content: " ";
2014-05-08 02:02:46 +08:00
}
.markdown-body hr:after {
2014-05-08 02:02:46 +08:00
clear: both;
}
.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 ol ol {
list-style-type: lower-roman;
}
.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>*: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;
2014-05-08 02:02:46 +08:00
display: block;
padding-right: 6px;
padding-left: 30px;
margin-left: -30px;
}
.markdown-body .anchor:focus {
2014-05-08 02:02:46 +08:00
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;
font-weight: bold;
line-height: 1.4;
2014-05-08 02:02:46 +08:00
}
.markdown-body h1 {
padding-bottom: 0.3em;
margin-bottom: 16px;
font-size: 2.25em;
line-height: 1.2;
border-bottom: 1px solid #eee;
2014-05-08 02:02:46 +08:00
}
.markdown-body h2 {
padding-bottom: 0.3em;
margin-bottom: 16px;
font-size: 1.75em;
line-height: 1.225;
2014-05-08 02:02:46 +08:00
border-bottom: 1px solid #eee;
}
.markdown-body h3 {
margin-bottom: 0;
2014-05-08 02:02:46 +08:00
font-size: 1.5em;
line-height: 1.43;
2014-05-08 02:02:46 +08:00
}
.markdown-body h4 {
margin-bottom: 0.1em;
font-size: 1.25em;
2014-05-08 02:02:46 +08:00
}
.markdown-body h5 {
margin-bottom: 0.2em;
2014-05-08 02:02:46 +08:00
font-size: 1em;
}
.markdown-body h6 {
margin-bottom: 0.2em;
2014-05-08 02:02:46 +08:00
font-size: 1em;
color: #777;
2014-05-08 02:02:46 +08:00
}
.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;
2014-05-08 02:02:46 +08:00
}
.markdown-body hr {
height: 4px;
padding: 0;
margin: 16px 0;
background-color: #e7e7e7;
border: 0 none;
2014-05-08 02:02:46 +08:00
}
.markdown-body ul,
.markdown-body ol {
padding-left: 2em;
2014-05-08 02:02:46 +08:00
}
.markdown-body ol ol,
.markdown-body ol ul {
margin-top: 0;
margin-bottom: 0;
}
.markdown-body dl {
padding: 0;
}
.markdown-body dl dt {
padding: 0;
margin-top: 16px;
font-size: 1em;
font-style: italic;
font-weight: bold;
2014-05-08 02:02:46 +08:00
}
.markdown-body dl dd {
padding: 0 16px;
margin-bottom: 16px;
2014-05-08 02:02:46 +08:00
}
.markdown-body blockquote {
padding: 0 15px;
color: #777;
border-left: 4px solid #ddd;
2014-05-08 02:02:46 +08:00
}
.markdown-body blockquote>:first-child {
margin-top: 0;
2014-05-08 02:02:46 +08:00
}
.markdown-body blockquote>:last-child {
margin-bottom: 0;
2014-05-08 02:02:46 +08:00
}
.markdown-body table {
display: block;
2014-05-08 02:02:46 +08:00
width: 100%;
overflow: auto;
}
.markdown-body table th {
font-weight: bold;
}
.markdown-body table th,
.markdown-body table td {
padding: 6px 13px;
border: 1px solid #ddd;
2014-05-08 02:02:46 +08:00
}
.markdown-body table tr {
background-color: #fff;
border-top: 1px solid #ccc;
2014-05-08 02:02:46 +08:00
}
.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 {
padding: 0;
padding-top: 0.2em;
padding-bottom: 0.2em;
2014-05-08 02:02:46 +08:00
margin: 0;
font-size: 85%;
background-color: #f7f7f7;
2014-05-08 02:02:46 +08:00
border-radius: 3px;
}
.markdown-body code:before,
.markdown-body code:after {
letter-spacing: -0.2em;
content: "\00a0";
2014-05-08 02:02:46 +08:00
}
.markdown-body pre>code {
padding: 0;
margin: 0;
font-size: 100%;
2014-05-08 02:02:46 +08:00
white-space: pre;
background: transparent;
border: 0;
2014-05-08 02:02:46 +08:00
}
.markdown-body .highlight pre,
.markdown-body pre {
padding: 16px;
2014-05-08 02:02:46 +08:00
overflow: auto;
font-size: 85%;
line-height: 1.45;
background-color: #f7f7f7;
2014-05-08 02:02:46 +08:00
border-radius: 3px;
}
.markdown-body pre {
word-wrap: normal;
}
.markdown-body pre code {
display: inline;
max-width: initial;
padding: 0;
margin: 0;
2014-05-08 02:02:46 +08:00
overflow: initial;
line-height: inherit;
word-wrap: normal;
background-color: transparent;
border: 0;
2014-05-08 02:02:46 +08:00
}
.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;
}