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("http://www.rust-lang.org/fonts/FiraSans-Regular.woff") format('woff');
20 font-family: 'Fira Sans';
23 src: local('Fira Sans Medium'), url("http://www.rust-lang.org/fonts/FiraSans-Medium.woff") format('woff');
26 font-family: 'Heuristica';
29 src: local('Heuristica Regular'), url("http://www.rust-lang.org/fonts/Heuristica-Regular.woff") format('woff');
32 font-family: 'Heuristica';
35 src: local('Heuristica Italic'), url("http://www.rust-lang.org/fonts/Heuristica-Italic.woff") format('woff');
38 font-family: 'Heuristica';
41 src: local('Heuristica Bold'), url("http://www.rust-lang.org/fonts/Heuristica-Bold.woff") format('woff');
43 /* Global page semantics
44 ========================================================================== */
48 font-family: "Heuristica", "Helvetica Neue", Helvetica, Arial, sans-serif;
51 line-height: 1.428571429;
53 @media (min-width: 768px) {
59 h1, h2, h3, h4, h5, h6, nav, #versioninfo {
60 font-family: "Fira Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
62 h1, h2, h3, h4, h5, h6 {
74 @media (min-width: 1170px) {
90 text-decoration: underline;
97 border-bottom: 2px solid #ddd;
105 border-bottom: 1px solid #ddd;
110 border-bottom: 1px solid #DDE8FC;
121 @media (min-width: 992px) {
135 -moz-column-count: 2;
136 -webkit-column-count: 2;
152 border-top: 1px solid #ddd;
161 ========================================================================== */
163 text-decoration: none;
165 background: transparent;
169 text-decoration: underline;
172 outline: thin dotted #333;
173 outline: 5px auto -webkit-focus-ring-color;
174 outline-offset: -2px;
180 h1 a:link, h1 a:visited, h2 a:link, h2 a:visited,
181 h3 a:link, h3 a:visited, h4 a:link, h4 a:visited,
182 h5 a:link, h5 a:visited {color: black;}
183 h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover,
184 h5 a:hover {text-decoration: none;}
187 ========================================================================== */
189 font-family: Menlo, Monaco, Consolas, "DejaVu Sans Mono", monospace;
193 background-color: #FDFDFD;
194 border: 1px solid #CCC;
195 border-radius: 0.5em;
196 white-space: pre-wrap;
200 word-break: break-all;
201 word-wrap: break-word;
212 white-space: pre-wrap;
213 background-color: transparent;
217 /* Code highlighting */
218 pre.rust .kw { color: #8959A8; }
219 pre.rust .kw-2, pre.rust .prelude-ty { color: #4271AE; }
220 pre.rust .number, pre.rust .string { color: #718C00; }
221 pre.rust .self, pre.rust .boolval, pre.rust .prelude-val,
222 pre.rust .attribute, pre.rust .attribute .ident { color: #C82829; }
223 pre.rust .comment { color: #8E908C; }
224 pre.rust .doccomment { color: #4D4D4C; }
225 pre.rust .macro, pre.rust .macro-nonterminal { color: #3E999F; }
226 pre.rust .lifetime { color: #B76514; }
230 ========================================================================== */
236 @media only screen and (min-width: 768px) {
243 background-color: #fff;
249 #versioninfo a.hash {
256 border-left: 5px solid #eee;
265 blockquote p:last-child {
272 ul ul, ol ul, ul ol, ol ol {
283 list-style-type: none;
288 /* Only display one level of hierarchy in the TOC */
304 border-top: 1px solid #eeeeee;
308 border-collapse: collapse;
318 border: 1px solid #ddd;
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;