From 3f18e50626f57064273137062bd62288d9e4405d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Sun, 31 Oct 2021 10:31:22 +0100 Subject: [PATCH] theme: reduce margin for children shortcode #130 --- shortcodes.txt | 27 +++++++++++++++++++++++++++ static/css/theme.css | 10 +++++++--- 2 files changed, 34 insertions(+), 3 deletions(-) create mode 100644 shortcodes.txt diff --git a/shortcodes.txt b/shortcodes.txt new file mode 100644 index 0000000000..2f231c4919 --- /dev/null +++ b/shortcodes.txt @@ -0,0 +1,27 @@ +https://github.com/gohugoio/hugo/tree/master/docs/layouts/shortcodes +https://github.com/spf13/spf13.com/tree/master/layouts/shortcodes + +https://getshortcodes.com/docs-category/shortcodes/ + +https://docport.netlify.app/shortcodes/ +https://github.com/parsiya/Hugo-Shortcodes#codecaption-codecaptionhtml +https://docdock.netlify.app/original/shortcodes + +Light tabs +https://istio.io/latest/docs/releases/contribute/shortcodes/ + +Nice buttons +https://www.axiomtheme.com/docs/shortcodes/ + +Swagger und anderes interessantes Zeug +https://www.docsy.dev/docs/adding-content/shortcodes/ + +Protobuf Shortcode +https://github.com/solo-io/hugo-theme-soloio + +Nice theme +https://sphinx-rtd-theme.readthedocs.io/en/stable/ + +Hugo shortcodes +https://github.com/gohugoio/hugo/tree/master/docs/layouts/shortcodes + diff --git a/static/css/theme.css b/static/css/theme.css index 7ba90f8765..b8088d2218 100644 --- a/static/css/theme.css +++ b/static/css/theme.css @@ -584,9 +584,13 @@ div.attachments.neutral > div.label { margin-bottom: 0px; padding-bottom: 0px; } -.children h3,.children h2 { - margin-bottom: 0px; - margin-top: 5px; +#body-inner .children h2, +#body-inner .children h3, +#body-inner .children h4, +#body-inner .children h5, +#body-inner .children h6 { + margin-bottom: 0rem; + margin-top: 1rem; } #body-inner ul.children-h2, #body-inner ul.children-h3,