diff options
| author | bors <bors@rust-lang.org> | 2022-08-27 06:12:17 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-08-27 06:12:17 +0000 |
| commit | d0e1491ecd6ab30a47ebe29f8a86463eacc6a997 (patch) | |
| tree | 80b3628973454308a3c7a18bae640c758422db31 /src/librustdoc/html/static/css/rustdoc.css | |
| parent | 9845f4c47e7062867c73b6bed8f1df273b56d5d7 (diff) | |
| parent | bd893725637d38e508811c868f100bda3d13583b (diff) | |
| download | rust-d0e1491ecd6ab30a47ebe29f8a86463eacc6a997.tar.gz rust-d0e1491ecd6ab30a47ebe29f8a86463eacc6a997.zip | |
Auto merge of #101074 - JohnTitor:rollup-zwznihq, r=JohnTitor
Rollup of 11 pull requests Successful merges: - #96240 (Stabilize `const_ptr_offset_from`.) - #99784 (Make forward compatibility lint deprecated_cfg_attr_crate_type_name deny by default) - #100811 (Fix wrong compiletest filters on Windows) - #100924 (Smaller improvements of tidy and the unicode generator) - #100953 (Update documentation for `write!` and `writeln!`) - #101018 (rustdoc: omit start/end tags for empty item description blocks) - #101044 (rustdoc: remove unused CSS for `hidden-by-*-hider`) - #101046 (rustdoc: remove incorrect CSS selector `.impl-items table td`) - #101057 (Merge implementations of HIR fn_decl and fn_sig.) - #101062 (rustdoc: remove empty extern_crates and type="text/javascript" on script) - #101063 (Merge duplicated CSS rules) Failed merges: - #101055 (Use smaller span for suggestions) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'src/librustdoc/html/static/css/rustdoc.css')
| -rw-r--r-- | src/librustdoc/html/static/css/rustdoc.css | 41 |
1 files changed, 9 insertions, 32 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css index 38cdcd61e88..deed6eaf0cb 100644 --- a/src/librustdoc/html/static/css/rustdoc.css +++ b/src/librustdoc/html/static/css/rustdoc.css @@ -364,11 +364,6 @@ li { margin-left: 0px; } -nav.sub { - position: relative; - font-size: 1rem; -} - .sub-container { display: flex; flex-direction: row; @@ -638,9 +633,6 @@ h2.location a { } .docblock-short p { display: inline; -} - -.docblock-short p { overflow: hidden; text-overflow: ellipsis; margin: 0; @@ -777,7 +769,7 @@ pre, .rustdoc.source .example-wrap { .content .docblock >.impl-items table td { padding: 0; } -.content .docblock > .impl-items .table-display, .impl-items table td { +.content .docblock > .impl-items .table-display { border: none; } @@ -820,6 +812,8 @@ pre, .rustdoc.source .example-wrap { } nav.sub { + position: relative; + font-size: 1rem; flex-grow: 1; margin-bottom: 25px; } @@ -919,6 +913,7 @@ table, position: relative; display: flex; height: 34px; + margin-top: 4px; } .search-container > * { height: 100%; @@ -990,9 +985,6 @@ so that we can apply CSS-filters to change the arrow color in themes */ #crate-search > option { font-size: 1rem; } -.search-container { - margin-top: 4px; -} .search-input { /* Override Normalize.css: it has a rule that sets -webkit-appearance: textfield for search inputs. That @@ -1188,6 +1180,7 @@ so that we can apply CSS-filters to change the arrow color in themes */ padding-left: 12px; padding-right: 2px; position: initial; + float: right; } .impl-items .srclink, .impl .srclink, .methods .srclink { @@ -1196,10 +1189,6 @@ so that we can apply CSS-filters to change the arrow color in themes */ font-size: 1rem; } -.rightside { - float: right; -} - td.summary-column { width: 100%; } @@ -1226,7 +1215,7 @@ a.test-arrow { .example-wrap:hover .test-arrow { visibility: visible; } -a.test-arrow:hover{ +a.test-arrow:hover { text-decoration: none; } @@ -1494,10 +1483,6 @@ pre.rust { outline: none; } -#copy-path { - height: 34px; - background-color: var(--main-background-color); -} #settings-menu > a, #help-button > button, #copy-path { padding: 5px; width: 33px; @@ -1555,7 +1540,8 @@ input:checked + .slider { } #copy-path { - background: initial; + height: 34px; + background-color: var(--main-background-color); margin-left: 10px; padding: 0; padding-left: 2px; @@ -1573,12 +1559,6 @@ kbd { cursor: default; } -.hidden-by-impl-hider, -.hidden-by-usual-hider { - /* important because of conflicting rule for small screens */ - display: none !important; -} - #implementations-list > h3 > span.in-band { width: 100%; } @@ -1841,10 +1821,6 @@ in storage.js plus the media query with (min-width: 701px) display: none; } - .sidebar-elems { - margin-top: 1em; - } - .sidebar { position: fixed; top: 45px; @@ -1938,6 +1914,7 @@ in storage.js plus the media query with (min-width: 701px) } .sidebar-elems { + margin-top: 1em; background-color: var(--sidebar-background-color); } |
