author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Sun, 13 Mar 2016 01:40:59 +0200 | |
changeset 318 | d4767f21ca59 |
parent 301 | 1439e072640a |
permissions | -rw-r--r-- |
67 | 1 |
body, frameset { background-color: ivory; } |
299
1cc50552c3ee
Fix text width. Center text.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
298
diff
changeset
|
2 |
body { |
1cc50552c3ee
Fix text width. Center text.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
298
diff
changeset
|
3 |
padding: 0 10px 0 10px; |
1cc50552c3ee
Fix text width. Center text.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
298
diff
changeset
|
4 |
max-width: 800px; |
300
6b04b083cb79
Highlight TOC. Hide document name from TOC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
299
diff
changeset
|
5 |
margin: 0 auto; |
299
1cc50552c3ee
Fix text width. Center text.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
298
diff
changeset
|
6 |
} |
300
6b04b083cb79
Highlight TOC. Hide document name from TOC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
299
diff
changeset
|
7 |
|
67 | 8 |
a { text-decoration:none; } |
9 |
a:link { color: brown; } |
|
10 |
a:visited { color: IndianRed; } |
|
11 |
a:hover { background: bisque; border-radius: 10px; padding: 1px; } |
|
12 |
p { text-indent: 2em; } |
|
300
6b04b083cb79
Highlight TOC. Hide document name from TOC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
299
diff
changeset
|
13 |
|
301
1439e072640a
Remove CSS hack that suppress displaying document name in TOC by
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
300
diff
changeset
|
14 |
#contents { |
1439e072640a
Remove CSS hack that suppress displaying document name in TOC by
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
300
diff
changeset
|
15 |
max-width: 500px; |
300
6b04b083cb79
Highlight TOC. Hide document name from TOC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
299
diff
changeset
|
16 |
margin: 0 auto; |
6b04b083cb79
Highlight TOC. Hide document name from TOC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
299
diff
changeset
|
17 |
padding: 5px 0; |
6b04b083cb79
Highlight TOC. Hide document name from TOC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
299
diff
changeset
|
18 |
background: cornsilk; |
6b04b083cb79
Highlight TOC. Hide document name from TOC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
299
diff
changeset
|
19 |
border: 1px solid red; |
6b04b083cb79
Highlight TOC. Hide document name from TOC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
299
diff
changeset
|
20 |
border-radius: 10px; |
6b04b083cb79
Highlight TOC. Hide document name from TOC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
299
diff
changeset
|
21 |
} |
6b04b083cb79
Highlight TOC. Hide document name from TOC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
299
diff
changeset
|
22 |
|
279 | 23 |
.formula, .literal-block { |
293
eab4f722dd9d
Adjust code blocks to content width.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
279
diff
changeset
|
24 |
display: inline-block; |
eab4f722dd9d
Adjust code blocks to content width.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
279
diff
changeset
|
25 |
overflow: auto; |
eab4f722dd9d
Adjust code blocks to content width.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
279
diff
changeset
|
26 |
box-sizing: border-box; |
eab4f722dd9d
Adjust code blocks to content width.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
279
diff
changeset
|
27 |
max-width: calc(100% - 4em); |
67 | 28 |
margin: 0 0 0 4em; |
29 |
padding: 5px; |
|
293
eab4f722dd9d
Adjust code blocks to content width.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
279
diff
changeset
|
30 |
border: 1px solid brown; |
eab4f722dd9d
Adjust code blocks to content width.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
279
diff
changeset
|
31 |
background: LightYellow; |
67 | 32 |
} |
279 | 33 |
table { |
34 |
border-collapse:collapse; |
|
35 |
margin-left:auto; |
|
36 |
margin-right:auto; |
|
37 |
} |
|
38 |
table, tr, td { |
|
39 |
border: 1px dotted maroon; |
|
40 |
background-color: cornsilk; |
|
41 |
} |
|
42 |
table tr td { |
|
43 |
margin: 3px; |
|
44 |
padding: 3px; |
|
45 |
} |
|
46 |
||
47 |
.cr { color: red; } |
|
48 |
.cg { color: green; } |
|
49 |
||
50 |
colgroup { display: none; } |
|
51 |
||
52 |
pre span.keyword { |
|
53 |
color: blue; |
|
54 |
} |
|
55 |
pre span.function { |
|
56 |
color: brown; |
|
57 |
} |
|
58 |
pre span.literal { |
|
59 |
color: green; |
|
60 |
} |
|
61 |
||
62 |