summaryrefslogtreecommitdiff
path: root/Documentation/_static
diff options
context:
space:
mode:
authorPatrick Rudolph <siro@das-labor.org>2018-05-13 16:06:51 +0200
committerPatrick Rudolph <siro@das-labor.org>2018-05-14 17:21:37 +0000
commita78e66e5f4cc032968dc8e6f8e76e550d87dafc8 (patch)
treebd6aa8b80d8b98c9f1ddda7840ebadad36a7c4fc /Documentation/_static
parentadc9bdb97a7c2a907e7c8387acea86ae58422c65 (diff)
downloadcoreboot-a78e66e5f4cc032968dc8e6f8e76e550d87dafc8.tar.xz
Documentation: Add static CSS file to fix tables
Add a static CSS file to remove annoying scrollbars on rst code tables. Change-Id: I436b36fb7ee9856c7d6ad8534cd0610b7f071b17 Signed-off-by: Patrick Rudolph <siro@das-labor.org> Reviewed-on: https://review.coreboot.org/26263 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Diffstat (limited to 'Documentation/_static')
-rw-r--r--Documentation/_static/theme_overrides.css19
1 files changed, 19 insertions, 0 deletions
diff --git a/Documentation/_static/theme_overrides.css b/Documentation/_static/theme_overrides.css
new file mode 100644
index 0000000000..e73518b6d5
--- /dev/null
+++ b/Documentation/_static/theme_overrides.css
@@ -0,0 +1,19 @@
+/*
+ * Copyright 2018 Patrick Rudolph <siro@das-labor.org>
+ *
+ * licensed under CC-by 4.0
+ */
+
+/* override table width restrictions */
+@media screen and (min-width: 767px) {
+ .wy-table-responsive table td {
+ /* !important prevents the common CSS stylesheets from overriding
+ this as on RTD they are loaded after this stylesheet */
+ white-space: normal !important;
+ }
+
+ .wy-table-responsive {
+ overflow: visible !important;
+ }
+}
+