diff options
| author | Andy Russell <arussell123@gmail.com> | 2019-01-14 10:02:27 -0500 |
|---|---|---|
| committer | Andy Russell <arussell123@gmail.com> | 2019-01-31 15:15:59 -0500 |
| commit | ea2b1b035b3aa2e0e464dabb0e46f6c2092d357f (patch) | |
| tree | b98972423c076d962517f0b6e5afab67509a6a51 /src/librustdoc/html/static/rustdoc.css | |
| parent | d30b99f9c23f8e1d6ef993cc94da96510ad709b3 (diff) | |
| download | rust-ea2b1b035b3aa2e0e464dabb0e46f6c2092d357f.tar.gz rust-ea2b1b035b3aa2e0e464dabb0e46f6c2092d357f.zip | |
rustdoc: wrap stability tags in colored spans
Diffstat (limited to 'src/librustdoc/html/static/rustdoc.css')
| -rw-r--r-- | src/librustdoc/html/static/rustdoc.css | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css index 36765496ff4..b2105860067 100644 --- a/src/librustdoc/html/static/rustdoc.css +++ b/src/librustdoc/html/static/rustdoc.css @@ -767,11 +767,14 @@ body.blur > :not(#help) { } .module-item .stab { - display: inline; - border-width: 0; - padding: 0; - margin: 0; - background: inherit !important; + border-radius: 3px; + display: inline-block; + font-size: 80%; + line-height: 1.2; + margin-bottom: 0; + margin-right: .3em; + padding: 2px; + vertical-align: text-bottom; } .module-item.unstable { |
