From 658fd2521f99309e7e6a77b1b1b90486c037fdc1 Mon Sep 17 00:00:00 2001 From: Marian Beermann Date: Sun, 18 Jun 2017 01:53:14 +0200 Subject: [PATCH 1/2] docs: fix overeager CSS selector ballooning badges --- docs/borg_theme/css/borg.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/borg_theme/css/borg.css b/docs/borg_theme/css/borg.css index 3a5145794..3f4560b3f 100644 --- a/docs/borg_theme/css/borg.css +++ b/docs/borg_theme/css/borg.css @@ -68,7 +68,7 @@ h1 { margin: 14px 0 24px 0; } -#borg-documentation .external img { +#borg-documentation h1 + p .external img { width: 100%; } From 334fa9f3223d9531ddc35d0a8c66b690c34ca3e0 Mon Sep 17 00:00:00 2001 From: Marian Beermann Date: Sun, 18 Jun 2017 01:56:36 +0200 Subject: [PATCH 2/2] docs: add some cell-padding to tables --- docs/borg_theme/css/borg.css | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) diff --git a/docs/borg_theme/css/borg.css b/docs/borg_theme/css/borg.css index 3f4560b3f..591ba0b9b 100644 --- a/docs/borg_theme/css/borg.css +++ b/docs/borg_theme/css/borg.css @@ -94,24 +94,9 @@ h1 { border-right: 2px solid #4e4a4a;; } -/* the rtd theme has "nowrap" here which causes tables to have scroll bars. - * undo that setting. it does not seem to cause issues, even when making the - * viewport narrow. - */ -.wy-table-responsive table td, .wy-table-responsive table th { - white-space: normal; -} - -/* for some reason the rtd theme makes text in tables very small. - * fix that. - */ -.wy-table td, -.rst-content table.docutils td, -.rst-content table.field-list td, -.wy-table th, -.rst-content table.docutils th, -.rst-content table.field-list th { - font-size: 100%; +table.docutils td, +table.docutils th { + padding: .2em; } code,