blob: e781b1c7a439246524e55ad0215b70f7fc6d1af5 [file] [log] [blame]
Nico Weber019d40f2014-09-23 20:21:591/*
2 * Copyright 2014 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file.
5 */
6html {
7 margin:0;
8 padding:0;
9 border:0;
10}
11
12.bp-reset-element,
13body,
14h1,
15h2,
16h3,
17h4,
18h5,
19h6,
20article,
21aside,
22details,
23figcaption,
24figure,
25footer,
26header,
27hgroup,
28menu,
29nav,
30section,
31summary,
32blockquote,
33q,
34th,
35td,
36caption,
37table,
38div,
39span,
40object,
41iframe,
42p,
43pre,
44a,
45abbr,
46acronym,
47address,
48code,
49del,
50dfn,
51em,
52img,
53dl,
54dt,
55dd,
56ol,
57ul,
58li,
59fieldset,
60form,
61label,
62legend,
63caption,
64tbody,
65tfoot,
66thead,
67tr {
68 margin:0;
69 padding:0;
70 border:0;
71 font-weight:inherit;
72 font-style:inherit;
73 font-size:100%;
74 font-family:inherit;
75 vertical-align:baseline;
76}
77
78body {
79 font-family:'Arial', sans-serif;
80 font-size:81.25%;
81 color:#222;
82 background-color:#fff;
83 line-height:1.67;
84 overflow: auto;
85 margin-right: 100px;
86 margin-left: 100px;
87 margin-top: 50px;
88 margin-bottom: 80px;
89}
90
91p {
92 width:600px;
93}
94
95h1,
96h2,
97p.h2,
98h3,
99h4,
100h5,
101h6 {
102 font-weight:bold;
103}
104
105h1 {
106 margin-bottom:.50em;
107}
108
109h2,
110p.h2,
111h3,
112h4,
113h5,
114h6 {
115 margin-top:1.5em;
116 margin-bottom:.75em;
117}
118
119h1,header {font-size:192%;}
120#gc-content h1 {font-size:2em;}
121h2, p.h2 {font-size:167%;}
122h3 {font-size:145%;}
123h4 {font-size:130%;}
124h5 {font-size:110%;}
125
126p {
127 margin:0 0 1.5em;
128}
129
130p .left {
131 display:inline;
132 float:left;
133 margin:1.5em 1.5em 1.5em 0;
134 padding:0;
135}
136
137p .right {
138 display:inline;
139 float:right;
140 margin:1.5em 0 1.5em 1.5em;
141 padding:0;
142}
143
144article,
145aside,
146details,
147figcaption,
148figure,
149footer,
150header,
151hgroup,
152menu,
153nav,
154section,
155summary {
156 display:block;
157}
158
159blockquote,
160q {
161 quotes:'' '';
162}
163blockquote:before,
164blockquote:after,
165q:before,
166q:after {
167 content:'';
168}
169
170blockquote {
171 margin:1.5em;
172}
173
174blockquote#nav {
175 margin-top:0;
176}
177
178section {
179 margin-bottom:1.5em;
180}
181
182a[href=''] {
183 cursor:default;
184}
185
186strong,
187dfn {
188 font-weight:bold;
189}
190
191em,
192dfn {
193 font-style:italic;
194}
195
196sup,
197sub {
198 line-height:0;
199}
200
201abbr,
202acronym {
203 border-bottom:1px dotted #666;
204}
205
206address {
207 margin:0 0 1.5em;
208 font-style:italic;
209}
210
211del {
212 color:#666;
213}
214
215pre {
216 margin:1.5em 0;
217 white-space:pre;
218}
219
220pre,
221code,
222kbd,
223tt {
224 font:1em 'Droid Sans Mono', monospace;
225 line-height:1.5;
226}
227
228dl {
229 margin:0 0 1.5em 0;
230}
231
232dl dt {
233 font-weight:bold;
234}
235
236dd {
237 margin-left:1.5em;
238}
239
240hr {
241 height:0;
242 border:0;
243 border-top:1px solid #ccc;
244 background-color:#ccc;
245}
246
247table {
248 border:1px solid #bbb;
249 border-spacing:0;
250 border-collapse:collapse;
251 margin:0 0 1.5em;
252 vertical-align:middle;
253 width:100%;
254}
255
256table.unlined,
257table.unlined th,
258table.unlined tr,
259table.unlined td {
260 border:0;
261}
262
263th,
264td,
265caption {
266 float:none !important;
267 text-align:left;
268 font-weight:normal;
269 vertical-align:middle;
270 padding:4px;
271}
272
273caption {
274 padding:0;
275}
276
277td {
278 border:1px solid #bbb;
279 vertical-align:top;
280}
281
282th {
283 border:0;
284 border-bottom:1px solid black;
285 font-weight:bold;
286 background:rgb(229, 236, 249);
287}
288
289th:only-of-type {
290 border-bottom:1px solid rgb(244, 244, 244);
291 background-color: rgb(238, 238, 238);
292 vertical-align: top;
293}
294
295table th code {
296 background-color:inherit;
297 color:inherit;
298}
299
300table tfoot th {
301 border:1px solid #bbb;
302}
303
304tfoot {
305 font-style:italic;
306}
307
308caption {
309 background:#eee;
310}
311
312table[border='0'] {
313 border:none;
314}
315
316table[border='0']>tbody>tr>td,
317table[border='0']>tr>td {
318 border:none;
319}
320
321tr.alt td,
322td.alt {
323 background-color:#efefef;
324}
325
326table.striped tr:nth-child(even) td,
327table tr.even td {
328 background:#efefef;
329}
330
331table.columns {
332 border:none;
333}
334
335table.columns>tbody>tr>td,
336table.columns>tr>td {
337 border:none;
338 padding:0 3em 0 0;
339}
340
341table.columns>tbody>tr>td:last-child,
342table.columns>tr>td:last-child {
343 border:none;
344 padding:0;
345}
346
347.two-columns td {
348 width: 50%;
349 vertical-align:top;
350}
351
352ul,
353ol {
354 margin:0 1.5em 1.5em 0;
355 padding-left:2em;
356}
357
358li ul,
359li ol {
360 margin:0;
361}
362
363ul {
364 list-style-type:disc;
365}
366
367ol {
368 list-style-type:decimal;
369}
370
371ul {
372 list-style-type:disc;
373}
374
375ul ul {
376 list-style-type:circle;
377}
378
379ul ul ul {
380 list-style-type:square;
381}
382
383ul.disc {
384 list-style-type:disc;
385}
386
387ul.circle {
388 list-style-type:circle;
389}
390
391ul.square {
392 list-style-type:square;
393}
394
395ol {
396 list-style-type:decimal;
397}
398
399ol ol {
400 list-style-type:lower-alpha;
401}
402
403ol ol ol {
404 list-style-type:lower-roman;
405}
406
407ol ul {
408 list-style-type:circle;
409}
410
411ol.decimal {
412 list-style-type:decimal;
413}
414
415ol.upper-alpha {
416 list-style-type:upper-alpha;
417}
418
419ol.lower-alpha {
420 list-style-type:lower-alpha;
421}
422
423ol.upper-roman {
424 list-style-type:upper-roman;
425}
426
427ol.lower-roman {
428 list-style-type:lower-roman;
429}
430
431ol.nolist,
432ul.nolist {
433 padding-left:0;
434 list-style-image:none;
435 list-style-type:none;
436 margin-left:0;
437}
438
439li p {
440 margin-bottom:0.75em;
441}
442
443figure {
444 margin:0 0 1.5em;
445 text-align:center;
446}
447
448figure.right {
449 float:right;
450 margin:5px 1em 1em;
451}
452
453figcaption {
454 font-style:italic;
455 font-size:90%;
456 text-align:center;
457}
458
459.center {
460 text-align:center;
461}
462
463.clear, .clearboth {
464 clear:both;
465}
466
467.class-done {
468 padding-top:2em;
469}
470
471a.file {
472 font-family:monospace;
473 font-size:120%;
474}
475
476.navtop {
477 font-size: xx-small;
478 float:right;
479}
480
481.loud {
482 font-weight:bold;
483}
484
485.quiet {
486 color:#999;
487 stress:30;
488}
489
490.light-title {
491 font-size:150%;
492 border:0;
493 color:#666;
494}
495
496code,
497kbd,
498pre {
499 color:#009900;
500}
501
502code {
503 white-space: nowrap;
504}
505
506pre > code {
507 white-space: inherit;
508}
509
510kbd {
511 font-weight: bold;
512}
513
514table.striped code {
515 background-color:inherit;
516}
517
518pre {
519 padding:6px 10px;
520 background-color:#FAFAFA;
521 border:1px solid #bbb;
522 overflow:auto;
523}
524
525pre.prettyprint {
526 padding:6px 10px !important;
527 border:1px solid #bbb !important;
528}
529
530code.bad, code.badcode {
531 color: magenta;
532}
533
534pre.bad, pre.badcode {
535 background-color:#ffe6d8;
536 border-top:1px inset #a03;
537 border-left:1px inset #a03;
538}
539
540.codesample {
541 border-top:1px inset silver;
542 border-left:1px inset silver;
543 display:inline-block;
544 margin-bottom:10px;
545}
546
547.codesample pre {
548 margin-bottom:0;
549}
550
551.codesample.good {
552 border-top:1px inset green;
553 border-left:1px inset green;
554 vertical-align: top;
555}
556
557.codesample.bad {
558 border-top:1px inset #a03;
559 border-left:1px inset #a03;
560 vertical-align: top;
561}
562
563.codesample > p {
564 margin-bottom: 0;
565 font-weight: bold;
566 border: 1px solid #888;
567 border-bottom: 0;
568 padding: 0 .25em;
569}
570
571.codesample.bad > p {
572 background-color: #ffeaea;
573}
574
575.codesample.bad > p:before {
576 content: "BAD: ";
577}
578
579.codesample.good > p {
580 background-color: #eaffea;
581}
582
583.codesample.good > p:before {
584 content: "GOOD: ";
585}
586
587.codesample.bad > pre {
588 background-color: #ffe6d8;
589}
590
591.codesample > pre {
592 margin-top: 0;
593}
594
595.border {
596 border:1px solid #aaa;
597 padding:3px;
598}
599
600.expandable {
601 display:block;
602 margin-left:16px;
603 min-height:20px;
604}
605
606.expandable .exw-control {
607 position:absolute;
608 margin-top:-6px;
609 margin-left:-16px;
610 cursor:pointer;
611 display:block;
612 text-decoration:none;
613 color:#222;
614 font-size:20px;
615}
616
617.hide {
618 display:none !important;
619}
620
621.show {
622 display:block !important;
623}
624
625.hidden {
626 display:none;
627}
628
629.invisible {
630 width:0 !important;
631 height:0 !important;
632 border:0 !important;
633}
634
635.announcement {
636 background-color:#FFECBC;
637 border-radius:2px;
638 border:1px solid #ffbf68;
639 padding:10px 20px;
640 color:#666;
641 margin-top:10px;
642 margin-right:16px;
643}
644
645.announcement>div strong {
646 font-size:1.2em;
647}
648
649.announcement>div#gc-description a {
650 text-decoration:underline;
651}
652
653.quiet {
654 color:#919191;
655}
656
657.quieter {
658 color:#ccc;
659}
660
661.doublespace,
662.doublespace li {
663 margin-top:1em;
664 line-height:200%;
665}
666
667.yellow {
668 background-color:#fffbd9;
669 border-left-color:#ffef70;
670}
671
672.orange {
673 background-color:#FFECBC;
674 border-left-color:#ffef70;
675}
676
677.red {
678 background-color:#ffe6d8;
679 border-left-color:#a03;
680}
681
682
683aside.caution,
684aside.lapswarning,
685aside.note,
686aside.special,
687aside.tip,
688aside.warning {
689 margin-bottom:1.5em;
690}
691
692.note,
693.caution,
694.tip,
695.warning,
696.special {
697 background-color:#efefef;
698 padding:6px 8px 6px 10px;
699 border-left:6px solid #999;
700}
701
702.note>h4,
703.caution>h4,
704.tip>h4,
705.warning>h4,
706.special>h4,
707.sidebar>h4,
708.special-sidebox>h4{
709 font-weight:bold;
710 font-size:1em;
711 margin:0.125em;
712}
713
714.note>p:last-child,
715.caution>p:last-child,
716.special>p:last-child,
717.tip>p:last-child,
718.warning>p:last-child {
719 margin:0;
720}
721
722.caution,
723.tip {
724 background-color:#fffbd9;
725 border-left-color:#ffef70;
726}
727
728.warning {
729 background-color:#ffe6d8;
730 border-left-color:#a03;
731}
732
733.note,
734.special {
735 background-color:#e5ecf9;
736 border-left-color:#36c;
737}
738
739.attention {
740 color:#990000;
741 font-weight:bold;
742}