<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/librustdoc/html/static/css/rustdoc.css, branch 1.59.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.59.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.59.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2022-01-08T04:21:01+00:00</updated>
<entry>
<title>Rollup merge of #92610 - GuillaumeGomez:css-class-instead-of-inline-style, r=jsha</title>
<updated>2022-01-08T04:21:01+00:00</updated>
<author>
<name>Eric Huss</name>
<email>eric@huss.org</email>
</author>
<published>2022-01-08T04:21:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=759b13eb6cb5288d6a81955a19158132c8ab461d'/>
<id>urn:sha1:759b13eb6cb5288d6a81955a19158132c8ab461d</id>
<content type='text'>
Create CSS class instead of using inline style for search results

I saw this change in the update you proposed in https://github.com/rust-lang/rust/pull/92404. :)

r? ``@jsha``
</content>
</entry>
<entry>
<title>Create CSS class instead of using inline style for search results</title>
<updated>2022-01-06T14:12:01+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume.gomez@huawei.com</email>
</author>
<published>2022-01-06T12:08:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=26edfc9e318d24ab3f4c3bf9927af0edd5355a19'/>
<id>urn:sha1:26edfc9e318d24ab3f4c3bf9927af0edd5355a19</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #92404 - GuillaumeGomez:src-font-size, r=jsha</title>
<updated>2022-01-06T11:01:04+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2022-01-06T11:01:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b510278278304ab961c4bad2ed7119f5d70d0d51'/>
<id>urn:sha1:b510278278304ab961c4bad2ed7119f5d70d0d51</id>
<content type='text'>
Fix font size for [src] links in headers

Fixes #90384.

cc `@jsha`
r? `@camelid`
</content>
</entry>
<entry>
<title>Rollup merge of #92058 - jsha:run-on-hover, r=GuillaumeGomez</title>
<updated>2022-01-06T11:00:59+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2022-01-06T11:00:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=50d5e38800ea9458a93e6c95add9c4b8a6b77603'/>
<id>urn:sha1:50d5e38800ea9458a93e6c95add9c4b8a6b77603</id>
<content type='text'>
Make Run button visible on hover

This slightly reduces the noisiness of doc pages, making them easier to read.

Demo: https://rustdoc.crud.net/jsha/run-on-hover/std/string/struct.String.html

[Discussed on Zulip](https://rust-lang.zulipchat.com/#narrow/stream/266220-rustdoc/topic/.22Run.22.20button.20visible.20on.20hover).

Part of #59845
</content>
</entry>
<entry>
<title>Fix font size for [src] links in headers</title>
<updated>2022-01-05T16:35:04+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume.gomez@huawei.com</email>
</author>
<published>2021-12-29T13:55:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=270d09dca9aae263671c4d32bbc7cb60dc378af8'/>
<id>urn:sha1:270d09dca9aae263671c4d32bbc7cb60dc378af8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make Run button visible on hover</title>
<updated>2022-01-05T15:07:22+00:00</updated>
<author>
<name>Jacob Hoffman-Andrews</name>
<email>github@hoffman-andrews.com</email>
</author>
<published>2021-12-18T06:38:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6409f0d5584800f88c12b0e56f56f09626f5b3f0'/>
<id>urn:sha1:6409f0d5584800f88c12b0e56f56f09626f5b3f0</id>
<content type='text'>
This slightly reduces the noisiness of doc pages, making them easier to
read.
</content>
</entry>
<entry>
<title>Set font size proportional to user's font size</title>
<updated>2022-01-02T16:23:26+00:00</updated>
<author>
<name>Jacob Hoffman-Andrews</name>
<email>github@hoffman-andrews.com</email>
</author>
<published>2021-12-30T21:42:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cc18120425a5c571a968d850c75cc935a8321136'/>
<id>urn:sha1:cc18120425a5c571a968d850c75cc935a8321136</id>
<content type='text'>
According to MDN
(https://developer.mozilla.org/en-US/docs/Web/CSS/font-size),

&gt; To maximize accessibility, it is generally best to use values that
&gt; are relative to the user's default font size.

&gt; Defining font sizes in px is not accessible, because the user cannot
&gt; change the font size in some browsers.

Note that changing font size (in browser or OS settings) is distinct
from the zoom functionality triggered with Ctrl/Cmd-+. Zoom
functionality increases the size of everything on the page, effectively
applying a multiplier to all pixel sizes. Font size changes apply to
just text.

For relative font sizes, we could use `em`, as we do in several places
already. However that has a problem of "compounding" (see MDN article
for details). The compounding problem is nicely solved by `rem`, which
make font sizes relative to the root element, not the parent element.

Since we were using a hodge-podge of pixel sizes, em, rem, and
percentage sizes before, this change switching everything to rem, while
keeping the same size relative to our old default of 16px.

16px is still the default on most browsers, for users that haven't set a
larger or smaller font size.
</content>
</entry>
<entry>
<title>Fix display of toggles on mobile</title>
<updated>2021-12-30T15:21:50+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume.gomez@huawei.com</email>
</author>
<published>2021-12-29T17:54:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7c78ea5b53a8a37d3d56a79c1aeca75beab80140'/>
<id>urn:sha1:7c78ea5b53a8a37d3d56a79c1aeca75beab80140</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #91905 - GuillaumeGomez:source-code-page-sidebar, r=jsha</title>
<updated>2021-12-15T07:36:24+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2021-12-15T07:36:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6132a2b55aad0eba4e2a8458f3c7905c92be8ccf'/>
<id>urn:sha1:6132a2b55aad0eba4e2a8458f3c7905c92be8ccf</id>
<content type='text'>
Fix source code page sidebar on mobile

Current broken behaviour:

https://user-images.githubusercontent.com/3050060/145984316-35c82353-5bab-4dc6-9ac6-63ea7e5c27d8.mp4

Fixed:

https://user-images.githubusercontent.com/3050060/145984329-8be1127b-d707-424d-ac3c-c1fb3c48a093.mp4

r? `@jsha`
</content>
</entry>
<entry>
<title>Fix sidebar in source code page</title>
<updated>2021-12-14T10:50:41+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume.gomez@huawei.com</email>
</author>
<published>2021-12-14T10:48:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=65ed5f369c7113b324c0ed42248474e37d7622ec'/>
<id>urn:sha1:65ed5f369c7113b324c0ed42248474e37d7622ec</id>
<content type='text'>
</content>
</entry>
</feed>
