aboutsummaryrefslogtreecommitdiff
path: root/docs/_static/css/pigweed.css
diff options
context:
space:
mode:
Diffstat (limited to 'docs/_static/css/pigweed.css')
-rw-r--r--docs/_static/css/pigweed.css11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/_static/css/pigweed.css b/docs/_static/css/pigweed.css
index aec328823..a90cf4f4e 100644
--- a/docs/_static/css/pigweed.css
+++ b/docs/_static/css/pigweed.css
@@ -30,6 +30,17 @@
text-align: center;
}
+/********** Scrolling behavior ***********/
+
+/*
+ * All nodes across the site should scroll instantly. This rule is intentionally
+ * broad and agressive. Context:
+ * https://pigweed.dev/docs/style_guide.html#site-nav-scrolling
+ */
+* {
+ scroll-behavior: auto !important;
+}
+
/********** General document coloring ***********/
/* Code blocks inside block quotes end up getting italicized. */