From 93a87418786921256ec4f6d0c47b87ac8f8d7cbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 20 Oct 2020 19:56:03 +0200 Subject: [PATCH] css: style for link/button in section titles (#47901) --- gadjo/static/css/gadjo.scss | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/gadjo/static/css/gadjo.scss b/gadjo/static/css/gadjo.scss index 1c6a5d9..e8d81dd 100644 --- a/gadjo/static/css/gadjo.scss +++ b/gadjo/static/css/gadjo.scss @@ -1181,19 +1181,31 @@ div.section { font-weight: normal; font-size: 120%; border-bottom: 1px solid transparent; - padding: 1rem 1rem 1rem 1rem; + padding: 0 0.5rem 0 1rem; + height: 3.5rem; + line-height: 3.5rem; margin-top: 0; margin-bottom: 0; background: $primary-color; background: linear-gradient(to right, $primary-color 30%, $secondary-color 100%); color: white; - a { + a:not(.button) { color: white; border-bottom: 1px dotted white; &:hover { border-style: solid; } } + display: flex; + align-items: baseline; + justify-content: space-between; + a.button { + margin: 0; + line-height: 100%; + font-weight: normal; + padding-top: 0.7rem; + padding-bottom: 0.8rem; + } } > div, > dl { padding: 1rem;