Mercurial > hgbook
annotate stylesheets/hgbook.css @ 787:ec889c068d46 finished draft translation
update todo.txt
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Sun, 07 Jun 2009 20:26:37 +0900 |
parents | 4dd63ae7ba87 |
children |
rev | line source |
---|---|
760 | 1 body |
2 { | |
3 background: white; | |
4 margin: 1in; | |
5 font-family: Georgia,SimSun,serif; | |
730
f7d674e6e736
Revert to original hgbook.css
Dongsheng Song <dongsheng.song@gmail.com>
parents:
728
diff
changeset
|
6 } |
760 | 7 |
8 p, li, ul, ol, dd, dt | |
9 { | |
10 font-style: normal; | |
11 font-weight: normal; | |
12 color: black; | |
730
f7d674e6e736
Revert to original hgbook.css
Dongsheng Song <dongsheng.song@gmail.com>
parents:
728
diff
changeset
|
13 } |
760 | 14 |
15 tt, pre | |
16 { | |
17 font-family: Consolas,KaiTi,FangSong,SimSun,monospace; | |
730
f7d674e6e736
Revert to original hgbook.css
Dongsheng Song <dongsheng.song@gmail.com>
parents:
728
diff
changeset
|
18 } |
760 | 19 |
20 a | |
21 { | |
22 color: blue; | |
23 text-decoration: underline; | |
24 } | |
25 | |
26 a:hover | |
27 { | |
28 background: rgb(75%,75%,100%); | |
29 color: blue; | |
30 text-decoration: underline; | |
730
f7d674e6e736
Revert to original hgbook.css
Dongsheng Song <dongsheng.song@gmail.com>
parents:
728
diff
changeset
|
31 } |
760 | 32 |
33 a:visited | |
34 { | |
35 color: purple; | |
36 text-decoration: underline; | |
730
f7d674e6e736
Revert to original hgbook.css
Dongsheng Song <dongsheng.song@gmail.com>
parents:
728
diff
changeset
|
37 } |
760 | 38 |
39 img | |
40 { | |
41 border: none; | |
730
f7d674e6e736
Revert to original hgbook.css
Dongsheng Song <dongsheng.song@gmail.com>
parents:
728
diff
changeset
|
42 } |
760 | 43 |
44 h1.title | |
45 { | |
46 font-size: 250%; | |
47 font-style: normal; | |
48 font-weight: bold; | |
49 color: black; | |
730
f7d674e6e736
Revert to original hgbook.css
Dongsheng Song <dongsheng.song@gmail.com>
parents:
728
diff
changeset
|
50 } |
760 | 51 |
52 h2.subtitle | |
53 { | |
54 font-size: 150%; | |
55 font-style: italic; | |
56 color: black; | |
730
f7d674e6e736
Revert to original hgbook.css
Dongsheng Song <dongsheng.song@gmail.com>
parents:
728
diff
changeset
|
57 } |
760 | 58 |
59 h2.title | |
60 { | |
61 font-size: 150%; | |
62 font-style: normal; | |
63 font-weight: bold; | |
64 color: black; | |
730
f7d674e6e736
Revert to original hgbook.css
Dongsheng Song <dongsheng.song@gmail.com>
parents:
728
diff
changeset
|
65 } |
760 | 66 |
67 h3.title | |
68 { | |
69 font-size: 125%; | |
70 font-style: normal; | |
71 font-weight: bold; | |
72 color: black; | |
730
f7d674e6e736
Revert to original hgbook.css
Dongsheng Song <dongsheng.song@gmail.com>
parents:
728
diff
changeset
|
73 } |
760 | 74 |
75 h4.title | |
76 { | |
77 font-size: 100%; | |
78 font-style: normal; | |
79 font-weight: bold; | |
80 color: black; | |
730
f7d674e6e736
Revert to original hgbook.css
Dongsheng Song <dongsheng.song@gmail.com>
parents:
728
diff
changeset
|
81 } |
760 | 82 |
83 strong | |
84 { | |
85 font-weight: normal; | |
730
f7d674e6e736
Revert to original hgbook.css
Dongsheng Song <dongsheng.song@gmail.com>
parents:
728
diff
changeset
|
86 } |
760 | 87 |
88 .toc b | |
89 { | |
90 font-family: Verdana,SimHei,sans-serif; | |
91 font-size: 120%; | |
92 font-style: normal; | |
93 font-weight: bold; | |
94 color: black; | |
730
f7d674e6e736
Revert to original hgbook.css
Dongsheng Song <dongsheng.song@gmail.com>
parents:
728
diff
changeset
|
95 } |
760 | 96 |
97 .title | |
98 { | |
99 font-family: Verdana,SimHei,sans-serif; | |
730
f7d674e6e736
Revert to original hgbook.css
Dongsheng Song <dongsheng.song@gmail.com>
parents:
728
diff
changeset
|
100 } |
760 | 101 |
102 .screen, .programlisting, .structname | |
103 { | |
104 font-family: Consolas,KaiTi,FangSong,SimSun,monospace; | |
105 font-style: normal; | |
106 font-weight: normal; | |
730
f7d674e6e736
Revert to original hgbook.css
Dongsheng Song <dongsheng.song@gmail.com>
parents:
728
diff
changeset
|
107 } |
760 | 108 |
109 .userinput | |
110 { | |
111 font-weight: normal; | |
730
f7d674e6e736
Revert to original hgbook.css
Dongsheng Song <dongsheng.song@gmail.com>
parents:
728
diff
changeset
|
112 } |
760 | 113 |
114 .command | |
115 { | |
116 font-style: italic; | |
730
f7d674e6e736
Revert to original hgbook.css
Dongsheng Song <dongsheng.song@gmail.com>
parents:
728
diff
changeset
|
117 } |
760 | 118 |
119 .filename | |
120 { | |
121 font-family: Georgia,SimSun,serif; | |
122 font-style: italic; | |
730
f7d674e6e736
Revert to original hgbook.css
Dongsheng Song <dongsheng.song@gmail.com>
parents:
728
diff
changeset
|
123 } |
760 | 124 |
125 .figure, .example, .table | |
126 { | |
127 margin: 0.125in 0.25in; | |
730
f7d674e6e736
Revert to original hgbook.css
Dongsheng Song <dongsheng.song@gmail.com>
parents:
728
diff
changeset
|
128 } |
760 | 129 |
130 .figure p.title b, .example p.title b, .table p.title b | |
131 { | |
132 font-family: Georgia,SimSun,serif; | |
133 font-size: 80%; | |
134 font-style: italic; | |
135 font-weight: normal; | |
730
f7d674e6e736
Revert to original hgbook.css
Dongsheng Song <dongsheng.song@gmail.com>
parents:
728
diff
changeset
|
136 } |
760 | 137 |
138 .table table | |
139 { | |
140 border-width: 1px; | |
141 border-style: solid; | |
142 border-color: black; | |
143 border-spacing: 0; | |
144 background: rgb(240,240,240); | |
730
f7d674e6e736
Revert to original hgbook.css
Dongsheng Song <dongsheng.song@gmail.com>
parents:
728
diff
changeset
|
145 } |
760 | 146 |
147 .table td | |
148 { | |
149 border: none; | |
150 border-right: 1px black solid; | |
151 border-bottom: 1px black solid; | |
152 padding: 2px; | |
730
f7d674e6e736
Revert to original hgbook.css
Dongsheng Song <dongsheng.song@gmail.com>
parents:
728
diff
changeset
|
153 } |
760 | 154 |
155 .table th | |
156 { | |
157 background: rgb(180,180,180); | |
158 border: none; | |
159 border-right: 1px black solid; | |
160 border-bottom: 1px black solid; | |
161 padding: 2px; | |
730
f7d674e6e736
Revert to original hgbook.css
Dongsheng Song <dongsheng.song@gmail.com>
parents:
728
diff
changeset
|
162 } |
760 | 163 |
164 .table p.title, .figure p.title, .example p.title | |
165 { | |
166 text-align: left !important; | |
167 font-size: 100% !important; | |
730
f7d674e6e736
Revert to original hgbook.css
Dongsheng Song <dongsheng.song@gmail.com>
parents:
728
diff
changeset
|
168 } |
760 | 169 |
170 .author, .pubdate | |
171 { | |
172 margin: 0; | |
173 font-size: 100%; | |
174 font-style: italic; | |
175 font-weight: normal; | |
176 color: black; | |
730
f7d674e6e736
Revert to original hgbook.css
Dongsheng Song <dongsheng.song@gmail.com>
parents:
728
diff
changeset
|
177 } |
760 | 178 |
179 .preface div.author, .preface .pubdate | |
180 { | |
181 font-size: 80%; | |
730
f7d674e6e736
Revert to original hgbook.css
Dongsheng Song <dongsheng.song@gmail.com>
parents:
728
diff
changeset
|
182 } |
760 | 183 |
184 .sidebar | |
185 { | |
186 border-top: dotted 1px black; | |
187 border-left: dotted 1px black; | |
188 border-right: solid 2px black; | |
189 border-bottom: solid 2px black; | |
190 background: rgb(240,220,170); | |
191 padding: 0 0.12in; | |
192 margin: 0.25in; | |
730
f7d674e6e736
Revert to original hgbook.css
Dongsheng Song <dongsheng.song@gmail.com>
parents:
728
diff
changeset
|
193 } |
760 | 194 |
195 .note .programlisting, .note .screen, | |
196 .tip .programlisting, .tip .screen, | |
197 .warning .programlisting, .warning .screen, | |
198 .sidebar .programlisting, .sidebar .screen | |
199 { | |
200 border: none; | |
201 background: none; | |
730
f7d674e6e736
Revert to original hgbook.css
Dongsheng Song <dongsheng.song@gmail.com>
parents:
728
diff
changeset
|
202 } |
760 | 203 |
204 .sidebar p.title | |
205 { | |
206 text-align: center; | |
207 font-size: 125%; | |
730
f7d674e6e736
Revert to original hgbook.css
Dongsheng Song <dongsheng.song@gmail.com>
parents:
728
diff
changeset
|
208 } |
760 | 209 |
210 .note, .tip, .warning | |
211 { | |
212 border: black solid 1px; | |
213 margin: 0.125in 0; | |
214 padding: 0 55px; | |
215 font-size: 90%; | |
730
f7d674e6e736
Revert to original hgbook.css
Dongsheng Song <dongsheng.song@gmail.com>
parents:
728
diff
changeset
|
216 } |
760 | 217 |
763
4dd63ae7ba87
Remove background images for note/tip/warn
Dongsheng Song <songdongsheng@live.cn>
parents:
760
diff
changeset
|
218 /* |
760 | 219 .note |
220 { | |
221 background: url(./figs/note.png) no-repeat rgb(252,246,220); | |
730
f7d674e6e736
Revert to original hgbook.css
Dongsheng Song <dongsheng.song@gmail.com>
parents:
728
diff
changeset
|
222 } |
760 | 223 |
224 .tip | |
225 { | |
226 background: url(./figs/tip.png) no-repeat rgb(224,244,255); | |
730
f7d674e6e736
Revert to original hgbook.css
Dongsheng Song <dongsheng.song@gmail.com>
parents:
728
diff
changeset
|
227 } |
760 | 228 |
229 .warning | |
230 { | |
231 background: url(./figs/warning.png) no-repeat rgb(255,210,210); | |
730
f7d674e6e736
Revert to original hgbook.css
Dongsheng Song <dongsheng.song@gmail.com>
parents:
728
diff
changeset
|
232 } |
763
4dd63ae7ba87
Remove background images for note/tip/warn
Dongsheng Song <songdongsheng@live.cn>
parents:
760
diff
changeset
|
233 */ |
760 | 234 |
235 .note .title, .tip .title, .warning .title | |
236 { | |
237 display: none; | |
730
f7d674e6e736
Revert to original hgbook.css
Dongsheng Song <dongsheng.song@gmail.com>
parents:
728
diff
changeset
|
238 } |
760 | 239 |
240 .programlisting, .screen | |
241 { | |
242 font-size: 90%; | |
243 color: black; | |
244 margin: 1em 0.25in; | |
245 padding: 0.5em; | |
246 background: rgb(240,240,240); | |
247 border-top: black dotted 1px; | |
248 border-left: black dotted 1px; | |
249 border-right: black solid 2px; | |
250 border-bottom: black solid 2px; | |
730
f7d674e6e736
Revert to original hgbook.css
Dongsheng Song <dongsheng.song@gmail.com>
parents:
728
diff
changeset
|
251 } |
760 | 252 |
253 .navheader, .navfooter | |
254 { | |
255 border: black solid 1px; | |
256 background: rgb(180,180,200); | |
730
f7d674e6e736
Revert to original hgbook.css
Dongsheng Song <dongsheng.song@gmail.com>
parents:
728
diff
changeset
|
257 } |
760 | 258 |
259 .navheader hr, .navfooter hr | |
260 { | |
261 display: none; | |
730
f7d674e6e736
Revert to original hgbook.css
Dongsheng Song <dongsheng.song@gmail.com>
parents:
728
diff
changeset
|
262 } |
760 | 263 |
264 #svn-footer | |
265 { | |
266 font-size: 80%; | |
267 text-align: center; | |
730
f7d674e6e736
Revert to original hgbook.css
Dongsheng Song <dongsheng.song@gmail.com>
parents:
728
diff
changeset
|
268 } |
760 | 269 |
270 #svn-footer hr | |
271 { | |
272 display: none; | |
730
f7d674e6e736
Revert to original hgbook.css
Dongsheng Song <dongsheng.song@gmail.com>
parents:
728
diff
changeset
|
273 } |
760 | 274 |
275 /* --------------------- */ | |
276 /* PRINT MEDIA OVERRIDES */ | |
277 /* --------------------- */ | |
278 | |
279 @media print | |
280 { | |
281 body | |
282 { | |
283 margin: 0; | |
284 } | |
285 | |
286 .navheader, .navfooter | |
287 { | |
288 display: none; | |
289 } | |
290 | |
291 #svn-footer hr | |
292 { | |
293 display: block; | |
294 } | |
730
f7d674e6e736
Revert to original hgbook.css
Dongsheng Song <dongsheng.song@gmail.com>
parents:
728
diff
changeset
|
295 } |