Last active
December 23, 2015 19:09
-
-
Save samof76/6680549 to your computer and use it in GitHub Desktop.
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
/* Pretty printing styles. Used with prettify.js. */ | |
/* SPAN elements with the classes below are added by prettyprint. */ | |
.pln { color: #000; font-size: 80% } /* plain text */ | |
@media screen { | |
.str { color: #080; font-size: 80% } /* string content */ | |
.kwd { color: #008; font-size: 80% } /* a keyword */ | |
.com { color: #800; font-size: 80% } /* a comment */ | |
.typ { color: #606; font-size: 80% } /* a type name */ | |
.lit { color: #066; font-size: 80% } /* a literal value */ | |
/* punctuation, lisp open bracket, lisp close bracket */ | |
.pun, .opn, .clo { color: #660; font-size: 80% } | |
.tag { color: #008; font-size: 80% } /* a markup tag name */ | |
.atn { color: #606; font-size: 80% } /* a markup attribute name */ | |
.atv { color: #080; font-size: 80% } /* a markup attribute value */ | |
.dec, .var { color: #606; font-size: 80% } /* a declaration; a variable name */ | |
.fun { color: red; font-size: 80% } /* a function name */ | |
} | |
/* Use higher contrast and text-weight for printable form. */ | |
@media print, projection { | |
.str { color: #060; font-size: 80% } | |
.kwd { color: #006; font-weight: bold ; font-size: 80%} | |
.com { color: #600; font-style: italic; font-size: 80% } | |
.typ { color: #404; font-weight: bold; font-size: 80% } | |
.lit { color: #044; font-size: 80% } | |
.pun, .opn, .clo { color: #440; font-size: 80% } | |
.tag { color: #006; font-weight: bold; font-size: 80% } | |
.atn { color: #404; font-size: 80% } | |
.atv { color: #060; font-size: 80% } | |
} | |
/* Put a border around prettyprinted code snippets. */ | |
pre.prettyprint { padding: 2px; border: 1px solid #888; font-size: 60% } | |
/* Specify class=linenums on a pre to get line numbering */ | |
ol.linenums { margin-top: 0; margin-bottom: 0 } /* IE indents via margin-left */ | |
li.L0, | |
li.L1, | |
li.L2, | |
li.L3, | |
li.L5, | |
li.L6, | |
li.L7, | |
li.L8 { list-style-type: none } | |
/* Alternate shading for lines */ | |
li.L1, | |
li.L3, | |
li.L5, | |
li.L7, | |
li.L9 { background: #eee } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment