From e0b6606d500e69cc52715729f075808de90f376b Mon Sep 17 00:00:00 2001 From: Jacky Zhao Date: Thu, 14 Jul 2022 10:38:34 -0700 Subject: [PATCH] fix: make section-li scss more generic --- assets/styles/base.scss | 49 +++++++++++++++++++++-------------------- 1 file changed, 25 insertions(+), 24 deletions(-) diff --git a/assets/styles/base.scss b/assets/styles/base.scss index cec7b91..7903f6e 100644 --- a/assets/styles/base.scss +++ b/assets/styles/base.scss @@ -498,35 +498,36 @@ header { margin-top: 2em; padding-left: 0; - & > li { - margin-bottom: 1em; - - & > .section { - display: flex; - align-items: center; - - & h3 > a { - font-weight: 700; - margin: 0; - } - - & p { - margin: 0; - padding-right: 1em; - flex-basis: 6em; - } - } +} + +.section-li { + margin-bottom: 1em; - & h3 { - opacity: 1; + & > .section { + display: flex; + align-items: center; + + & h3 > a { font-weight: 700; - margin: 0em; + margin: 0; } - - & .meta { - opacity: 0.6; + + & p { + margin: 0; + padding-right: 1em; + flex-basis: 6em; } } + + & h3 { + opacity: 1; + font-weight: 700; + margin: 0em; + } + + & .meta { + opacity: 0.6; + } } @keyframes dropin {