comparison lib/assets/stylesheets/bootstrap-prettify.css @ 55:f957ce997ff0

Added basic syntax highlighter.
author Edho Arief <edho@myconan.net>
date Thu, 04 Oct 2012 04:50:22 +0700
parents
children
comparison
equal deleted inserted replaced
54:e8920b00035c 55:f957ce997ff0
1 .com { color: #93a1a1; }
2 .lit { color: #195f91; }
3 .pun, .opn, .clo { color: #93a1a1; }
4 .fun { color: #dc322f; }
5 .str, .atv { color: #D14; }
6 .kwd, .prettyprint .tag { color: #1e347b; }
7 .typ, .atn, .dec, .var { color: teal; }
8 .pln { color: #48484c; }
9
10 .prettyprint {
11 padding: 8px;
12 background-color: #f7f7f9;
13 border: 1px solid #e1e1e8;
14 }
15 .prettyprint.linenums {
16 -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;
18 box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;
19 }
20
21 /* 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 {
26 padding-left: 12px;
27 color: #bebec5;
28 line-height: 20px;
29 text-shadow: 0 1px 0 #fff;
30 }