Mercurial > zeropaste
comparison vendor/assets/stylesheets/bootstrap-prettify.css @ 289:1b302d092e98
Less padding magic.
author | edogawaconan <me@myconan.net> |
---|---|
date | Wed, 16 Oct 2013 05:22:01 +0900 |
parents | 56c4cd16d849 |
children |
comparison
equal
deleted
inserted
replaced
288:c8757469da39 | 289:1b302d092e98 |
---|---|
6 .kwd, .prettyprint .tag { color: #1e347b; } | 6 .kwd, .prettyprint .tag { color: #1e347b; } |
7 .typ, .atn, .dec, .var { color: teal; } | 7 .typ, .atn, .dec, .var { color: teal; } |
8 .pln { color: #48484c; } | 8 .pln { color: #48484c; } |
9 | 9 |
10 .prettyprint { | 10 .prettyprint { |
11 padding: 8px; | |
12 background-color: #f7f7f9; | 11 background-color: #f7f7f9; |
13 border: 1px solid #e1e1e8; | |
14 } | 12 } |
15 .prettyprint.linenums { | 13 .prettyprint.linenums { |
16 -webkit-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0; | 14 -webkit-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0; |
17 -moz-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0; | 15 -moz-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0; |
18 box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0; | 16 box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0; |
19 } | 17 } |
20 | 18 |
21 /* Specify class=linenums on a pre to get line numbering */ | 19 /* Specify class=linenums on a pre to get line numbering */ |
22 ol.linenums { | |
23 margin: 0 0 0 33px; /* IE indents via margin-left */ | |
24 } | |
25 ol.linenums li { | 20 ol.linenums li { |
26 padding-left: 12px; | |
27 color: #bebec5; | 21 color: #bebec5; |
28 line-height: 20px; | 22 line-height: 20px; |
29 text-shadow: 0 1px 0 #fff; | |
30 } | 23 } |