about summary refs log tree commit diff
path: root/src/librustdoc/html/static/rustdoc.css
AgeCommit message (Collapse)AuthorLines
2019-01-07Replace Heuristica with Source Serif Pro italic in rustdoc.cssTrevor Spiteri-5/+4
2018-12-29Auto merge of #57006 - GuillaumeGomez:no-crate-filter, r=QuietMisdreavusbors-1/+5
Add no-crate filter option on rustdoc @onur asked me about it so here it is! r? @QuietMisdreavus
2018-12-25Remove licensesMark Rousskov-12/+0
2018-12-24Add no-crate filter option on rustdocGuillaume Gomez-1/+5
2018-12-22Auto merge of #56824 - euclio:internal-apis, r=QuietMisdreavusbors-1/+1
rustdoc: display rustc_private APIs as "Internal" This PR updates the display of `rustc_private` APIs to be "Internal" instead of "Experimental", and changes the colors appropriately. It also updates the copy of the `rustc_private` feature to sound more informative and less like a compiler suggestion. The PR additionally contains a significant refactor of the `short_stability` function to remove duplication and fix a few rendering bugs due to extra or missing spaces. Before: ![screen shot 2018-12-14 at 11 45 28 am](https://user-images.githubusercontent.com/1372438/50015926-c9768d80-ff95-11e8-9649-5df29df6909b.png) After: ![screen shot 2018-12-14 at 11 45 11 am](https://user-images.githubusercontent.com/1372438/50015934-cf6c6e80-ff95-11e8-912b-74b893f55425.png)
2018-12-21Auto merge of #55798 - GuillaumeGomez:version-display-associated-const, ↵bors-1/+1
r=QuietMisdreavus Add version display for associated consts Fixes #54030. <img width="1440" alt="screenshot 2018-11-08 at 23 57 29" src="https://user-images.githubusercontent.com/3050060/48232648-99decf00-e3b2-11e8-9f41-6bd12a161c7d.png"> r? @QuietMisdreavus
2018-12-20display rustc_private APIs as "Internal"Andy Russell-1/+1
2018-12-18Fix mobile menu rendering collision with tooltip.John Heitmann-1/+1
Bring the mobile-mode menu in front of the ⓘ icon.
2018-12-18Fix DOM errorsGuillaume Gomez-1/+1
2018-12-15Improve CSS ruleGuillaume Gomez-1/+1
2018-12-15Auto merge of #56005 - GuillaumeGomez:speedup-doc-render, r=QuietMisdreavusbors-0/+4
Greatly improve rustdoc rendering speed issues Fixes #55900. So a few improvements here: * we're switching to `DOMTokenList` API when available providing a replacement if it isn't (should only happen on safari and IE I think...) * hide doc sections by default to allow the whole HTML generation to happen in the background to avoid triggering DOM redraw all the times (which killed the performances) r? @QuietMisdreavus
2018-12-08Fix right arrow size for crate filterGuillaume Gomez-1/+1
2018-12-06Greatly improve rustdoc rendering speed issuesGuillaume Gomez-0/+4
2018-12-06Rollup merge of #56332 - GuillaumeGomez:specifi-crate-search, r=QuietMisdreavusPietro Albini-2/+26
[rustdoc] Specific crate search Reopening of #54706. Fixes #54616. <img width="1440" alt="screenshot 2018-11-29 at 01 29 11" src="https://user-images.githubusercontent.com/3050060/49191372-979adf80-f376-11e8-963e-e4feb927c1da.png"> r? @QuietMisdreavus
2018-12-05Rollup merge of #56498 - GuillaumeGomez:line-numbers, r=QuietMisdreavusPietro Albini-2/+2
Fix line numbers display Thanks to @talchas for finding the bug and suggesting the solution! r? @QuietMisdreavus
2018-12-05Rollup merge of #56476 - GuillaumeGomez:invalid-line-number-match, ↵Pietro Albini-1/+1
r=QuietMisdreavus Fix invalid line number match If a code line is longer than the width, it then gets to the next line making the line number not matching it anymore. r? @QuietMisdreavus
2018-12-05Rollup merge of #55563 - GuillaumeGomez:doc-search-sentence, r=QuietMisdreavusPietro Albini-0/+7
Improve no result found sentence in doc search Fixes #55531. Look: <img width="1440" alt="screenshot 2018-11-01 at 02 21 56" src="https://user-images.githubusercontent.com/3050060/47827257-f6236c80-dd7c-11e8-9ea9-99c8cb4b2de5.png"> r? @QuietMisdreavus
2018-12-04Fix line numbers displayGuillaume Gomez-2/+2
2018-12-04Auto merge of #55707 - GuillaumeGomez:file-sidebar, r=QuietMisdreavusbors-4/+70
Add source file sidebar This is just a start currently but that gives a good overview of what it'll look like: <img width="1440" alt="screenshot 2018-11-06 at 01 39 15" src="https://user-images.githubusercontent.com/3050060/48035592-05336180-e165-11e8-82e1-5ead0c345eb9.png"> r? @QuietMisdreavus
2018-12-03Rollup merge of #56416 - GuillaumeGomez:css-body, r=QuietMisdreavuskennytm-2/+2
Remove unneeded body class selector r? @QuietMisdreavus
2018-12-02Fix invalid line number matchGuillaume Gomez-1/+1
2018-12-01Remove unneeded body class selectorGuillaume Gomez-2/+2
2018-11-29Add arrow to the crate select boxGuillaume Gomez-1/+5
2018-11-28Add crate filteringGuillaume Gomez-2/+22
2018-11-28rustdoc: add margin-bottom spacing to nested listsLyndon Brown-1/+1
set to zero meant that the nested list was squished up against subsequent list items/paragraphs this changes the bottom margin to .6em, same as for paragraphs an example demonstrating the difference with screenshots is given in the pull request
2018-11-24Source sidebar improvementsGuillaume Gomez-8/+19
2018-11-24Add source file sidebarGuillaume Gomez-4/+59
2018-11-21Improve no result found sentence in doc searchGuillaume Gomez-3/+10
2018-11-15Rollup merge of #55926 - cynecx:fix-rustdoc-mobile-css, r=GuillaumeGomezPietro Albini-1/+1
Change sidebar selector to fix compatibility with docs.rs Fix for #55883.
2018-11-13Change sidebar selector to fix compatibility with docs.rscynecx-1/+1
2018-11-13Rollup merge of #55858 - GuillaumeGomez:fixes-rustdoc-codeblocks, ↵kennytm-0/+5
r=QuietMisdreavus Small fixes on code blocks in rustdoc It currently has a little margin issue with the `i` and there were js errors. r? @QuietMisdreavus
2018-11-10Small fixes on code blocks in rustdocGuillaume Gomez-0/+5
2018-11-07Remove intermediate font specsJon Gjengset-5/+5
This is a (much) more constrained version of #54772 that also aims at improving the situation in #34681. It removes any font specifications that are not the "official" rustdoc font, and instead relies on the browser to provide the fallback font if the official on is not available. On Linux systems, this is particularly important, as fonts like Helvetica, Arial, and Times often look pretty bad since they're pulled from extracted MS fonts. A specification like `serif` or `sans-serif` lets the browser instead choose a good font.
2018-11-03Rollup merge of #54162 - GuillaumeGomez:hide-default-impls-items, ↵Guillaume Gomez-12/+19
r=QuietMisdreavus Hide default impls items Follow up of #51885. Fixes #54025. cc @Mark-Simulacrum r? @QuietMisdreavus And screenshots of course: <img width="1440" alt="screen shot 2018-09-12 at 23 30 35" src="https://user-images.githubusercontent.com/3050060/45454424-1ff8d500-b6e4-11e8-9257-030322495d58.png"> <img width="1440" alt="screen shot 2018-09-12 at 23 30 42" src="https://user-images.githubusercontent.com/3050060/45454431-2424f280-b6e4-11e8-8d65-db0d85ac18f0.png">
2018-10-29Fix source code pages in rustdocGuillaume Gomez-2/+5
2018-10-27Fix sub-variant doc displayGuillaume Gomez-1/+21
2018-10-26Rollup merge of #54921 - GuillaumeGomez:line-numbers, r=QuietMisdreavuskennytm-0/+18
Add line numbers option to rustdoc Fixes #22878. r? @QuietMisdreavus
2018-10-21improve search tabs lookGuillaume Gomez-7/+4
2018-10-21Hide items if they use default docsGuillaume Gomez-0/+5
2018-10-21Improve stability messages display a bitGuillaume Gomez-12/+14
2018-10-11Fix mobile doc displayGuillaume Gomez-13/+24
2018-10-09Add line numbers option to rustdocGuillaume Gomez-0/+18
2018-10-04rustdoc: overflow:auto doesn't work nicely on small screensKazuyoshi Kato-1/+0
This property was introduced by 3f92ff34b5, but looks it doesn't overwrap even without the property. Fixes #54672.
2018-09-19Reduce code block sides paddingGuillaume Gomez-1/+1
2018-09-12Auto merge of #53409 - GuillaumeGomez:associated-const-value, r=QuietMisdreavusbors-0/+8
Don't show associated const value anymore Part of #44348. Before: <img width="1440" alt="screen shot 2018-08-16 at 00 48 30" src="https://user-images.githubusercontent.com/3050060/44177414-20ef1480-a0ee-11e8-80d4-7caf082cf0de.png"> After: <img width="1440" alt="screen shot 2018-08-16 at 00 48 23" src="https://user-images.githubusercontent.com/3050060/44177417-251b3200-a0ee-11e8-956a-4229275e3342.png"> cc @nox r? @QuietMisdreavus
2018-09-06Fix hover on implsGuillaume Gomez-9/+15
2018-08-30Rollup merge of #53806 - GuillaumeGomez:fix-ui-issues-foreign-type-impls, ↵Pietro Albini-0/+3
r=QuietMisdreavus Fix UI issues on Implementations on Foreign types Fixes #53800. <img width="1440" alt="screen shot 2018-08-29 at 22 06 35" src="https://user-images.githubusercontent.com/3050060/44814733-e9986180-abdd-11e8-97e0-0e3c1816ca04.png"> r? @QuietMisdreavus
2018-08-29Fix UI issues on Implementations on Foreign typesGuillaume Gomez-0/+3
2018-08-27Fix invalid display of unstable messagesGuillaume Gomez-0/+5
2018-08-26Rollup merge of #53706 - ehuss:rustdoc-section-anchor, r=GuillaumeGomezGuillaume Gomez-3/+2
rustdoc: Fix gap on section anchor symbol when hovering. Fixes #49485 for section headings.