diff options
| author | bors <bors@rust-lang.org> | 2014-09-06 17:51:24 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-09-06 17:51:24 +0000 |
| commit | d8a26184dc103025e7ad457ffd8deb391019dbfe (patch) | |
| tree | 6bd20981a58b16aa529ba5a49d8ce6f6efcef610 /src/librustdoc/html | |
| parent | 6eabd85265e18b47942dac7cf3f258e38d9d9f2e (diff) | |
| parent | 9e82fc7ef9b6c8a344dd27583990b02a661af78c (diff) | |
| download | rust-d8a26184dc103025e7ad457ffd8deb391019dbfe.tar.gz rust-d8a26184dc103025e7ad457ffd8deb391019dbfe.zip | |
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.
Diffstat (limited to 'src/librustdoc/html')
| -rw-r--r-- | src/librustdoc/html/static/main.css | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/librustdoc/html/static/main.css b/src/librustdoc/html/static/main.css index 6a7fc907c0b..27d54f8ec9d 100644 --- a/src/librustdoc/html/static/main.css +++ b/src/librustdoc/html/static/main.css @@ -177,6 +177,8 @@ nav.sub { color: #333; } +.location a:first-child { font-weight: bold; } + .block { padding: 0 10px; margin-bottom: 14px; |
