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 */
59 background-color: white;
62 font-family: "Source Serif Pro", Georgia, Times, "Times New Roman", serif;
65 line-height: 1.428571429;
67 -webkit-font-feature-settings: "kern", "liga";
68 -moz-font-feature-settings: "kern", "liga";
69 font-feature-settings: "kern", "liga";
71 @media (min-width: 768px) {
77 h1, h2, h3, h4, h5, h6, nav, #versioninfo {
78 font-family: "Fira Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
80 h1, h2, h3, h4, h5, h6 {
98 text-decoration: underline;
105 border-bottom: 2px solid #ddd;
113 border-bottom: 1px solid #ddd;
118 border-bottom: 1px solid #DDE8FC;
129 @media (min-width: 992px) {
143 -moz-column-count: 2;
144 -webkit-column-count: 2;
161 border-top: 1px solid #ddd;
172 text-decoration: none;
174 background: transparent;
178 text-decoration: underline;
181 outline: thin dotted #333;
182 outline: 5px auto -webkit-focus-ring-color;
183 outline-offset: -2px;
189 h1 a:link, h1 a:visited, h2 a:link, h2 a:visited,
190 h3 a:link, h3 a:visited, h4 a:link, h4 a:visited,
191 h5 a:link, h5 a:visited {color: black;}
192 h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover,
193 h5 a:hover {text-decoration: none;}
198 font-family: "Source Code Pro", Menlo, Monaco, Consolas, "DejaVu Sans Mono", monospace;
199 word-wrap: break-word;
202 border-left: 2px solid #eee;
203 white-space: pre-wrap;
208 word-break: break-all;
224 /* Code highlighting */
225 pre.rust .kw { color: #8959A8; }
226 pre.rust .kw-2, pre.rust .prelude-ty { color: #4271AE; }
227 pre.rust .number, pre.rust .string { color: #718C00; }
228 pre.rust .self, pre.rust .boolval, pre.rust .prelude-val,
229 pre.rust .attribute, pre.rust .attribute .ident { color: #C82829; }
230 pre.rust .comment { color: #8E908C; }
231 pre.rust .doccomment { color: #4D4D4C; }
232 pre.rust .macro, pre.rust .macro-nonterminal { color: #3E999F; }
233 pre.rust .lifetime { color: #B76514; }
242 @media (min-width: 992px) {
250 background-color: #fff;
256 #versioninfo a.hash {
265 background-color: #f2f7f9;
266 border-top: .1em solid #e5eef2;
267 border-bottom: .1em solid #e5eef2;
274 blockquote p:last-child {
281 ul ul, ol ul, ul ol, ol ol {
292 list-style-type: none;
297 /* Only display one level of hierarchy in the TOC */
313 border-top: 1px solid #eeeeee;
317 border-collapse: collapse;
329 border: 1px solid #ddd;
335 .rusttest { display: none; }
336 pre.rust { position: relative; }
338 display: inline-block;
343 -webkit-transform: scaleX(-1);
344 transform: scaleX(-1);
348 border: 2px solid red;
352 @media (min-width: 1170px) {
360 text-shadow: none !important;
361 color: #000 !important;
362 background: transparent !important;
363 box-shadow: none !important;
366 text-decoration: underline;
369 content: " (" attr(href) ")";
371 footer a[href]:after {
374 a[href^="javascript:"]:after, a[href^="#"]:after {
378 border: 1px solid #999;
379 page-break-inside: avoid;
384 h1:not(.title), h2, h3 {
385 border-bottom: 0px none;
392 page-break-after: avoid;
395 border-collapse: collapse !important;
398 background-color: #fff !important;
402 #keyword-table-marker + table thead { display: none; }
403 #keyword-table-marker + table td { border: none; }
404 #keyword-table-marker + table {