From 42d3ef660393f882fb271668fe7ed5425568f549 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Wed, 5 Dec 2018 07:39:56 +0100 Subject: [PATCH] style: use blue gradient for section titles (#28609) --- gadjo/static/css/_portal.scss | 2 +- gadjo/static/css/gadjo.scss | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/gadjo/static/css/_portal.scss b/gadjo/static/css/_portal.scss index c8ebd68..90f13b4 100644 --- a/gadjo/static/css/_portal.scss +++ b/gadjo/static/css/_portal.scss @@ -20,7 +20,7 @@ div#portal-agent-content { background: transparent; } &.highlight { - background: linear-gradient(to right, $primary-color 0%, $secondary-color 130vh); + background: linear-gradient(to right, $primary-color 30%, $secondary-color 100%); color: white; h2 { color: white; diff --git a/gadjo/static/css/gadjo.scss b/gadjo/static/css/gadjo.scss index 2ccd892..7729a2d 100644 --- a/gadjo/static/css/gadjo.scss +++ b/gadjo/static/css/gadjo.scss @@ -1080,12 +1080,13 @@ div.section { > h2, > h3 { font-weight: normal; font-size: 120%; - color: #444; - background: white; border-bottom: 1px solid transparent; - padding: 1rem 1rem 0rem 1rem; + padding: 1rem 1rem 1rem 1rem; margin-top: 0; margin-bottom: 0; + background: $primary-color; + background: linear-gradient(to right, $primary-color 30%, $secondary-color 100%); + color: white; } > div, > dl { padding: 1rem;