<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/librustdoc/html/static/css/rustdoc.css, branch 1.65.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.65.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.65.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2022-10-04T20:27:13+00:00</updated>
<entry>
<title>Fix regression for results colors</title>
<updated>2022-10-04T20:27:13+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume.gomez@huawei.com</email>
</author>
<published>2022-09-27T18:22:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=69baa97520027b43c92df3d86963f7d770f74474'/>
<id>urn:sha1:69baa97520027b43c92df3d86963f7d770f74474</id>
<content type='text'>
(cherry picked from commit ef410f1b01f1f3e54975b6142062c737875d6c22)
</content>
</entry>
<entry>
<title>Create new CSS variables for links color</title>
<updated>2022-10-04T20:26:58+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume.gomez@huawei.com</email>
</author>
<published>2022-09-16T15:57:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b5b2a93b47068049a77fab53603df56f1a09b136'/>
<id>urn:sha1:b5b2a93b47068049a77fab53603df56f1a09b136</id>
<content type='text'>
(cherry picked from commit 1c659977d6f2ff3b2d70cfb2607cd8725d9fbe03)
</content>
</entry>
<entry>
<title>rustdoc: remove no-op CSS `.source .content { max-width: none }`</title>
<updated>2022-09-16T17:46:55+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2022-09-16T17:42:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ac8628bcf6dcac5b06f9dff311e8dc05e1367e4e'/>
<id>urn:sha1:ac8628bcf6dcac5b06f9dff311e8dc05e1367e4e</id>
<content type='text'>
This rule originated in 7669f04fb0ddc3d71a1fb44dc1c5c00a6564ae99, to
override the default, limited line-width that makes sense for prose, but
doesn't make sense for code (which typically uses hard-wrapped lines):

https://github.com/rust-lang/rust/blob/7669f04fb0ddc3d71a1fb44dc1c5c00a6564ae99/src/librustdoc/html/static/main.css#L153

This line width limiter isn't applied to the `&lt;div class="content"&gt;` node
any more. It's been moved to a separate wrapper `&lt;div&gt;` that used to be
called `main-inner` (in 135281ed1525db15edd8ebd092aa10aa40df2386) but is
now called `width-limiter` (since
d7528e2157762fadb9665518fd1e4dee6d6a2809).
</content>
</entry>
<entry>
<title>rustdoc: remove no-op CSS `.source .content { margin-left: 0 }`</title>
<updated>2022-09-16T17:46:47+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2022-09-16T17:41:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1676a9ad6189dbf4fd330f6041735f7459b256f5'/>
<id>urn:sha1:1676a9ad6189dbf4fd330f6041735f7459b256f5</id>
<content type='text'>
This rule originated in 7669f04fb0ddc3d71a1fb44dc1c5c00a6564ae99, to
override the default, massive left margin that content used to accommodate
the sidebar:

https://github.com/rust-lang/rust/blob/7669f04fb0ddc3d71a1fb44dc1c5c00a6564ae99/src/librustdoc/html/static/main.css#L307-L309

This massive left margin doesn't exist any more. It was replaced with a
flexbox-based sidebar layout in 135281ed1525db15edd8ebd092aa10aa40df2386.
</content>
</entry>
<entry>
<title>Rollup merge of #101877 - notriddle:notriddle/block, r=Dylan-DPC</title>
<updated>2022-09-16T11:07:19+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2022-09-16T11:07:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e284393c9e1f48431b67d95a49ae29a98489c317'/>
<id>urn:sha1:e284393c9e1f48431b67d95a49ae29a98489c317</id>
<content type='text'>
rustdoc: remove no-op CSS `.block { padding: 0 }`

This rule was changed in 8fb1250aba8135679463351a3813c04ae45bf311 from the original version that had a non-zero padding. It's not needed, because it's not overriding anything that would've given `.block` a padding.
</content>
</entry>
<entry>
<title>Rollup merge of #101494 - jsha:notable-traits-right, r=GuillaumeGomez</title>
<updated>2022-09-16T11:07:16+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2022-09-16T11:07:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e96abefe80a5dcff603585c45b64dee9e4478ea7'/>
<id>urn:sha1:e96abefe80a5dcff603585c45b64dee9e4478ea7</id>
<content type='text'>
rustdoc mobile: move notable traits to return type

These were originally on the left, but were moved to the return type in c90fb7185a5febb00b7f8ccb49abceacd41bad6e. The CSS rule for mobile did not get updated at the time, so updating it now.

r? `@notriddle`
</content>
</entry>
<entry>
<title>rustdoc: remove no-op CSS `.block { padding: 0 }`</title>
<updated>2022-09-16T00:16:59+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2022-09-16T00:16:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7c8e4ef49d21e3f79b60f6546cfb5181bb3b2592'/>
<id>urn:sha1:7c8e4ef49d21e3f79b60f6546cfb5181bb3b2592</id>
<content type='text'>
This rule was changed in 8fb1250aba8135679463351a3813c04ae45bf311 from the
original version that had a non-zero padding. It's not needed, because
it's not overriding anything that would've given `.block` a padding.
</content>
</entry>
<entry>
<title>rustdoc: remove no-op CSS `h1-4 { color: --main-color }`</title>
<updated>2022-09-15T16:59:27+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2022-09-15T16:59:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7f1734cd94eaeda71af5dc807a8ec58b3209d220'/>
<id>urn:sha1:7f1734cd94eaeda71af5dc807a8ec58b3209d220</id>
<content type='text'>
Headers already inherit the font color they need from their parents.

This rule dates back to earlier versions of the rustdoc theme, where headers
and body had different text colors.

https://github.com/rust-lang/rust/blob/68c15be8b5a28297ae58ea030adf49f265e41127/src/librustdoc/html/static/main.css#L72-L98

Nowadays, since the two have exactly the same color (specified by the
`--main-color` variable), this rule does nothing.
</content>
</entry>
<entry>
<title>Rollup merge of #101820 - notriddle:notriddle/a, r=GuillaumeGomez</title>
<updated>2022-09-15T06:00:18+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2022-09-15T06:00:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f62dd527680cf5f8bd7bf1fc18c86707310affd6'/>
<id>urn:sha1:f62dd527680cf5f8bd7bf1fc18c86707310affd6</id>
<content type='text'>
rustdoc: remove no-op rule `a { background: transparent }`

The background is transparent by default.

It was added in 5a01dbe67b43660bf1df96074f34a635aad50e56 to work around a bug in the JavaScript syntax highlighting engine that rustdoc used at the time.
</content>
</entry>
<entry>
<title>Rollup merge of #101812 - notriddle:notriddle/titles-button, r=GuillaumeGomez</title>
<updated>2022-09-15T06:00:17+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2022-09-15T06:00:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e6aef7bf38448981bb16a2e428ae1f4a9c691e3b'/>
<id>urn:sha1:e6aef7bf38448981bb16a2e428ae1f4a9c691e3b</id>
<content type='text'>
rustdoc: clean up CSS `#titles` using flexbox

This commit allows it to stop manually specifying pixel heights for the tabs on search result pages. There's less messing with manual breakpoints and less complex CSS selectors.

# Before

![image](https://user-images.githubusercontent.com/1593513/190215034-253c0f58-07c6-41c9-8848-0442c0522070.png)

# After

![image](https://user-images.githubusercontent.com/1593513/190215065-d2453dca-edf0-4353-8fc8-3a3b31f03892.png)
</content>
</entry>
</feed>
