about summary refs log tree commit diff
path: root/src/librustdoc/html/static/css/rustdoc.css
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-07-22 07:12:19 +0000
committerbors <bors@rust-lang.org>2022-07-22 07:12:19 +0000
commite7a9c1141698bc4557b9da3d3fce2bf75339427f (patch)
treef33a2c0b026c5ef7ac34d14e3453d729ea3dfbf3 /src/librustdoc/html/static/css/rustdoc.css
parentaa0189170057a6b56f445f05b9840caf6f260212 (diff)
parent5df3b983218e136e995df5a7210535bddbdfca52 (diff)
downloadrust-e7a9c1141698bc4557b9da3d3fce2bf75339427f.tar.gz
rust-e7a9c1141698bc4557b9da3d3fce2bf75339427f.zip
Auto merge of #99592 - Dylan-DPC:rollup-xlw4wax, r=Dylan-DPC
Rollup of 6 pull requests

Successful merges:

 - #98174 (Rename `<*{mut,const} T>::as_{const,mut}` to `cast_`)
 - #98868 (Fix unreachable coverage generation for inlined functions)
 - #99393 (feat: omit suffixes in const generics (e.g. `1_i32`))
 - #99423 (Group CSS font rule)
 - #99539 (Improve suggestions for returning binding)
 - #99579 (Add same warning to Result::expect as Result::unwrap)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
Diffstat (limited to 'src/librustdoc/html/static/css/rustdoc.css')
-rw-r--r--src/librustdoc/html/static/css/rustdoc.css21
1 files changed, 9 insertions, 12 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css
index 69409b77251..70b7a47bcd5 100644
--- a/src/librustdoc/html/static/css/rustdoc.css
+++ b/src/librustdoc/html/static/css/rustdoc.css
@@ -216,6 +216,15 @@ details.rustdoc-toggle > summary::before,
 div.impl-items > div:not(.docblock):not(.item-info),
 .content ul.crate a.crate,
 a.srclink,
+#main-content > .since,
+#help-button > button,
+details.rustdoc-toggle.top-doc > summary,
+details.rustdoc-toggle.top-doc > summary::before,
+details.rustdoc-toggle.non-exhaustive > summary,
+details.rustdoc-toggle.non-exhaustive > summary::before,
+.scraped-example-title,
+.more-examples-toggle summary, .more-examples-toggle .hide-more,
+.example-links a,
 /* This selector is for the items listed in the "all items" page. */
 #main-content > ul.docblock > li > a {
 	font-family: "Fira Sans", Arial, NanumBarunGothic, sans-serif;
@@ -702,7 +711,6 @@ pre, .rustdoc.source .example-wrap {
 }
 #main-content > .since {
 	top: inherit;
-	font-family: "Fira Sans", Arial, sans-serif;
 }
 
 .content table:not(.table-display) {
@@ -1518,7 +1526,6 @@ input:checked + .slider {
 }
 
 #help-button > button {
-	font-family: "Fira Sans", Arial, sans-serif;
 	text-align: center;
 	/* Rare exception to specifying font sizes in rem. Since this is acting
 	   as an icon, it's okay to specify their sizes in pixels. */
@@ -1690,7 +1697,6 @@ details.rustdoc-toggle.top-doc > summary,
 details.rustdoc-toggle.top-doc > summary::before,
 details.rustdoc-toggle.non-exhaustive > summary,
 details.rustdoc-toggle.non-exhaustive > summary::before {
-	font-family: 'Fira Sans';
 	font-size: 1rem;
 }
 
@@ -2176,10 +2182,6 @@ in storage.js plus the media query with (min-width: 701px)
 	border-radius: 50px;
 }
 
-.scraped-example-title {
-	font-family: 'Fira Sans';
-}
-
 .scraped-example .code-wrapper {
 	position: relative;
 	display: flex;
@@ -2283,10 +2285,6 @@ in storage.js plus the media query with (min-width: 701px)
 	cursor: pointer;
 }
 
-.more-examples-toggle summary, .more-examples-toggle .hide-more {
-	font-family: 'Fira Sans';
-}
-
 .more-scraped-examples {
 	margin-left: 5px;
 	display: flex;
@@ -2321,7 +2319,6 @@ in storage.js plus the media query with (min-width: 701px)
 
 .example-links a {
 	margin-top: 20px;
-	font-family: 'Fira Sans';
 }
 
 .example-links ul {