github-markdown-css/github-markdown.css

649 lines
12 KiB
CSS
Raw Normal View History

2014-08-31 23:04:59 +08:00
@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+vPRVS43G98vG1DnkDMIBUgFN0MDXflU8tbaZOUkXUH0+U27RoRpOIyCKjbMCVejwypzJJG4jIwb43rfl6wbwanocrJm9XFYfskuVC5K/TPyczNU7b84CXcbxks1Un6H6tLH9vf2LRnn8Ax7A5WQAAAHicY2BkYGAA4teL1+yI57f5ysDNwgAC529f0kOmWRiYVgEpDgYmEA8AUzEKsQAAAHic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mZedkABtIBygAAAA==) format('woff');
}
.markdown-body {
2014-05-08 02:02:46 +08:00
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
2014-10-01 23:57:18 +08:00
color: #333;
2014-06-23 00:56:54 +08:00
overflow: hidden;
2014-08-19 07:07:22 +08:00
font-family: "Helvetica Neue", Helvetica, "Segoe UI", 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
box-sizing: content-box;
height: 0;
}
.markdown-body pre {
overflow: auto;
2014-05-08 02:02:46 +08:00
}
.markdown-body code,
.markdown-body kbd,
.markdown-body pre {
font-family: monospace, monospace;
font-size: 1em;
2014-05-08 02:02:46 +08:00
}
.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 {
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
box-sizing: border-box;
}
.markdown-body input {
2015-03-11 02:46:29 +08:00
font: 13px/1.4 Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
}
.markdown-body a {
2014-05-08 02:02:46 +08:00
color: #4183c4;
text-decoration: none;
}
.markdown-body a:hover,
.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;
}
2014-10-01 23:57:18 +08:00
.markdown-body hr:before {
2014-05-08 02:02:46 +08:00
display: table;
2014-10-01 23:57:18 +08:00
content: "";
2014-05-08 02:02:46 +08:00
}
.markdown-body hr:after {
2014-10-01 23:57:18 +08:00
display: table;
2014-05-08 02:02:46 +08:00
clear: both;
2014-10-01 23:57:18 +08:00
content: "";
2014-05-08 02:02:46 +08:00
}
.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,
.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 {
2014-05-08 02:02:46 +08:00
margin-left: 0;
}
2014-10-01 23:57:18 +08:00
.markdown-body code {
2015-01-22 21:09:20 +08:00
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
font-size: 12px;
2014-05-08 02:02:46 +08:00
}
.markdown-body pre {
2014-05-08 02:02:46 +08:00
margin-top: 0;
margin-bottom: 0;
2014-10-01 23:57:18 +08:00
font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
2014-05-08 02:02:46 +08:00
}
2014-11-10 21:15:44 +08:00
.markdown-body .octicon {
2015-02-27 16:36:45 +08:00
font: normal normal normal 16px/1 octicons-anchor;
display: inline-block;
2014-11-10 21:15:44 +08:00
text-decoration: none;
2015-02-27 16:36:45 +08:00
text-rendering: auto;
2014-11-10 21:15:44 +08:00
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.markdown-body .octicon-link:before {
content: '\f05c';
}
2014-05-08 02:02:46 +08:00
.markdown-body>*:first-child {
margin-top: 0 !important;
}
.markdown-body>*:last-child {
margin-bottom: 0 !important;
}
2015-03-31 22:55:05 +08:00
.markdown-body a:not([href]) {
2015-03-07 13:33:29 +08:00
color: inherit;
text-decoration: none;
}
.markdown-body .anchor {
position: absolute;
top: 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;
2014-08-11 00:31:28 +08:00
margin-bottom: 16px;
font-weight: bold;
line-height: 1.4;
2014-05-08 02:02:46 +08:00
}
2014-08-31 23:04:59 +08:00
.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 {
padding-left: 8px;
margin-left: -30px;
text-decoration: none;
}
.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;
}
2014-05-08 02:02:46 +08:00
.markdown-body h1 {
padding-bottom: 0.3em;
font-size: 2.25em;
line-height: 1.2;
border-bottom: 1px solid #eee;
2014-05-08 02:02:46 +08:00
}
2015-01-22 21:09:20 +08:00
.markdown-body h1 .anchor {
line-height: 1;
}
2014-05-08 02:02:46 +08:00
.markdown-body h2 {
padding-bottom: 0.3em;
font-size: 1.75em;
line-height: 1.225;
2014-05-08 02:02:46 +08:00
border-bottom: 1px solid #eee;
}
2015-01-22 21:09:20 +08:00
.markdown-body h2 .anchor {
line-height: 1;
}
2014-05-08 02:02:46 +08:00
.markdown-body h3 {
font-size: 1.5em;
line-height: 1.43;
2014-05-08 02:02:46 +08:00
}
2015-01-22 21:09:20 +08:00
.markdown-body h3 .anchor {
line-height: 1.2;
}
2014-05-08 02:02:46 +08:00
.markdown-body h4 {
font-size: 1.25em;
2014-05-08 02:02:46 +08:00
}
2015-01-22 21:09:20 +08:00
.markdown-body h4 .anchor {
line-height: 1.2;
}
2014-05-08 02:02:46 +08:00
.markdown-body h5 {
font-size: 1em;
}
2015-01-22 21:09:20 +08:00
.markdown-body h5 .anchor {
line-height: 1.1;
}
2014-05-08 02:02:46 +08:00
.markdown-body h6 {
font-size: 1em;
color: #777;
2014-05-08 02:02:46 +08:00
}
2015-01-22 21:09:20 +08:00
.markdown-body h6 .anchor {
line-height: 1.1;
}
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 ul ul,
.markdown-body ul ol,
2014-05-08 02:02:46 +08:00
.markdown-body ol ol,
.markdown-body ol ul {
margin-top: 0;
margin-bottom: 0;
}
2014-08-11 00:31:28 +08:00
.markdown-body li>p {
margin-top: 16px;
}
2014-05-08 02:02:46 +08:00
.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;
2014-08-19 07:07:22 +08:00
word-break: normal;
word-break: keep-all;
2014-05-08 02:02:46 +08:00
}
.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%;
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%;
2014-08-11 00:31:28 +08:00
background-color: rgba(0,0,0,0.04);
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-08-19 07:07:22 +08:00
word-break: normal;
2014-05-08 02:02:46 +08:00
white-space: pre;
background: transparent;
border: 0;
2014-05-08 02:02:46 +08:00
}
2014-08-11 00:31:28 +08:00
.markdown-body .highlight {
margin-bottom: 16px;
}
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;
}
2014-08-11 00:31:28 +08:00
.markdown-body .highlight pre {
margin-bottom: 0;
2014-08-19 07:07:22 +08:00
word-break: normal;
2014-08-11 00:31:28 +08:00
}
2014-05-08 02:02:46 +08:00
.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;
}
2015-01-22 21:09:20 +08:00
.markdown-body kbd {
display: inline-block;
padding: 3px 5px;
font-size: 11px;
line-height: 10px;
color: #555;
vertical-align: middle;
background-color: #fcfcfc;
border: solid 1px #ccc;
border-bottom-color: #bbb;
border-radius: 3px;
box-shadow: inset 0 -1px 0 #bbb;
}
2014-11-27 23:20:18 +08:00
.markdown-body .pl-c {
color: #969896;
2014-05-08 02:02:46 +08:00
}
2014-11-27 23:20:18 +08:00
.markdown-body .pl-c1,
2015-03-31 22:55:05 +08:00
.markdown-body .pl-s .pl-v {
2014-11-27 23:20:18 +08:00
color: #0086b3;
2014-05-08 02:02:46 +08:00
}
2014-11-27 23:20:18 +08:00
.markdown-body .pl-e,
.markdown-body .pl-en {
color: #795da3;
2014-05-08 02:02:46 +08:00
}
2015-03-31 22:55:05 +08:00
.markdown-body .pl-s .pl-s1,
.markdown-body .pl-smi {
2014-10-01 23:57:18 +08:00
color: #333;
2014-05-08 02:02:46 +08:00
}
2014-11-27 23:20:18 +08:00
.markdown-body .pl-ent {
color: #63a35c;
2014-05-08 02:02:46 +08:00
}
2015-03-31 22:55:05 +08:00
.markdown-body .pl-k {
2014-11-27 23:20:18 +08:00
color: #a71d5d;
2014-05-08 02:02:46 +08:00
}
2014-11-27 23:20:18 +08:00
.markdown-body .pl-pds,
2015-03-31 22:55:05 +08:00
.markdown-body .pl-s,
.markdown-body .pl-s .pl-pse .pl-s1,
2014-11-27 23:20:18 +08:00
.markdown-body .pl-sr,
.markdown-body .pl-sr .pl-cce,
.markdown-body .pl-sr .pl-sra,
2015-03-31 22:55:05 +08:00
.markdown-body .pl-sr .pl-sre {
2015-02-27 16:36:45 +08:00
color: #183691;
2014-05-08 02:02:46 +08:00
}
2015-01-22 21:09:20 +08:00
.markdown-body .pl-v {
2015-02-27 16:36:45 +08:00
color: #ed6a43;
2015-01-22 21:09:20 +08:00
}
2014-11-27 23:20:18 +08:00
.markdown-body .pl-id {
color: #b52a1d;
2014-05-08 02:02:46 +08:00
}
2014-11-27 23:20:18 +08:00
.markdown-body .pl-ii {
background-color: #b52a1d;
color: #f8f8f8;
2014-05-08 02:02:46 +08:00
}
2014-11-27 23:20:18 +08:00
.markdown-body .pl-sr .pl-cce {
color: #63a35c;
2014-05-08 02:02:46 +08:00
font-weight: bold;
}
2014-11-27 23:20:18 +08:00
.markdown-body .pl-ml {
color: #693a17;
2014-05-08 02:02:46 +08:00
}
2014-11-27 23:20:18 +08:00
.markdown-body .pl-mh,
.markdown-body .pl-mh .pl-en,
.markdown-body .pl-ms {
color: #1d3e81;
font-weight: bold;
2014-05-08 02:02:46 +08:00
}
2014-11-27 23:20:18 +08:00
.markdown-body .pl-mq {
color: #008080;
2014-05-08 02:02:46 +08:00
}
2014-11-27 23:20:18 +08:00
.markdown-body .pl-mi {
color: #333;
2014-10-01 23:57:18 +08:00
font-style: italic;
2014-05-08 02:02:46 +08:00
}
2014-11-27 23:20:18 +08:00
.markdown-body .pl-mb {
color: #333;
2014-10-01 23:57:18 +08:00
font-weight: bold;
2014-05-08 02:02:46 +08:00
}
2015-03-31 22:55:05 +08:00
.markdown-body .pl-md {
2014-11-27 23:20:18 +08:00
background-color: #ffecec;
color: #bd2c00;
2014-05-08 02:02:46 +08:00
}
2014-11-27 23:20:18 +08:00
.markdown-body .pl-mi1 {
background-color: #eaffea;
color: #55a532;
2014-05-08 02:02:46 +08:00
}
2014-11-27 23:20:18 +08:00
.markdown-body .pl-mdr {
color: #795da3;
2014-10-01 23:57:18 +08:00
font-weight: bold;
2014-05-08 02:02:46 +08:00
}
2015-02-27 16:36:45 +08:00
.markdown-body .pl-mo {
color: #1d3e81;
}
2014-11-10 21:15:44 +08:00
.markdown-body kbd {
2014-08-31 23:04:59 +08:00
display: inline-block;
2014-11-10 21:15:44 +08:00
padding: 3px 5px;
font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace;
line-height: 10px;
2015-01-22 21:09:20 +08:00
color: #555;
vertical-align: middle;
background-color: #fcfcfc;
border: solid 1px #ccc;
border-bottom-color: #bbb;
border-radius: 3px;
box-shadow: inset 0 -1px 0 #bbb;
2014-08-31 23:04:59 +08:00
}
.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 {
2015-03-07 13:33:29 +08:00
margin: 0 0.35em 0.25em -1.6em;
vertical-align: middle;
}
2014-12-25 19:03:44 +08:00
.markdown-body :checked+.radio-label {
z-index: 1;
position: relative;
border-color: #4183c4;
}