From 088d0c46b5ecfa9d11fe00736728d1f8580c54d2 Mon Sep 17 00:00:00 2001 From: Alexander Schranz Date: Tue, 21 May 2024 16:29:35 +0200 Subject: [PATCH] Fix some basic docs styling (#800) --- _themes/sulu/static/sulu.css_t | 29 +++++++++-------------------- 1 file changed, 9 insertions(+), 20 deletions(-) diff --git a/_themes/sulu/static/sulu.css_t b/_themes/sulu/static/sulu.css_t index b3f7965c..a89c2939 100644 --- a/_themes/sulu/static/sulu.css_t +++ b/_themes/sulu/static/sulu.css_t @@ -310,19 +310,6 @@ div.sphinxsidebar #searchbox input[type="submit"] { } /* Basics */ -h1, h2, h3, h4, h5, h6, ul, ol, p { - margin-top: 0; - margin-bottom: 0; -} - -.section > * { - margin-top: 16px; -} - - -.section > *:first-child { - margin-top: 0; -} ul { padding-left: 1.25em; @@ -376,9 +363,15 @@ h6 { } /* Figure */ -div.figure { - margin: 0; - padding: 0; +.align-default, +img.align-default, +figure.align-default, +table.align-default { + margin-left: 0; + margin-right: 0; + padding-left: 0; + margin-right: 0; + text-align: left; } /* Img */ @@ -404,10 +397,6 @@ table { max-width: 75ch; } -table.align-default { - margin-left: 0; -} - .sphinxsidebar code, .toctree-wrapper code {