annotate lib/assets/stylesheets/bootstrap-prettify.css @ 152:c9dc1eeeea9a

Better-styled markdown tab.
author Edho Arief <edho@myconan.net>
date Mon, 26 Nov 2012 22:46:24 +0700
parents f957ce997ff0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
55
f957ce997ff0 Added basic syntax highlighter.
Edho Arief <edho@myconan.net>
parents:
diff changeset
1 .com { color: #93a1a1; }
f957ce997ff0 Added basic syntax highlighter.
Edho Arief <edho@myconan.net>
parents:
diff changeset
2 .lit { color: #195f91; }
f957ce997ff0 Added basic syntax highlighter.
Edho Arief <edho@myconan.net>
parents:
diff changeset
3 .pun, .opn, .clo { color: #93a1a1; }
f957ce997ff0 Added basic syntax highlighter.
Edho Arief <edho@myconan.net>
parents:
diff changeset
4 .fun { color: #dc322f; }
f957ce997ff0 Added basic syntax highlighter.
Edho Arief <edho@myconan.net>
parents:
diff changeset
5 .str, .atv { color: #D14; }
f957ce997ff0 Added basic syntax highlighter.
Edho Arief <edho@myconan.net>
parents:
diff changeset
6 .kwd, .prettyprint .tag { color: #1e347b; }
f957ce997ff0 Added basic syntax highlighter.
Edho Arief <edho@myconan.net>
parents:
diff changeset
7 .typ, .atn, .dec, .var { color: teal; }
f957ce997ff0 Added basic syntax highlighter.
Edho Arief <edho@myconan.net>
parents:
diff changeset
8 .pln { color: #48484c; }
f957ce997ff0 Added basic syntax highlighter.
Edho Arief <edho@myconan.net>
parents:
diff changeset
9
f957ce997ff0 Added basic syntax highlighter.
Edho Arief <edho@myconan.net>
parents:
diff changeset
10 .prettyprint {
f957ce997ff0 Added basic syntax highlighter.
Edho Arief <edho@myconan.net>
parents:
diff changeset
11 padding: 8px;
f957ce997ff0 Added basic syntax highlighter.
Edho Arief <edho@myconan.net>
parents:
diff changeset
12 background-color: #f7f7f9;
f957ce997ff0 Added basic syntax highlighter.
Edho Arief <edho@myconan.net>
parents:
diff changeset
13 border: 1px solid #e1e1e8;
f957ce997ff0 Added basic syntax highlighter.
Edho Arief <edho@myconan.net>
parents:
diff changeset
14 }
f957ce997ff0 Added basic syntax highlighter.
Edho Arief <edho@myconan.net>
parents:
diff changeset
15 .prettyprint.linenums {
f957ce997ff0 Added basic syntax highlighter.
Edho Arief <edho@myconan.net>
parents:
diff changeset
16 -webkit-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;
f957ce997ff0 Added basic syntax highlighter.
Edho Arief <edho@myconan.net>
parents:
diff changeset
17 -moz-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;
f957ce997ff0 Added basic syntax highlighter.
Edho Arief <edho@myconan.net>
parents:
diff changeset
18 box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;
f957ce997ff0 Added basic syntax highlighter.
Edho Arief <edho@myconan.net>
parents:
diff changeset
19 }
f957ce997ff0 Added basic syntax highlighter.
Edho Arief <edho@myconan.net>
parents:
diff changeset
20
f957ce997ff0 Added basic syntax highlighter.
Edho Arief <edho@myconan.net>
parents:
diff changeset
21 /* Specify class=linenums on a pre to get line numbering */
f957ce997ff0 Added basic syntax highlighter.
Edho Arief <edho@myconan.net>
parents:
diff changeset
22 ol.linenums {
f957ce997ff0 Added basic syntax highlighter.
Edho Arief <edho@myconan.net>
parents:
diff changeset
23 margin: 0 0 0 33px; /* IE indents via margin-left */
f957ce997ff0 Added basic syntax highlighter.
Edho Arief <edho@myconan.net>
parents:
diff changeset
24 }
f957ce997ff0 Added basic syntax highlighter.
Edho Arief <edho@myconan.net>
parents:
diff changeset
25 ol.linenums li {
f957ce997ff0 Added basic syntax highlighter.
Edho Arief <edho@myconan.net>
parents:
diff changeset
26 padding-left: 12px;
f957ce997ff0 Added basic syntax highlighter.
Edho Arief <edho@myconan.net>
parents:
diff changeset
27 color: #bebec5;
f957ce997ff0 Added basic syntax highlighter.
Edho Arief <edho@myconan.net>
parents:
diff changeset
28 line-height: 20px;
f957ce997ff0 Added basic syntax highlighter.
Edho Arief <edho@myconan.net>
parents:
diff changeset
29 text-shadow: 0 1px 0 #fff;
f957ce997ff0 Added basic syntax highlighter.
Edho Arief <edho@myconan.net>
parents:
diff changeset
30 }