From 046634432a4243a4f24033405d9cf7aa812723aa Mon Sep 17 00:00:00 2001 From: Jorran de Wit <jorrandewit@outlook.com> Date: Sun, 19 Mar 2017 12:19:48 +0100 Subject: [PATCH] Add header .highlight class; deprecate use of .panel The .panel class should not be used again. This however can be replaced by the .highlight for headers or the -to be finished- .card construction. See Bootstrap4 docs. --- scipost/static/scipost/assets/css/_type.scss | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/scipost/static/scipost/assets/css/_type.scss b/scipost/static/scipost/assets/css/_type.scss index b26184a13..616c027b1 100644 --- a/scipost/static/scipost/assets/css/_type.scss +++ b/scipost/static/scipost/assets/css/_type.scss @@ -18,15 +18,22 @@ h1, h2, h3, h4, h5, h6 { text-shadow: none; font-weight: 500; } -h3.highlight { + +.highlight { background-color: #f4f4f4; + margin: 10px 0; - &.tight { + h3.tight { display: inline-block; - padding: 3px 5px; - margin-bottom: 3px; + // padding: 3px 5px; + // margin-bottom: 3px; } } +h1.highlight, +h2.highlight { + padding: 15px; +} + hr, hr.hr12 { height: 3px; -- GitLab