| author | gibus |
| Thu, 03 Jan 2013 11:00:26 +0100 | |
| changeset 477 | 504f199062df |
| parent 475 | 782d40ecf7c3 |
| child 482 | 00f61fe2430a |
| permissions | -rw-r--r-- |
| 475 | 1 |
@import url("fonts.css"); |
2 |
||
3 |
#textcontainer { |
|
4 |
font-size: 14px; |
|
5 |
line-height: 20px; |
|
6 |
} |
|
7 |
|
|
8 |
#textcontainer.modern { |
|
9 |
font-family: Lora, Georgia, serif; |
|
| 0 | 10 |
} |
11 |
|
|
12 |
#textcontainer.code { |
|
13 |
font-family: courier; |
|
14 |
} |
|
15 |
|
|
| 475 | 16 |
#textcontainer h1 { |
17 |
font-size: 22px; |
|
18 |
line-height: 24px; |
|
| 0 | 19 |
} |
| 475 | 20 |
|
21 |
#textcontainer h2 { |
|
22 |
font-size: 16px; |
|
23 |
line-height: 18px; |
|
| 0 | 24 |
} |
25 |
||
| 475 | 26 |
#textcontainer h3 { |
27 |
font-size:14px; |
|
28 |
line-height: 16px; |
|
| 0 | 29 |
} |
30 |
||
| 475 | 31 |
#textcontainer.modern h1, |
32 |
#textcontainer.modern h2, |
|
33 |
#textcontainer.modern h3, |
|
34 |
#textcontainer.modern h4, |
|
35 |
#textcontainer.modern h5, |
|
36 |
#textcontainer.modern h6 { |
|
37 |
font-family: 'PT Sans', Verdana, sans-serif; |
|
| 393 | 38 |
} |
| 475 | 39 |
|
| 393 | 40 |
.voted { |
41 |
color: #008000; |
|
42 |
} |
|
43 |
||
44 |
.rejected { |
|
45 |
color: #ff0000; |
|
46 |
} |
|
47 |
||
48 |
.fallen { |
|
49 |
color: #ff0000; |
|
50 |
} |
|
51 |
||
52 |
.withdrawn { |
|
53 |
color: #ff0000; |
|
54 |
} |
|
| 394 | 55 |
|
|
396
31a50d99c929
add some css for sharing-thebook
Production Moz <dev@sopinspace.com>
parents:
394
diff
changeset
|
56 |
div.frame { |
|
31a50d99c929
add some css for sharing-thebook
Production Moz <dev@sopinspace.com>
parents:
394
diff
changeset
|
57 |
border: 1px solid #000; |
|
31a50d99c929
add some css for sharing-thebook
Production Moz <dev@sopinspace.com>
parents:
394
diff
changeset
|
58 |
padding: 5px; |
|
31a50d99c929
add some css for sharing-thebook
Production Moz <dev@sopinspace.com>
parents:
394
diff
changeset
|
59 |
} |
|
31a50d99c929
add some css for sharing-thebook
Production Moz <dev@sopinspace.com>
parents:
394
diff
changeset
|
60 |
|
|
31a50d99c929
add some css for sharing-thebook
Production Moz <dev@sopinspace.com>
parents:
394
diff
changeset
|
61 |
div.frame .title { |
|
31a50d99c929
add some css for sharing-thebook
Production Moz <dev@sopinspace.com>
parents:
394
diff
changeset
|
62 |
font-weight: bold; |
|
31a50d99c929
add some css for sharing-thebook
Production Moz <dev@sopinspace.com>
parents:
394
diff
changeset
|
63 |
text-align: center; |
|
31a50d99c929
add some css for sharing-thebook
Production Moz <dev@sopinspace.com>
parents:
394
diff
changeset
|
64 |
} |
|
31a50d99c929
add some css for sharing-thebook
Production Moz <dev@sopinspace.com>
parents:
394
diff
changeset
|
65 |
|
| 394 | 66 |
/* Add empty space before footnotes and a black line on top. */ |
67 |
.footnotes { |
|
68 |
clear: both; |
|
69 |
margin-top: 4em; |
|
70 |
margin-bottom: 2em; |
|
71 |
border-top: 1px solid #000000; |
|
72 |
} |
|
73 |
||
74 |
/* Make footnotes appear in a smaller font */ |
|
75 |
.footnotes { |
|
76 |
font-size: 0.9em; |
|
77 |
} |
|
78 |
||
79 |
/* |
|
80 |
Make the footnote a supertext^1 |
|
81 |
*/ |
|
82 |
.see-footnote { |
|
83 |
vertical-align: top; |
|
84 |
position: relative; |
|
85 |
top: -0.25em; |
|
86 |
font-size: 0.9em; |
|
87 |
text-decoration: none; |
|
88 |
} |
|
89 |
||
90 |
/* Hide the bullet of the UL list of footnotes*/ |
|
91 |
||
92 |
ul.footnotes { |
|
93 |
list-style-type: none; |
|
94 |
margin-left: 0; |
|
95 |
padding-left: 0; |
|
96 |
} |
|
97 |
ul.footnotes li { |
|
98 |
margin-left: 2.5em; |
|
99 |
list-style-type: none; |
|
100 |
background: none; /* Garland theme sets a bullet via background image, this must be unset! See bug 861634 */ |
|
101 |
} |
|
102 |
||
103 |
||
104 |
/* Move the footnote number outside of the margin for footnote text (hanging indent) */ |
|
105 |
ul.footnotes { |
|
106 |
/* This is apparently very needed for the "position: absolute;" below to work correctly*/ |
|
107 |
position: relative; |
|
108 |
} |
|
109 |
.footnotes .footnote-label { |
|
110 |
position: absolute; |
|
111 |
left: 0px; |
|
112 |
z-index: 2; |
|
113 |
text-decoration: none; |
|
114 |
} |
|
115 |
||
116 |
/* Highlight the target footnote (or ref number, if a backlink was used) when user clicks a footnote. */ |
|
117 |
.see-footnote:target, |
|
118 |
.footnotes .footnote:target { |
|
119 |
background-color: #eeeeee; |
|
120 |
} |
|
121 |
.see-footnote:target { |
|
122 |
border: solid 1px #aaaaaa; |
|
123 |
} |
|
124 |
||
125 |
||
126 |
/* Note: This CSS has a minor bug on all versions of IE in that the footnote numbers |
|
127 |
are aligned with the absolute bottom of their space, thus being a couple of pixels |
|
128 |
lower than their corresponding line of text. IE5.5 has a serious bug in that the numbers |
|
129 |
are not shifted left at all, thus being garbled together with the start of their text. */ |
|
130 |
||
131 |
/* |
|
132 |
Make the multiple backlinks a supertext^1 |
|
133 |
*/ |
|
134 |
.footnotes .footnote-multi { |
|
135 |
vertical-align: top; |
|
136 |
position: relative; |
|
137 |
top: -0.25em; |
|
138 |
font-size: 0.75em; |
|
139 |
} |