diff options
| author | Adrien Tétar <adri-from-59@hotmail.fr> | 2014-04-30 17:35:54 +0200 |
|---|---|---|
| committer | Adrien Tétar <adri-from-59@hotmail.fr> | 2014-04-30 17:35:54 +0200 |
| commit | dbea4853a97ff7bc2e7a25f41be6c49b7dc6e960 (patch) | |
| tree | a6ebb6bd1cce9349bce4a5560fc7b447d37af304 /src | |
| parent | ad37c0b97c1a5403268e2addbcae28c51d15a924 (diff) | |
| download | rust-dbea4853a97ff7bc2e7a25f41be6c49b7dc6e960.tar.gz rust-dbea4853a97ff7bc2e7a25f41be6c49b7dc6e960.zip | |
rustdoc: fix overly broad selectors
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustdoc/html/static/main.css | 7 | ||||
| -rw-r--r-- | src/libstd/prelude.rs | 2 |
2 files changed, 4 insertions, 5 deletions
diff --git a/src/librustdoc/html/static/main.css b/src/librustdoc/html/static/main.css index 663fd00c92b..8b6c75565db 100644 --- a/src/librustdoc/html/static/main.css +++ b/src/librustdoc/html/static/main.css @@ -207,9 +207,6 @@ nav.sub { text-overflow: ellipsis; } -.docblock a { color: #4e8bca; } -.docblock a:hover { text-decoration: underline; } - .docblock.short p { overflow: hidden; text-overflow: ellipsis; @@ -291,6 +288,8 @@ a { color: #000; background: transparent; } +p a { color: #4e8bca; } +p a:hover { text-decoration: underline; } .content a.trait, .block a.current.trait { color: #ed9603; } .content a.mod, .block a.current.mod { color: #4d76ae; } @@ -397,7 +396,7 @@ pre.rust .doccomment { color: #4D4D4C; } pre.rust .macro, pre.rust .macro-nonterminal { color: #3E999F; } pre.rust .lifetime { color: #B76514; } -.section-header { +.methods .section-header { /* Override parent class attributes. */ border-bottom: none !important; font-size: 1.1em !important; diff --git a/src/libstd/prelude.rs b/src/libstd/prelude.rs index e6001537d49..32df3869534 100644 --- a/src/libstd/prelude.rs +++ b/src/libstd/prelude.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -//! # The Rust prelude +//! The Rust prelude //! //! Because `std` is required by most serious Rust software, it is //! imported at the topmost level of every crate by default, as if the |
