2 * Copyright 2013-2014 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: 'Source Serif Pro';
29 src: local('Source Serif Pro'), url("SourceSerifPro-Regular.woff") format('woff');
32 font-family: 'Source Serif Pro';
35 src: url("Heuristica-Italic.woff") format('woff');
38 font-family: 'Source Serif Pro';
41 src: local('Source Serif Pro Bold'), url("SourceSerifPro-Bold.woff") format('woff');
44 font-family: 'Source Code Pro';
47 src: local('Source Code Pro'), url("SourceCodePro-Regular.woff") format('woff');
51 -webkit-box-sizing: border-box;
52 -moz-box-sizing: border-box;
53 box-sizing: border-box;
56 /* General structure */
61 font-family: "Source Serif Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
64 line-height: 1.428571429;
66 -webkit-font-feature-settings: "kern", "liga";
67 -moz-font-feature-settings: "kern", "liga";
68 font-feature-settings: "kern", "liga";
70 @media (min-width: 768px) {
76 h1, h2, h3, h4, h5, h6, nav, #versioninfo {
77 font-family: "Fira Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
79 h1, h2, h3, h4, h5, h6 {
97 text-decoration: underline;
104 border-bottom: 2px solid #ddd;
112 border-bottom: 1px solid #ddd;
117 border-bottom: 1px solid #DDE8FC;
128 @media (min-width: 992px) {
142 -moz-column-count: 2;
143 -webkit-column-count: 2;
160 border-top: 1px solid #ddd;
171 text-decoration: none;
173 background: transparent;
177 text-decoration: underline;
180 outline: thin dotted #333;
181 outline: 5px auto -webkit-focus-ring-color;
182 outline-offset: -2px;
188 h1 a:link, h1 a:visited, h2 a:link, h2 a:visited,
189 h3 a:link, h3 a:visited, h4 a:link, h4 a:visited,
190 h5 a:link, h5 a:visited {color: black;}
191 h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover,
192 h5 a:hover {text-decoration: none;}
197 font-family: "Source Code Pro", Menlo, Monaco, Consolas, "DejaVu Sans Mono", monospace;
198 word-wrap: break-word;
201 border-left: 2px solid #eee;
202 white-space: pre-wrap;
207 word-break: break-all;
223 /* Code highlighting */
224 pre.rust .kw { color: #8959A8; }
225 pre.rust .kw-2, pre.rust .prelude-ty { color: #4271AE; }
226 pre.rust .number, pre.rust .string { color: #718C00; }
227 pre.rust .self, pre.rust .boolval, pre.rust .prelude-val,
228 pre.rust .attribute, pre.rust .attribute .ident { color: #C82829; }
229 pre.rust .comment { color: #8E908C; }
230 pre.rust .doccomment { color: #4D4D4C; }
231 pre.rust .macro, pre.rust .macro-nonterminal { color: #3E999F; }
232 pre.rust .lifetime { color: #B76514; }
241 @media (min-width: 992px) {
249 background-color: #fff;
255 #versioninfo a.hash {
264 background-color: #f2f7f9;
265 border-top: .1em solid #e5eef2;
266 border-bottom: .1em solid #e5eef2;
273 blockquote p:last-child {
280 ul ul, ol ul, ul ol, ol ol {
291 list-style-type: none;
296 /* Only display one level of hierarchy in the TOC */
312 border-top: 1px solid #eeeeee;
316 border-collapse: collapse;
328 border: 1px solid #ddd;
334 .rusttest { display: none; }
335 pre.rust { position: relative; }
337 display: inline-block;
342 -webkit-transform: scaleX(-1);
343 transform: scaleX(-1);
347 border: 2px solid red;
351 @media (min-width: 1170px) {
359 text-shadow: none !important;
360 color: #000 !important;
361 background: transparent !important;
362 box-shadow: none !important;
365 text-decoration: underline;
368 content: " (" attr(href) ")";
370 footer a[href]:after {
373 a[href^="javascript:"]:after, a[href^="#"]:after {
377 border: 1px solid #999;
378 page-break-inside: avoid;
383 h1:not(.title), h2, h3 {
384 border-bottom: 0px none;
391 page-break-after: avoid;
394 border-collapse: collapse !important;
397 background-color: #fff !important;
401 #keyword-table-marker + table thead { display: none; }
402 #keyword-table-marker + table td { border: none; }
403 #keyword-table-marker + table {