hardly | b1e7e14 | 2014-08-06 00:43:51 +0300 | [diff] [blame^] | 1 | /** |
| 2 | * StrapDown.js - an on-the-fly markdown parser |
| 3 | * Copyright (C) 2014, Lilian Besson. (GPLv3 Licensed) |
| 4 | * https://lbesson.bitbucket.org/md/ |
| 5 | */ |
| 6 | |
| 7 | /* |
| 8 | * This chunk is to fix Bootstrap so that the Markdown output looks good |
| 9 | */ |
| 10 | |
| 11 | body { |
| 12 | padding-top: 60px; |
| 13 | padding-bottom: 40px; |
| 14 | font-size: 15px; |
| 15 | line-height: 150%; |
| 16 | } |
| 17 | |
| 18 | /*xmp, textarea { |
| 19 | display: none; |
| 20 | }*/ |
| 21 | |
| 22 | h1,h2,h3,h4 { |
| 23 | margin: 15px 0; |
| 24 | } |
| 25 | pre { |
| 26 | margin: 20px 0; |
| 27 | } |
| 28 | img { |
| 29 | margin: 10px 0; |
| 30 | } |
| 31 | .navbar { |
| 32 | z-index: 1; |
| 33 | } |
| 34 | .table { |
| 35 | width: auto; |
| 36 | } |
| 37 | |
| 38 | /* |
| 39 | * This chunk is for Google's Code Prettify: |
| 40 | * http://google-code-prettify.googlecode.com |
| 41 | */ |
| 42 | |
| 43 | /* Pretty printing styles. Used with prettify.js. */ |
| 44 | /* SPAN elements with the classes below are added by prettyprint. */ |
| 45 | .pln { color: #000 } /* plain text */ |
| 46 | |
| 47 | @media screen { |
| 48 | .str { color: #080 } /* string content */ |
| 49 | .kwd { color: #008 } /* a keyword */ |
| 50 | .com { color: #800 } /* a comment */ |
| 51 | .typ { color: #606 } /* a type name */ |
| 52 | .lit { color: #066 } /* a literal value */ |
| 53 | /* punctuation, lisp open bracket, lisp close bracket */ |
| 54 | .pun, .opn, .clo { color: #660 } |
| 55 | .tag { color: #008 } /* a markup tag name */ |
| 56 | .atn { color: #606 } /* a markup attribute name */ |
| 57 | .atv { color: #080 } /* a markup attribute value */ |
| 58 | .dec, .var { color: #606 } /* a declaration; a variable name */ |
| 59 | .fun { color: red } /* a function name */ |
| 60 | } |
| 61 | |
| 62 | /* Use higher contrast and text-weight for printable form. */ |
| 63 | @media print, projection { |
| 64 | .str { color: #060 } |
| 65 | .kwd { color: #006; font-weight: bold } |
| 66 | .com { color: #600; font-style: italic } |
| 67 | .typ { color: #404; font-weight: bold } |
| 68 | .lit { color: #044 } |
| 69 | .pun, .opn, .clo { color: #440 } |
| 70 | .tag { color: #006; font-weight: bold } |
| 71 | .atn { color: #404 } |
| 72 | .atv { color: #060 } |
| 73 | } |
| 74 | |
| 75 | /* Put a border around prettyprinted code snippets. */ |
| 76 | pre.prettyprint { padding: 2px; border: 1px solid #888 } |
| 77 | |
| 78 | /* Specify class=linenums on a pre to get line numbering */ |
| 79 | ol.linenums { margin-top: 0; margin-bottom: 0 } /* IE indents via margin-left */ |
| 80 | li.L0, li.L1, li.L2, li.L3, li.L5, li.L6, li.L7, li.L8 { list-style-type: none } |
| 81 | /* Alternate shading for lines */ |
| 82 | li.L1, li.L3, li.L5, li.L7, li.L9 { background: #eee } |
| 83 | |
| 84 | /* Fix for (C) banner on top */ |
| 85 | #headline-copyrights { |
| 86 | float:right; |
| 87 | margin-right:5px; |
| 88 | text-align:right; |
| 89 | font-size: 70%; |
| 90 | } |
| 91 | /* Fix for Squirt banner on top */ |
| 92 | #headline-squirt { |
| 93 | float: right; |
| 94 | text-align:right; |
| 95 | font-size: 70%; |
| 96 | } |