author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Mon, 19 Oct 2015 17:04:52 +0300 | |
changeset 1769 | cadd23f8127f |
parent 1729 | 22ffd80639c0 |
child 1837 | 422610dafebe |
permissions | -rw-r--r-- |
904 | 1 |
body, frameset { background-color: ivory; } |
1729
22ffd80639c0
Make centered content design with adoption for mobile devices.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1546
diff
changeset
|
2 |
body { |
22ffd80639c0
Make centered content design with adoption for mobile devices.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1546
diff
changeset
|
3 |
max-width: 800px; |
22ffd80639c0
Make centered content design with adoption for mobile devices.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1546
diff
changeset
|
4 |
margin: 0 auto; |
22ffd80639c0
Make centered content design with adoption for mobile devices.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1546
diff
changeset
|
5 |
} |
22ffd80639c0
Make centered content design with adoption for mobile devices.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1546
diff
changeset
|
6 |
@media (max-width: 820px) { |
22ffd80639c0
Make centered content design with adoption for mobile devices.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1546
diff
changeset
|
7 |
body { margin: 0 10px 0 10px; } |
22ffd80639c0
Make centered content design with adoption for mobile devices.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1546
diff
changeset
|
8 |
} |
22ffd80639c0
Make centered content design with adoption for mobile devices.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1546
diff
changeset
|
9 |
|
22ffd80639c0
Make centered content design with adoption for mobile devices.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1546
diff
changeset
|
10 |
p.topic-title.first { display: none; } |
22ffd80639c0
Make centered content design with adoption for mobile devices.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1546
diff
changeset
|
11 |
p.topic-title.first + ul { |
22ffd80639c0
Make centered content design with adoption for mobile devices.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1546
diff
changeset
|
12 |
max-width: 400px; |
22ffd80639c0
Make centered content design with adoption for mobile devices.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1546
diff
changeset
|
13 |
margin: 0 auto; |
22ffd80639c0
Make centered content design with adoption for mobile devices.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1546
diff
changeset
|
14 |
padding: 5px 0; |
22ffd80639c0
Make centered content design with adoption for mobile devices.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1546
diff
changeset
|
15 |
background: cornsilk; |
22ffd80639c0
Make centered content design with adoption for mobile devices.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1546
diff
changeset
|
16 |
border: 1px solid red; |
22ffd80639c0
Make centered content design with adoption for mobile devices.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1546
diff
changeset
|
17 |
border-radius: 10px; |
22ffd80639c0
Make centered content design with adoption for mobile devices.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1546
diff
changeset
|
18 |
} |
22ffd80639c0
Make centered content design with adoption for mobile devices.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1546
diff
changeset
|
19 |
p.topic-title.first + ul > li { |
22ffd80639c0
Make centered content design with adoption for mobile devices.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1546
diff
changeset
|
20 |
list-style: none; |
22ffd80639c0
Make centered content design with adoption for mobile devices.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1546
diff
changeset
|
21 |
} |
22ffd80639c0
Make centered content design with adoption for mobile devices.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1546
diff
changeset
|
22 |
p.topic-title.first + ul > li > a { display: none; } |
22ffd80639c0
Make centered content design with adoption for mobile devices.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1546
diff
changeset
|
23 |
p.topic-title.first + ul li li { |
22ffd80639c0
Make centered content design with adoption for mobile devices.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1546
diff
changeset
|
24 |
padding-right: 10px; |
22ffd80639c0
Make centered content design with adoption for mobile devices.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1546
diff
changeset
|
25 |
} |
22ffd80639c0
Make centered content design with adoption for mobile devices.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1546
diff
changeset
|
26 |
|
902
034aeeb2a16d
Build html version of tips.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
27 |
a { text-decoration:none; } |
034aeeb2a16d
Build html version of tips.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
28 |
a:link { color: brown; } |
034aeeb2a16d
Build html version of tips.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
29 |
a:visited { color: IndianRed; } |
1031
1febb0de8647
Fix colors. Add border.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
952
diff
changeset
|
30 |
a:hover { background: bisque; border-radius: 10px; padding: 1px; } |
902
034aeeb2a16d
Build html version of tips.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
31 |
p { text-indent: 2em; } |
034aeeb2a16d
Build html version of tips.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
32 |
p:first-letter { font-weight: bold; } |
1031
1febb0de8647
Fix colors. Add border.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
952
diff
changeset
|
33 |
.literal-block { |
1febb0de8647
Fix colors. Add border.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
952
diff
changeset
|
34 |
margin: 0 0 0 4em; |
1febb0de8647
Fix colors. Add border.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
952
diff
changeset
|
35 |
padding: 5px; |
1febb0de8647
Fix colors. Add border.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
952
diff
changeset
|
36 |
border: 1px; |
1febb0de8647
Fix colors. Add border.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
952
diff
changeset
|
37 |
border-style: solid; |
1febb0de8647
Fix colors. Add border.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
952
diff
changeset
|
38 |
border-color: brown; |
1febb0de8647
Fix colors. Add border.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
952
diff
changeset
|
39 |
background-color: LightYellow; |
1036
f04e852b68e0
Add scroll on overflow.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1031
diff
changeset
|
40 |
overflow: auto; |
1031
1febb0de8647
Fix colors. Add border.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
952
diff
changeset
|
41 |
} |
1478
a3179b1461cb
Highlight literals as verbatim text (same background).
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1036
diff
changeset
|
42 |
tt.literal { |
a3179b1461cb
Highlight literals as verbatim text (same background).
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1036
diff
changeset
|
43 |
background: LightYellow; |
a3179b1461cb
Highlight literals as verbatim text (same background).
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1036
diff
changeset
|
44 |
outline: 1px dotted orange; |
a3179b1461cb
Highlight literals as verbatim text (same background).
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1036
diff
changeset
|
45 |
padding: 1px; |
a3179b1461cb
Highlight literals as verbatim text (same background).
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1036
diff
changeset
|
46 |
} |
952 | 47 |
table { border-collapse:collapse; margin-left:auto; margin-right:auto; } |
48 |
table, tr, td { padding: 3px; border: 1px dotted maroon; background-color: cornsilk; } |
|
1546
be099c6f7b32
Customise CSS for console literal blocks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1478
diff
changeset
|
49 |
|
be099c6f7b32
Customise CSS for console literal blocks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1478
diff
changeset
|
50 |
pre.code.keyword, pre.code.tag { |
be099c6f7b32
Customise CSS for console literal blocks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1478
diff
changeset
|
51 |
color: blue; |
be099c6f7b32
Customise CSS for console literal blocks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1478
diff
changeset
|
52 |
} |
be099c6f7b32
Customise CSS for console literal blocks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1478
diff
changeset
|
53 |
pre.code.string, pre.code.preproc { |
be099c6f7b32
Customise CSS for console literal blocks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1478
diff
changeset
|
54 |
color: green; |
be099c6f7b32
Customise CSS for console literal blocks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1478
diff
changeset
|
55 |
} |
be099c6f7b32
Customise CSS for console literal blocks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1478
diff
changeset
|
56 |
pre.code.name.decorator, pre.code.literal { |
be099c6f7b32
Customise CSS for console literal blocks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1478
diff
changeset
|
57 |
color: brown; |
be099c6f7b32
Customise CSS for console literal blocks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1478
diff
changeset
|
58 |
} |
be099c6f7b32
Customise CSS for console literal blocks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1478
diff
changeset
|
59 |
pre.code.comment { |
be099c6f7b32
Customise CSS for console literal blocks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1478
diff
changeset
|
60 |
color: magenta; |
be099c6f7b32
Customise CSS for console literal blocks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1478
diff
changeset
|
61 |
} |
be099c6f7b32
Customise CSS for console literal blocks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1478
diff
changeset
|
62 |
pre.code span.generic.prompt { |
be099c6f7b32
Customise CSS for console literal blocks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1478
diff
changeset
|
63 |
color: magenta; |
be099c6f7b32
Customise CSS for console literal blocks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1478
diff
changeset
|
64 |
} |
be099c6f7b32
Customise CSS for console literal blocks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1478
diff
changeset
|
65 |
pre.code span.generic.output { |
be099c6f7b32
Customise CSS for console literal blocks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1478
diff
changeset
|
66 |
color: gray; |
be099c6f7b32
Customise CSS for console literal blocks.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1478
diff
changeset
|
67 |
} |