summaryrefslogtreecommitdiffstats
path: root/toolkit/components/microformats/test/static/css/prettify.css
blob: 843e903e7ed62dcde9eac2ebbba4937ced8e0522 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
/* Pretty printing styles. Used with prettify.js. */

.str { color: #85C5DC; }
.kwd { color: #EDF0D1; }
.com { color: #878989; }
.typ { color: #F5896F; }
.lit { color: #FFB17A; }
.pun { color: #FFFFFF; }
.pln { color: #FFFFFF; }
.tag { color: #F5896F; }
.atn { color: #F5896F; }
.atv { color: #85C5DC; }
.dec { color: #878989; }

pre.prettyprint  {
    background-color:#302F2D;
    border: none;
    line-height: normal;
    font-size: 100%;
    border-radius: 6px 6px 6px 6px;
    font-family:  consolas,​'andale mono',​'courier new',​monospace;
    padding-top: 12px;
    overflow: hidden;
}

code{
    font-size: 13px;
    line-height: normal;
}

/* 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 }

@media print {
  .str { color: #060; }
  .kwd { color: #006; font-weight: bold; }
  .com { color: #600; font-style: italic; }
  .typ { color: #404; font-weight: bold; }
  .lit { color: #044; }
  .pun { color: #440; }
  .pln { color: #000; }
  .tag { color: #006; font-weight: bold; }
  .atn { color: #404; }
  .atv { color: #060; }
}


/* correct additional line return at top of html diaplay*/
code>:first-child{
  display: none;
}