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>2023-04-04 08:41:27 +0000
committerbors <bors@rust-lang.org>2023-04-04 08:41:27 +0000
commit949a38509e0f2444361e28e322fda2f74c297c80 (patch)
treeea0df96e44b8efb29e37a017893205af9649543f /src/librustdoc/html/static/css/rustdoc.css
parent7315b6da628e0e6759c2eab5e83253edc1f1f9a7 (diff)
parent663664bec65de66e80dccaf0805a35c77c43d5fc (diff)
downloadrust-949a38509e0f2444361e28e322fda2f74c297c80.tar.gz
rust-949a38509e0f2444361e28e322fda2f74c297c80.zip
Auto merge of #2830 - oli-obk:rustup, r=oli-obk
Rustup
Diffstat (limited to 'src/librustdoc/html/static/css/rustdoc.css')
-rw-r--r--src/librustdoc/html/static/css/rustdoc.css17
1 files changed, 1 insertions, 16 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css
index 7d578b5c775..933a44c5aa7 100644
--- a/src/librustdoc/html/static/css/rustdoc.css
+++ b/src/librustdoc/html/static/css/rustdoc.css
@@ -87,21 +87,6 @@
 	box-sizing: border-box;
 }
 
-/* This part handles the "default" theme being used depending on the system one. */
-html {
-	content: "";
-}
-@media (prefers-color-scheme: light) {
-	html {
-		content: "light";
-	}
-}
-@media (prefers-color-scheme: dark) {
-	html {
-		content: "dark";
-	}
-}
-
 /* General structure and fonts */
 
 body {
@@ -1538,7 +1523,7 @@ However, it's not needed with smaller screen width because the doc/code block is
 /*
 WARNING: RUSTDOC_MOBILE_BREAKPOINT MEDIA QUERY
 If you update this line, then you also need to update the line with the same warning
-in storage.js
+in main.js
 */
 @media (max-width: 700px) {
 	/* When linking to an item with an `id` (for instance, by clicking a link in the sidebar,