rust/src/librustdoc/html/render
Jacob Hoffman-Andrews 6a5f8b1aef Simplify and unify rustdoc sidebar styles
This switches to just use size, weight, and spacing to distinguish
headings in the sidebar. We no longer use boxes, horizontal bars, or
centering to distinguish headings. This makes it much easier to
understand the hierarchy of headings, and reduces visual noise.

I also refactored how the mobile topbar works. Previously, we tried to
shift around elements from the sidebar to make the topbar. Now, the
topbar gets its own elements, which can be styled on their own. This
makes styling and reasoning about those elements simpler.

Because the heading font sizes are bigger, increase the sidebar width
slightly.

As a very minor change, removed version from the "All types" page. It's
now only on the crate page.
2022-01-18 10:43:14 -08:00
..
context.rs Simplify and unify rustdoc sidebar styles 2022-01-18 10:43:14 -08:00
mod.rs Simplify and unify rustdoc sidebar styles 2022-01-18 10:43:14 -08:00
print_item.rs Fix missing dot separator 2022-01-15 18:19:44 +01:00
search_index.rs rustdoc: avoid many Symbol to String conversions. 2022-01-14 11:57:18 -08:00
span_map.rs Replace NestedVisitorMap with NestedFilter 2022-01-16 16:02:36 -06:00
tests.rs Corrected imports for render tests and mod files 2021-03-04 10:25:00 -08:00
write_shared.rs Auto merge of #91948 - nnethercote:rustdoc-more-Symbols, r=GuillaumeGomez 2022-01-14 20:34:18 +00:00