2 * Copyright 2013 The Rust Project Developers. See the COPYRIGHT
3 * file at the top-level directory of this distribution and at
4 * http://rust-lang.org/COPYRIGHT.
5 * With elements taken from Bootstrap v3.0.2 (MIT licensed).
7 * Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
8 * http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
9 * <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
10 * option. This file may not be copied, modified, or distributed
11 * except according to those terms.
14 font-family: 'Fira Sans';
17 src: local('Fira Sans'), url("FiraSans-Regular.woff") format('woff');
20 font-family: 'Fira Sans';
23 src: local('Fira Sans Medium'), url("FiraSans-Medium.woff") format('woff');
26 font-family: 'Heuristica';
29 src: local('Heuristica Regular'), url("Heuristica-Regular.woff") format('woff');
32 font-family: 'Heuristica';
35 src: local('Heuristica Italic'), url("Heuristica-Italic.woff") format('woff');
38 font-family: 'Heuristica';
41 src: local('Heuristica Bold'), url("Heuristica-Bold.woff") format('woff');
45 -webkit-box-sizing: border-box;
46 -moz-box-sizing: border-box;
47 box-sizing: border-box;
50 /* General structure */
55 font-family: "Heuristica", "Helvetica Neue", Helvetica, Arial, sans-serif;
58 line-height: 1.428571429;
60 @media (min-width: 768px) {
66 h1, h2, h3, h4, h5, h6, nav, #versioninfo {
67 font-family: "Fira Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
69 h1, h2, h3, h4, h5, h6 {
87 text-decoration: underline;
94 border-bottom: 2px solid #ddd;
102 border-bottom: 1px solid #ddd;
107 border-bottom: 1px solid #DDE8FC;
118 @media (min-width: 992px) {
132 -moz-column-count: 2;
133 -webkit-column-count: 2;
149 border-top: 1px solid #ddd;
160 text-decoration: none;
162 background: transparent;
166 text-decoration: underline;
169 outline: thin dotted #333;
170 outline: 5px auto -webkit-focus-ring-color;
171 outline-offset: -2px;
177 h1 a:link, h1 a:visited, h2 a:link, h2 a:visited,
178 h3 a:link, h3 a:visited, h4 a:link, h4 a:visited,
179 h5 a:link, h5 a:visited {color: black;}
180 h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover,
181 h5 a:hover {text-decoration: none;}
186 font-family: "Source Code Pro", Menlo, Monaco, Consolas, "DejaVu Sans Mono", monospace;
189 border-left: 2px solid #eee;
190 white-space: pre-wrap;
195 word-break: break-all;
196 word-wrap: break-word;
201 white-space: pre-wrap;
209 /* Code highlighting */
210 pre.rust .kw { color: #8959A8; }
211 pre.rust .kw-2, pre.rust .prelude-ty { color: #4271AE; }
212 pre.rust .number, pre.rust .string { color: #718C00; }
213 pre.rust .self, pre.rust .boolval, pre.rust .prelude-val,
214 pre.rust .attribute, pre.rust .attribute .ident { color: #C82829; }
215 pre.rust .comment { color: #8E908C; }
216 pre.rust .doccomment { color: #4D4D4C; }
217 pre.rust .macro, pre.rust .macro-nonterminal { color: #3E999F; }
218 pre.rust .lifetime { color: #B76514; }
227 @media (min-width: 992px) {
235 background-color: #fff;
241 #versioninfo a.hash {
250 background-color: #f2f7f9;
251 border-top: .1em solid #e5eef2;
252 border-bottom: .1em solid #e5eef2;
259 blockquote p:last-child {
266 ul ul, ol ul, ul ol, ol ol {
277 list-style-type: none;
282 /* Only display one level of hierarchy in the TOC */
298 border-top: 1px solid #eeeeee;
302 border-collapse: collapse;
312 border: 1px solid #ddd;
316 @media (min-width: 1170px) {
324 text-shadow: none !important;
325 color: #000 !important;
326 background: transparent !important;
327 box-shadow: none !important;
330 text-decoration: underline;
333 content: " (" attr(href) ")";
335 footer a[href]:after {
338 a[href^="javascript:"]:after, a[href^="#"]:after {
342 border: 1px solid #999;
343 page-break-inside: avoid;
348 h1:not(.title), h2, h3 {
349 border-bottom: 0px none;
356 page-break-after: avoid;
359 border-collapse: collapse !important;
362 background-color: #fff !important;