fix background scrolling
[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     position: relative;
17     display: inline-block;
18     min-height: 100%;
19 }
20
21 h1, h2, h3, h4, h5, h6 {
22     line-height: 1.1em;
23 }
24
25 div.docs {
26     max-width: 580px;
27     padding-left: 35px;
28 }
29 #background {
30     position: absolute;
31     height: 100%;
32     left: 640px;
33 }
34 div.code {
35     margin-left: 640px;
36 }
37
38 @media print {
39     #background {
40         background: none;
41         border: none;
42     }
43     h1, h2, h3, h4, h5, h6 {
44         margin-top: 20px;
45     }
46     div.docs {
47         max-width: 99%;
48         padding-left: 0px;
49         padding-right: 0px;
50     }
51     div.docs p {
52         margin-bottom: 5px;
53     }
54     div.code {
55         margin: 0px;
56         padding-top: 2px;
57         padding-bottom: 5px;
58         clear: both;
59     }
60 }
61
62 /*---------------------- Syntax Highlighting -----------------------------*/
63 body .k { font-weight: bold }                   /* Keyword */
64 body .kd { font-weight: normal }                /* Keyword.Declaration */
65 body .n { color: #19469D }                      /* Name */
66
67 body .mf { color: #40A070 }                     /* Literal.Number.Float */
68 body .mh { color: #40A070 }                     /* Literal.Number.Hex */
69 body .mi { color: #40A070 }                     /* Literal.Number.Integer */
70 body .mo { color: #40A070 }                     /* Literal.Number.Oct */
71 body .il { color: #40A070 }                     /* Literal.Number.Integer.Long */