1 // Copyright 2014 The Rust Project Developers. See the COPYRIGHT
2 // file at the top-level directory of this distribution and at
3 // http://rust-lang.org/COPYRIGHT.
5 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8 // option. This file may not be copied, modified, or distributed
9 // except according to those terms.
11 // The rust-book CSS in string form.
13 pub static STYLE: &'static str = r#"
14 @import url("../rust.css");
28 border-right: 1px solid rgba(0, 0, 0, 0.07);
31 background: none repeat scroll 0% 0% #FFF;
32 box-sizing: border-box;
33 -webkit-overflow-scrolling: touch;
43 box-sizing: border-box;
44 background: none repeat scroll 0% 0% #FFF;
45 -webkit-overflow-scrolling: touch;
55 @media only screen and (max-width: 1060px) {
79 list-style: none outside none;
85 list-style: none outside none;
91 text-overflow: ellipsis;
100 .chapter li a.active {
101 text-decoration: underline;
108 padding: 3px 3px 0 3px;
115 background-color: #FFF;
116 border: 1px solid #666;
117 border-radius: 3px 3px 3px 3px;
127 clip: rect(0, 0, 0, 0);
133 background-color: #000;