<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/librustdoc/html/static/images, branch try</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=try</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=try'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2024-04-28T15:23:12+00:00</updated>
<entry>
<title>Inline `wheel.svg` into CSS</title>
<updated>2024-04-28T15:23:12+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume.gomez@huawei.com</email>
</author>
<published>2024-04-10T18:29:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f780913c722a78ab87e3fea10af4b75c0e4c1b66'/>
<id>urn:sha1:f780913c722a78ab87e3fea10af4b75c0e4c1b66</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Inline `clipboard.svg` into CSS</title>
<updated>2024-04-28T15:23:11+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume.gomez@huawei.com</email>
</author>
<published>2024-04-10T18:14:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f5b3b400f7c5f85d3e0a821d83f41b2b71985f9b'/>
<id>urn:sha1:f5b3b400f7c5f85d3e0a821d83f41b2b71985f9b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustdoc: remove unused 16x16 favicon</title>
<updated>2024-04-10T02:35:23+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2024-04-10T00:26:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=87faa212fbc9f80daec903aa1bab1f997897bec4'/>
<id>urn:sha1:87faa212fbc9f80daec903aa1bab1f997897bec4</id>
<content type='text'>
According to &lt;https://caniuse.com/?search=svg%20favicon&gt;,
SVG favicons are supported in everything but Safari.

When I actually try it in Safari, it's downloading all
three favicons, and nothing looks different when I disable
the 16x16 one.

&lt;https://dev.to/masakudamatsu/favicon-nightmare-how-to-maintain-sanity-3al7&gt;,
which is linked from caniuse above, recommends an ico.
However, the reason they recommend it is the apps that
only support /favicon.ico exactly, and rustdoc can't assume
it will be installed to the site root, so it's unfortunately
up to the webmaster to make sure it's set up.
</content>
</entry>
<entry>
<title>rustdoc: load icons from css instead of inline</title>
<updated>2024-04-10T02:35:23+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2024-04-10T00:15:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=13235dce5d0af794e48150e99329fc90faaa1f01'/>
<id>urn:sha1:13235dce5d0af794e48150e99329fc90faaa1f01</id>
<content type='text'>
This cuts the HTML overhead for a page by about 1KiB,
significantly reducing the overall size of the docs bundle.
</content>
</entry>
<entry>
<title>rustdoc: use [svgo] to shrink `wheel.svg`</title>
<updated>2023-02-08T21:17:19+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2023-02-08T21:05:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8cb5be96c4740e70faa710a7b0d6140c8fbcc4ea'/>
<id>urn:sha1:8cb5be96c4740e70faa710a7b0d6140c8fbcc4ea</id>
<content type='text'>
[svgo]: https://github.com/svg/svgo

    $ du -bs src/librustdoc/html/static/images/wheel.svg wheel-old.svg
    2972    src/librustdoc/html/static/images/wheel.svg
    3764    wheel-old.svg

100*((2972-3764)/3764) = -21.04%
</content>
</entry>
<entry>
<title>Inline CSS background images directly into the CSS</title>
<updated>2023-02-01T10:51:02+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume.gomez@huawei.com</email>
</author>
<published>2023-01-31T20:23:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=63f82db9584d72fa042641ed4ef970cfe701356d'/>
<id>urn:sha1:63f82db9584d72fa042641ed4ef970cfe701356d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Improve crate selection on rustdoc search results page</title>
<updated>2022-08-10T13:55:26+00:00</updated>
<author>
<name>Frank Steffahn</name>
<email>frank.steffahn@stu.uni-kiel.de</email>
</author>
<published>2022-07-03T18:10:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=16bcc18334da53fa5dabd0800ae0772435783437'/>
<id>urn:sha1:16bcc18334da53fa5dabd0800ae0772435783437</id>
<content type='text'>
Resolves all of issue #93240

Reproduces a similar change as #99086, but with improvements

In particular, this PR inlcludes:
* redesigning the crate-search selector so the background color matches its surroundings
* decrease the font of the dropdown menu to a reaonable size
* add a hover effect
* make the color of the arrow theme-dependent, using a surrounding div, with :after pseudo-element
  that can then be transformed using CSS filters to approximate the desired color
* fix the text "in" to match the title font
* remove the "for xyz" in the "Results for xyz in [All crates]" title when
  searching for search term "xyz"; you can already see what you're searching for
  as it's typed in the search bar!
* in line with #99086, handle super-long crate names appropriately without a long &lt;select&gt;
  element escaping the screen area; the improvement is that we also keep the title
  within a single line now; uses some flex layout shenanigans...
* the margins / paddings are adjusted so the selected label of the &lt;select&gt; fits within
  the rest of that title nicely; also some inconsistency in the way that Firefox renders
  a &lt;select&gt; with "appearance: none" (roughly 4px more padding left and right of the text
  than e.g. Chrome) is worked around, and it now produces a result that looks (essentially)
  identical to Chrome
* the color of the help menu and settings menu border in light theme is made to match with
  the color of the corresponding buttons, like they do (match) in the ayu theme
* the casing of "All crates" changes to "all crates"
* the new tests from #99086 are temporarily disabled, until they can be adapted later
</content>
</entry>
<entry>
<title>Remove unused brush image</title>
<updated>2022-05-24T13:55:01+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume.gomez@huawei.com</email>
</author>
<published>2022-05-24T13:55:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=69203619592b5e49742d35c698ef3f33ae152988'/>
<id>urn:sha1:69203619592b5e49742d35c698ef3f33ae152988</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Regenerate the PNGs favicon with the updated Rust logo</title>
<updated>2022-01-13T13:45:10+00:00</updated>
<author>
<name>Loïc BRANSTETT</name>
<email>loic.branstett@epitech.eu</email>
</author>
<published>2022-01-13T13:45:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b8ef148effd5d438fb44051f4b9f63bd8a14fb60'/>
<id>urn:sha1:b8ef148effd5d438fb44051f4b9f63bd8a14fb60</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use the updated Rust logo and change it's format to SVG</title>
<updated>2022-01-13T13:44:30+00:00</updated>
<author>
<name>Loïc BRANSTETT</name>
<email>loic.branstett@epitech.eu</email>
</author>
<published>2022-01-13T13:44:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bc6b199588cd31df1b8d8d0e3e2b91bd196d2dca'/>
<id>urn:sha1:bc6b199588cd31df1b8d8d0e3e2b91bd196d2dca</id>
<content type='text'>
</content>
</entry>
</feed>
