94b70f3bae57509e87734a8c7a6b104c3e2798db
[rust-101.git] / docs / pycco_custom.css
1 /*--------------------- Typography ----------------------------*/
2
3 @font-face {
4     font-family: 'aller-light';
5     src: url('fonts/aller-light.eot');
6     src: url('fonts/aller-light.eot?#iefix') format('embedded-opentype'),
7          url('fonts/aller-light.woff') format('woff'),
8          url('fonts/aller-light.ttf') format('truetype');
9     font-weight: normal;
10     font-style: normal;
11 }
12
13 /*--------------------- Layout ----------------------------*/
14 body {
15     font-family: 'aller-light', sans-serif;
16 }
17
18 h1, h2, h3, h4, h5, h6 {
19     line-height: 1.1em;
20 }
21
22 div.docs {
23     max-width: 580px;
24     padding-left: 35px;
25 }
26 #background {
27     left: 640px;
28 }
29 div.code {
30     margin-left: 640px;
31 }
32
33 @media print {
34     #background {
35         background: none;
36         border: none;
37     }
38     h1, h2, h3, h4, h5, h6 {
39         margin-top: 20px;
40     }
41     div.docs {
42         max-width: 99%;
43         padding-left: 0px;
44         padding-right: 0px;
45     }
46     div.docs p {
47         margin-bottom: 5px;
48     }
49     div.code {
50         margin: 0px;
51         padding-top: 2px;
52         padding-bottom: 5px;
53         clear: both;
54     }
55 }
56
57 /*---------------------- Syntax Highlighting -----------------------------*/
58 body .k { font-weight: bold }                   /* Keyword */
59 body .kd { font-weight: normal }                /* Keyword.Declaration */
60 body .n { color: #19469D }                      /* Name */
61
62 body .mf { color: #40A070 }                     /* Literal.Number.Float */
63 body .mh { color: #40A070 }                     /* Literal.Number.Hex */
64 body .mi { color: #40A070 }                     /* Literal.Number.Integer */
65 body .mo { color: #40A070 }                     /* Literal.Number.Oct */
66 body .il { color: #40A070 }                     /* Literal.Number.Integer.Long */