Tweak the accuracy for Hairpin pure-height.
[lilypond.git] / Documentation / lilypond-mccarty.css
blob247b835494bf92d7c5f230a3b053d27894d03595
1 /**********************************************************/
2 /* PAGE-WIDE SETTINGS */
3 /**********************************************************/
5 html {
6 height: 100%;
9 body {
10 margin: 0 auto;
11 padding: 0;
12 height: 100%;
13 font-size: 100%;
14 line-height: 1.125;
15 color: #000;
16 background-color: #fff;
19 /***********************************************************/
20 /* HEADERS */
21 /***********************************************************/
23 .chapter, .section, .subsection, .subsubsection,
24 .appendix, .appendixsec, .appendixsubsec,
25 .unnumbered, .unnumberedsec, .unnumberedsubsec, .unnumberedsubsubsec,
26 .subheading, .subsubheading {
27 color: #204a87;
28 border-bottom: 1px dashed black;
29 padding-bottom: 0.15em;
30 margin-top: 0.6em;
31 margin-bottom: 1em;
34 .settitle {
35 background: #b1d281;
36 font-size: 2em;
37 text-align: center;
38 padding: 0.4em 0.5em;
39 border: solid #7b925a;
40 border-width: 1px 0;
41 margin: 0;
44 .chapter, .appendix, .unnumbered {
45 font-size: 1.8em;
48 .section, .appendixsec, .unnumberedsec {
49 font-size: 1.6em;
52 .subsection, .appendixsubsec, .unnumberedsubsec {
53 font-size: 1.4em;
56 .subheading, .subsubsection, .unnumberedsubsubsec {
57 font-size: 1.25em;
60 .subsubheading {
61 font-size: 1em;
62 font-weight: bold;
65 .chapheading {
66 position: absolute;
67 height: 0;
68 overflow: hidden;
69 text-indent: -999em;
72 /***********************************************************/
73 /* LINKS */
74 /***********************************************************/
76 a:link {
77 color: #0c51ab;
80 a:visited {
81 color: #804f01;
84 a:active {
85 color: #278800;
88 a:hover {
89 color: #0105ad;
92 /***********************************************************/
93 /* BLOCK FORMATTING */
94 /***********************************************************/
96 blockquote, .smallexample {
97 width: 96%;
98 padding: 0;
99 border: solid #b1d281;
100 border-width: 1px 1px 1px 5px;
101 margin: 1em auto;
104 blockquote p, pre.smallexample {
105 padding: 1em;
106 margin: 0;
109 blockquote blockquote {
110 border: none;
113 .verbatim, .example .example, .lisp {
114 font-size: 1em;
115 padding: 1em;
116 margin: 0;
119 .example {
120 padding: 0;
121 margin: 0;
124 #main hr {
125 height: 0;
126 padding: 0;
127 border: 0;
128 margin: 0;
129 text-indent: -999em;
132 table.cartouche {
133 background: #f5f5dc;
134 width: 85%;
135 border-collapse: collapse;
136 padding: 0 0.5em;
137 border: 2px solid #8f5902;
138 margin: 0 auto 1em;
141 table.cartouche p {
142 padding: 1em;
143 margin: 0;
146 table.cartouche td {
147 border: none;
150 /***********************************************************/
151 /* MAIN CONTENT */
152 /***********************************************************/
154 div#main {
155 position: absolute;
156 top: 0;
157 right: 0;
158 bottom: 0;
159 left: 27%;
160 padding: 0;
161 margin: 0;
162 overflow: auto;
165 div#main li {
166 padding: 0 1em 0.5em 0;
169 div#main ul {
170 margin: 0;
171 padding-left: 3em;
174 h1, h2, h3, h4, p, table, address, dt {
175 padding-left: 1em;
176 padding-right: 1em;
180 margin: 1em 0;
183 #languages {
184 padding: 0.5em 1em;
185 margin: 0;
188 pre.menu-comment {
189 font-size: 1em;
190 padding-top: 1em;
191 padding-bottom: 0;
192 margin: 0;
195 #main .contents li {
196 padding-bottom: 0;
199 #main .contents > ul {
200 margin-bottom: 1em;
203 /***********************************************************/
204 /* TOC SIDEBAR */
205 /***********************************************************/
207 div#tocframe {
208 position: absolute;
209 top: 0;
210 right: 73%;
211 bottom: 0;
212 left: 0;
213 padding: 0;
214 margin: 0;
215 overflow: auto;
216 background: #f5f5dc;
217 z-index: 100;
218 list-style-type: none;
219 font-size: 0.83em;
220 line-height: 1.3;
223 @media screen {
224 body > div#tocframe {
225 position: fixed
229 div#tocframe a:link, div#tocframe a:visited {
230 color: #454532;
231 text-decoration: none;
234 div#tocframe a:hover {
235 color: #232b16;
236 text-decoration: underline;
239 div#tocframe p.toc_uplink {
240 font-size: 1em;
241 line-height: 1.125;
242 background: #c9ccc4;
243 padding: 0.25em 1em 0.25em 0.5em;
244 border-bottom: 1px solid #a0a087;
245 margin: 0;
248 div#tocframe p.toc_uplink a:link,
249 div#tocframe p.toc_uplink a:visited {
250 color: #1c1c1b;
253 div#tocframe p.toc_uplink a:hover {
254 color: #000;
257 div#tocframe h4 {
258 font-size: 1em;
259 line-height: 1.125;
260 font-weight: bold;
261 font-style: italic;
262 padding: 0.75em 0.5em 0 0.5em;
263 margin: 0;
266 #tocframe .contents {
267 background-color: transparent;
268 list-style-type: none;
269 padding: 0;
270 border: 0;
271 margin: 0;
274 #tocframe ul.toc {
275 padding: 0.25em 0.5em 1em 0.5em;
276 list-style-type: none;
277 margin: 0;
280 #tocframe ul.toc ul.toc {
281 padding: 0;
282 margin: 0;
285 #tocframe ul.toc li {
286 padding: 0;
287 margin: 0;
290 #tocframe ul.toc > li {
291 font-size: 1em;
294 #tocframe ul.toc li li {
295 padding-left: 1em;
298 li.toc_current {
299 font-weight: bold;
300 font-style: italic;
303 li.toc_current ul {
304 font-weight: normal;
305 font-style: normal;
306 background: transparent;
309 /***********************************************************/
310 /* NAVIGATION */
311 /***********************************************************/
313 .nav_table {
314 width: 100%;
315 background: #c9ccc4;
316 font-size: 0.83em;
317 border-collapse: collapse;
318 padding: 0;
319 border: none;
320 margin: 0;
323 .nav_table a:link, .nav_table a:visited {
324 color: #1c1c1b;
325 text-decoration: none;
328 .nav_table a:hover {
329 color: #000;
330 text-decoration: underline;
333 .nav_table tr, .nav_table a {
334 padding: 0;
335 margin: 0;
338 .nav_table td {
339 padding: 0.25em;
340 margin: 0;
343 div.header {
344 background: #b1d281;
345 text-align: center;
346 padding: 0.5em;
347 border-bottom: 1px solid #7b925a;
348 margin: 0;
349 height: auto;
352 div.header h1 {
353 font-size: 2em;
354 padding: 0.25em;
355 margin: 0;
358 div.subheader {
359 background: #ddd;
360 padding: 0;
361 margin: 0;
362 text-align: center;
365 div.subheader p {
366 padding: 0.5em;
367 margin: 0;
370 table#navigation {
371 line-height: 1.5;
372 padding: 0;
373 margin: 1em auto;
376 table#navigation td {
377 padding: 0.5em 0.75em;
380 table#navigation ul {
381 padding-left: 0.5em;
382 margin: 0;
385 table .title {
386 font-weight: bold;
389 .footer {
390 background: #e5f5ce;
391 font-size: 0.8em;
392 padding: 0.2em 0;
393 border: solid #b1d281;
394 border-width: 0 0 5px 0;
395 margin: 0;
398 .footer a:link {
399 color: #0308fc;
402 .footer p {
403 padding: 0 1.25em;
404 margin: 0.4em 0;
407 table.menu {
408 margin: 0 0 1em;
411 /***********************************************************/
412 /* OVERRIDES FOR PRINTING */
413 /***********************************************************/
415 @media print {
416 /* Hide the sidebar: */
417 body { padding-left: 0; }
418 #tocframe { display: none; }
419 .nav_table { display: none; }