Created
August 1, 2012 12:52
-
-
Save cspanring/3226619 to your computer and use it in GitHub Desktop.
almost github css
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| html, | |
| body { | |
| color: black; | |
| } | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| } | |
| body { | |
| padding: 30px; | |
| padding-top: 10px; | |
| padding-bottom: 10px; | |
| -webkit-border-radius: 3px; | |
| -moz-border-radius: 3px; | |
| border-radius: 3px; | |
| font: 13.34px helvetica,arial,freesans,clean,sans-serif; | |
| line-height: 1.4; | |
| background-color: white; | |
| -webkit-font-smoothing: antialiased; | |
| } | |
| p { | |
| margin: 1em 0; | |
| } | |
| a { | |
| text-decoration: none; | |
| color: #4183c4; | |
| } | |
| h1, | |
| h2, | |
| h3, | |
| h4, | |
| h5, | |
| h6 { | |
| margin: 0; | |
| padding: 0; | |
| } | |
| h1 { | |
| margin: 15px 0; | |
| padding-bottom: 2px; | |
| border-bottom: 1px solid #eee; | |
| font-size: 24px; | |
| } | |
| h2 { | |
| margin: 20px 0 10px 0; | |
| font-size: 18px; | |
| } | |
| h3 { | |
| margin: 20px 0 10px 0; | |
| padding-bottom: 2px; | |
| border-bottom: 1px solid #ddd; | |
| font-size: 14px; | |
| } | |
| h4 { | |
| padding: 18px 0 4px; | |
| text-transform: uppercase; | |
| font-size: 14px; | |
| font-weight: bold; | |
| line-height: 26px; | |
| } | |
| h5 { | |
| padding: 14px 0 0; | |
| text-transform: uppercase; | |
| font-size: 13px; | |
| font-weight: bold; | |
| line-height: 26px; | |
| } | |
| h6 { | |
| padding: 18px 0 0; | |
| font-size: 14px; | |
| font-variant: italic; | |
| font-weight: normal; | |
| line-height: 26px; | |
| color: #666; | |
| } | |
| hr { | |
| height: 4px; | |
| margin: 20px 0; | |
| padding: 0; | |
| border: 0 none; | |
| color: #ccc; | |
| background: transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgA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MyOUY0OCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PqqezsUAAAAfSURBVHjaYmRABcYwBiM2QSA4y4hNEKYDQxAEAAIMAHNGAzhkPOlYAAAAAElFTkSuQmCC) repeat-x 0 0; | |
| } | |
| h4+p, | |
| h5+p, | |
| h6+p { | |
| margin-top: 0; | |
| } | |
| li p.first { | |
| display: inline-block; | |
| } | |
| ul, | |
| ol { | |
| margin: 15px 0 15px 25px; | |
| } | |
| ul li, | |
| ol li { | |
| margin-top: 7px; | |
| margin-bottom: 7px; | |
| } | |
| ul li>*:last-child, | |
| ol li>*:last-child { | |
| margin-bottom: 0; | |
| } | |
| ul li>*:first-child, | |
| ol li>*:first-child { | |
| margin-top: 0; | |
| } | |
| dl { | |
| margin: 0; | |
| padding: 20px 0 0; | |
| } | |
| dl dt { | |
| margin: 0; | |
| padding: 20px 0 0; | |
| font-size: 14px; | |
| font-weight: bold; | |
| line-height: normal; | |
| } | |
| dl dt:first-child { | |
| padding: 0; | |
| } | |
| dl dd { | |
| margin: 0; | |
| padding: 3px 0 0; | |
| font-size: 13px; | |
| } | |
| blockquote { | |
| margin: 14px 0; | |
| padding-left: 11px; | |
| border-left: 4px solid #ddd; | |
| color: #555; | |
| } | |
| table { | |
| margin: 20px 0 0; | |
| padding: 0; | |
| border-collapse: collapse; | |
| } | |
| table tr { | |
| margin: 0; | |
| padding: 0; | |
| border-top: 1px solid #ccc; | |
| background-color: #fff; | |
| } | |
| table tr:nth-child(2n) { | |
| background-color: #f8f8f8; | |
| } | |
| table tr th, | |
| table tr td { | |
| margin: 0; | |
| padding: 6px 13px; | |
| border: 1px solid #ccc; | |
| text-align: left; | |
| } | |
| img { | |
| height: auto; | |
| max-width: 100%; | |
| } | |
| code, | |
| tt { | |
| margin: 0 2px; | |
| padding: 2px 5px; | |
| border: 1px solid #ccc; | |
| -webkit-border-radius: 3px; | |
| -moz-border-radius: 3px; | |
| border-radius: 3px; | |
| font-size: 12px; | |
| white-space: nowrap; | |
| background-color: #f8f8f8; | |
| } | |
| pre>code { | |
| margin: 0; | |
| padding: 0; | |
| border: 0; | |
| font-size: 13px; | |
| white-space: pre; | |
| background: transparent; | |
| } | |
| .highlight pre, | |
| pre { | |
| padding: 6px 10px; | |
| border: 1px solid #ccc; | |
| -webkit-border-radius: 3px; | |
| -moz-border-radius: 3px; | |
| border-radius: 3px; | |
| overflow: auto; | |
| font-size: 13px; | |
| line-height: 19px; | |
| background-color: #f8f8f8; | |
| } | |
| pre code, | |
| pre tt { | |
| border: 0; | |
| background-color: transparent; | |
| } | |
| .poetry pre { | |
| display: block; | |
| margin-left: 1em; | |
| font-family: Georgia,Garamond,serif!important; | |
| font-size: 110%!important; | |
| font-style: italic; | |
| line-height: 1.6em; | |
| } | |
| .poetry pre code { | |
| font-family: Georgia,Garamond,serif!important; | |
| } | |
| sup, | |
| sub, | |
| a.footnote { | |
| position: relative; | |
| height: 0; | |
| font-size: 1.4ex; | |
| line-height: 1; | |
| vertical-align: super; | |
| } | |
| sub { | |
| top: -1px; | |
| vertical-align: sub; | |
| } | |
| @media print { | |
| body { | |
| background: #fff; | |
| } | |
| img, | |
| pre, | |
| blockquote, | |
| table, | |
| figure { | |
| page-break-inside: avoid; | |
| } | |
| code { | |
| padding: 0 .2em; | |
| border: 1px solid #dedede; | |
| color: #444!important; | |
| background-color: #fff; | |
| } | |
| pre code { | |
| overflow: visible; | |
| background-color: #fff!important; | |
| } | |
| pre { | |
| background: #fff; | |
| } | |
| } | |
| @media screen { | |
| body.inverted, | |
| .inverted hr .inverted p, | |
| .inverted td, | |
| .inverted li, | |
| .inverted h1, | |
| .inverted h2, | |
| .inverted h3, | |
| .inverted h4, | |
| .inverted h5, | |
| .inverted h6, | |
| .inverted th, | |
| .inverted .math, | |
| .inverted caption, | |
| .inverted dd, | |
| .inverted dt, | |
| .inverted blockquote { | |
| border-color: #555; | |
| color: #eee!important; | |
| } | |
| .inverted td, | |
| .inverted th { | |
| background: #333; | |
| } | |
| .inverted pre, | |
| .inverted code, | |
| .inverted tt { | |
| background: #444!important; | |
| } | |
| .inverted h2 { | |
| border-color: #555; | |
| } | |
| .inverted hr { | |
| border-color: #777; | |
| border-width: 1px!important; | |
| } | |
| ::selection { | |
| background: rgba(157,193,200,.5); | |
| } | |
| h1::selection { | |
| background-color: rgba(45,156,208,.3); | |
| } | |
| h2::selection { | |
| background-color: rgba(90,182,224,.3); | |
| } | |
| h3::selection, | |
| h4::selection, | |
| h5::selection, | |
| h6::selection, | |
| li::selection, | |
| ol::selection { | |
| background-color: rgba(133,201,232,.3); | |
| } | |
| code::selection { | |
| color: #eee; | |
| background-color: rgba(0,0,0,.7); | |
| } | |
| code span::selection { | |
| color: #eee!important; | |
| background-color: rgba(0,0,0,.7) !important; | |
| } | |
| a::selection { | |
| background-color: rgba(255,230,102,.2); | |
| } | |
| .inverted a::selection { | |
| background-color: rgba(255,230,102,.6); | |
| } | |
| td::selection, | |
| th::selection, | |
| caption::selection { | |
| background-color: rgba(180,237,95,.5); | |
| } | |
| .inverted { | |
| background: #0b2531; | |
| } | |
| .inverted { | |
| background: rgba(37,42,42,1); | |
| } | |
| .inverted a { | |
| color: rgba(172,209,213,1); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment