auto merge of #17011 : nodakai/rust/rustdoc-stronger-crate, r=alexcrichton
If you browse to, say, http://doc.rust-lang.org/libc/types/os/common/posix01/struct.timeval.html , you will see the "location" window showing `libc::types::os::common::posix01`. The first element points to a crate and others point modules. This patch adds the bold attribute to the first (ie. crate) element so that it stands out more.
This commit is contained in:
commit
d8a26184dc
|
@ -177,6 +177,8 @@ nav.sub {
|
|||
color: #333;
|
||||
}
|
||||
|
||||
.location a:first-child { font-weight: bold; }
|
||||
|
||||
.block {
|
||||
padding: 0 10px;
|
||||
margin-bottom: 14px;
|
||||
|
|
Loading…
Reference in New Issue