about summary refs log tree commit diff
path: root/src/librustdoc/html/static/noscript.css
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2018-12-02 18:00:50 +0100
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2018-12-06 23:34:36 +0100
commite17518f65ea7b9af90e91f15784a485a3f4a6598 (patch)
tree09427e076bad7100f7cf8ecdfb251c153111e626 /src/librustdoc/html/static/noscript.css
parenta68988719cf0b1c2a367096ee3df03b92d14757c (diff)
downloadrust-e17518f65ea7b9af90e91f15784a485a3f4a6598.tar.gz
rust-e17518f65ea7b9af90e91f15784a485a3f4a6598.zip
Show everything when noscript is on
Diffstat (limited to 'src/librustdoc/html/static/noscript.css')
-rw-r--r--src/librustdoc/html/static/noscript.css19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/librustdoc/html/static/noscript.css b/src/librustdoc/html/static/noscript.css
new file mode 100644
index 00000000000..f4de75f2140
--- /dev/null
+++ b/src/librustdoc/html/static/noscript.css
@@ -0,0 +1,19 @@
+/**
+ * Copyright 2018 The Rust Project Developers. See the COPYRIGHT
+ * file at the top-level directory of this distribution and at
+ * http://rust-lang.org/COPYRIGHT.
+ *
+ * Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
+ * http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+ * <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+ * option. This file may not be copied, modified, or distributed
+ * except according to those terms.
+ */
+
+#main > h2 + div, #main > h2 + h3, #main > h3 + div {
+	display: block;
+}
+
+.loading-content {
+	display: none;
+}