From 990cb144b412f92f591b4c9e6d9bcce556fb6f8b Mon Sep 17 00:00:00 2001 From: Jake <j.vondoemming@stud.uni-goettingen.de> Date: Mon, 3 Oct 2022 01:08:37 +0200 Subject: [PATCH] updated main.css --- theme/static/css/main.css | 35 +++++++++++++++++++---------------- 1 file changed, 19 insertions(+), 16 deletions(-) diff --git a/theme/static/css/main.css b/theme/static/css/main.css index 02d9434..8accb73 100644 --- a/theme/static/css/main.css +++ b/theme/static/css/main.css @@ -261,7 +261,9 @@ nav.breadcrumb ul li:first-child a::before { - +.globalsections { + font-size: 0.7em; +} @@ -333,7 +335,7 @@ footer.page-footer a.tag-link { hr { height: 0.25rem; - margin: 1rem 0; + margin: 0.6rem 0; background-color: var(--hline-color); border: 0; width: 100%; @@ -406,8 +408,8 @@ sup { .content h4, .content h5, .content h6 { - margin-top: 1.5em; - margin-bottom: 1em; + margin-top: 0.5em; + margin-bottom: 0.8em; font-weight: 600; line-height: 1.25; } @@ -540,10 +542,11 @@ ul.cards li a:hover { .info, .success, .warning, .danger, .alert { - padding:1rem; - margin-bottom:1.2rem; - border:0.1rem solid transparent; - border-radius:0.25rem; + padding:1em; + margin-top: 0.4em; + margin-bottom: 0.1em; + border:0.1em solid transparent; + border-radius:0.25em; /*padding:15px; margin-bottom:20px; border:1px solid transparent; @@ -590,20 +593,20 @@ ul.cards li a:hover { .warning > p, .warning > ul { margin-bottom:0; } .danger > p, .danger > ul { margin-bottom:0; } -.alert > p+p { margin-top:0.33rem; } -.info > p+p { margin-top:0.33rem; } -.success > p+p { margin-top:0.33rem; } -.warning > p+p { margin-top:0.33rem; } -.danger > p+p { margin-top:0.33rem; } +.alert > p+p { margin-top:0.33em; } +.info > p+p { margin-top:0.33em; } +.success > p+p { margin-top:0.33em; } +.warning > p+p { margin-top:0.33em; } +.danger > p+p { margin-top:0.33em; } .alert-dismissable, .alert-dismissible { - padding-right:2rem; + padding-right:2em; } .alert-dismissable .close,.alert-dismissible .close{ position:relative; - top:-0.1rem; - right:-1.4rem; + top:-0.1em; + right:-1.4em; color:inherit; } -- GitLab