Created
May 8, 2014 10:00
-
-
Save minwe/0532ec8f1b6987cd24a7 to your computer and use it in GitHub Desktop.
This file contains 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
/* Based on Twitter Bootstrap style http://twitter.github.com/bootstrap/ */ | |
.prettyprint .com { color: #93a1a1; } | |
.prettyprint .lit { color: #195f91; } | |
.prettyprint .pun, .prettyprint .opn, .prettyprint .clo { color: #93a1a1; } | |
.prettyprint .fun { color: #dc322f; } | |
.prettyprint .str, .prettyprint .atv { color: #D14; } | |
.prettyprint .kwd, .prettyprint .linenums .tag { color: #1e347b; } | |
.prettyprint .typ, .prettyprint .atn, .prettyprint .dec, .prettyprint .var { color: teal; } | |
.prettyprint .pln { color: #48484c; } | |
.comment-content pre.prettyprint code, | |
.post-content pre.prettyprint code, | |
pre.prettyprint code { padding: 0; margin: 0; border: none; display: block; white-space: pre; font-size: 12px;} | |
pre.prettyprint, | |
code.prettyprint, | |
.post-content pre.prettyprint, | |
.post-content code.prettyprint, | |
.comment-content pre.prettyprint, | |
.comment-content code.prettyprint { overflow: auto; word-wrap: normal; -moz-tab-size: 2; -o-tab-size: 2; tab-size: 2; } | |
.prettyprint { | |
padding: 8px; | |
background-color: #f7f7f9; | |
border: 1px solid #e1e1e8; | |
} | |
.prettyprint.linenums { | |
padding: 0; | |
} | |
/* Specify class=linenums on a pre to get line numbering */ | |
.prettyprint ol.linenums { | |
padding: 8px 8px 8px 41px; | |
margin: 0; | |
-webkit-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0; | |
-moz-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0; | |
box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0; | |
} | |
.prettyprint ol.linenums li { | |
padding-left: 12px; | |
color: #bebec5; | |
line-height: 18px; | |
text-shadow: 0 1px 0 #fff; | |
font-size: 12px; | |
} | |
code.prettyprint { display: block; } | |
pre.prettyprint code { background-color: transparent;} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment