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 /* Avoid using locally installed font because bad versions are in circulation:
48 * see https://github.com/rust-lang/rust/issues/24355 */
49 src: url("SourceCodePro-Regular.woff") format('woff');
53 -webkit-box-sizing: border-box;
54 -moz-box-sizing: border-box;
55 box-sizing: border-box;
58 /* General structure */
61 background-color: white;
64 font-family: "Source Serif Pro", Georgia, Times, "Times New Roman", serif;
67 line-height: 1.428571429;
69 -webkit-font-feature-settings: "kern", "liga";
70 -moz-font-feature-settings: "kern", "liga";
71 font-feature-settings: "kern", "liga";
73 @media (min-width: 768px) {
79 h1, h2, h3, h4, h5, h6, nav, #versioninfo {
80 font-family: "Fira Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
82 h1, h2, h3, h4, h5, h6 {
100 text-decoration: underline;
107 border-bottom: 2px solid #ddd;
115 border-bottom: 1px solid #ddd;
120 border-bottom: 1px solid #DDE8FC;
131 @media (min-width: 992px) {
145 -moz-column-count: 2;
146 -webkit-column-count: 2;
163 border-top: 1px solid #ddd;
174 text-decoration: none;
176 background: transparent;
180 text-decoration: underline;
183 outline: thin dotted #333;
184 outline: 5px auto -webkit-focus-ring-color;
185 outline-offset: -2px;
191 h1 a:link, h1 a:visited, h2 a:link, h2 a:visited,
192 h3 a:link, h3 a:visited, h4 a:link, h4 a:visited,
193 h5 a:link, h5 a:visited {color: black;}
194 h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover,
195 h5 a:hover {text-decoration: none;}
200 font-family: "Source Code Pro", Menlo, Monaco, Consolas, "DejaVu Sans Mono", monospace;
201 word-wrap: break-word;
204 border-left: 2px solid #eee;
205 white-space: pre-wrap;
210 word-break: break-all;
226 .section-header > a > code {
230 /* Code highlighting */
231 pre.rust .kw { color: #8959A8; }
232 pre.rust .kw-2, pre.rust .prelude-ty { color: #4271AE; }
233 pre.rust .number, pre.rust .string { color: #718C00; }
234 pre.rust .self, pre.rust .bool-val, pre.rust .prelude-val,
235 pre.rust .attribute, pre.rust .attribute .ident { color: #C82829; }
236 pre.rust .comment { color: #8E908C; }
237 pre.rust .doccomment { color: #4D4D4C; }
238 pre.rust .macro, pre.rust .macro-nonterminal { color: #3E999F; }
239 pre.rust .lifetime { color: #B76514; }
248 @media (min-width: 992px) {
256 background-color: #fff;
262 #versioninfo a.hash {
271 background-color: #f2f7f9;
272 border-top: .1em solid #e5eef2;
273 border-bottom: .1em solid #e5eef2;
280 blockquote p:last-child {
287 ul ul, ol ul, ul ol, ol ol {
298 list-style-type: none;
303 /* Only display one level of hierarchy in the TOC */
319 border-top: 1px solid #eeeeee;
323 border-collapse: collapse;
335 border: 1px solid #ddd;
341 pre.rust { position: relative; }
343 background-color: rgba(78, 139, 202, 0.2);
344 display: inline-block;
347 padding: 5px 10px 5px 10px;
354 background-color: #4e8bca;
355 text-decoration: none;
359 border: 2px solid red;
363 @media (min-width: 1170px) {
371 text-shadow: none !important;
372 color: #000 !important;
373 background: transparent !important;
374 box-shadow: none !important;
377 text-decoration: underline;
380 content: " (" attr(href) ")";
382 footer a[href]:after {
385 a[href^="javascript:"]:after, a[href^="#"]:after {
389 border: 1px solid #999;
390 page-break-inside: avoid;
395 h1:not(.title), h2, h3 {
396 border-bottom: 0px none;
403 page-break-after: avoid;
406 border-collapse: collapse !important;
409 background-color: #fff !important;
413 #keyword-table-marker + table thead { display: none; }
414 #keyword-table-marker + table td { border: none; }
415 #keyword-table-marker + table {
433 display: inline-block;
437 .tooltip .tooltiptext {
449 .tooltip:hover .tooltiptext {
453 .tooltip .tooltiptext::after {