-
Notifications
You must be signed in to change notification settings - Fork 708
/
Copy pathdefault.css
executable file
·63 lines (51 loc) · 1.07 KB
/
default.css
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
/*
*
* Extra styles for the the CSS Device Adaptation spec.
*
*/
code {
font-size: inherit;
}
/* Style for algorithm pseudo code. */
.algorithm {
font-family: serif;
font-size: 1em;
white-space: pre;
margin: 1em;
padding: 1em;
background-color: #f4f4f4;
}
.algorithm .method {
counter-reset: statement;
line-height: 1.5em;
}
.method-name {
font-variant: small-caps;
}
.algorithm .statement {
counter-increment: statement;
}
.algorithm .statement:before {
content: counter(statement) " ";
display: inline-block;
width: 2em;
}
.algorithm .keyword {
font-weight: bold;
}
.variable, .algorithm .operator, blockquote {
font-style: italic;
}
ol { counter-reset: ol-counter; }
#ol2 { counter-reset: ol-counter 1; }
#ol3 { counter-reset: ol-counter 2; }
#ol4 { counter-reset: ol-counter 3; }
#ol6 { counter-reset: ol-counter 5; }
#ol8 { counter-reset: ol-counter 7; }
ol li {
list-style-type: none;
counter-increment: ol-counter 1;
}
ol li:before {
content: counter(ol-counter) ". ";
}