From 8da36f3f0308423c64cb5272e1f6038c6135222f Mon Sep 17 00:00:00 2001 From: Toshaan Bharvani Date: Fri, 11 Feb 2022 12:42:35 +0100 Subject: [PATCH] better spacing and change header margin Signed-off-by: Toshaan Bharvani --- .../assets/css/groups.scss | 80 +++++++++---------- 1 file changed, 39 insertions(+), 41 deletions(-) diff --git a/themes/openpowerfoundation/assets/css/groups.scss b/themes/openpowerfoundation/assets/css/groups.scss index e3dc0b2..04f7051 100644 --- a/themes/openpowerfoundation/assets/css/groups.scss +++ b/themes/openpowerfoundation/assets/css/groups.scss @@ -1,46 +1,44 @@ - -main { - &.groups { - @media screen and (max-width: $lg) { - padding-top:50px; - padding-bottom: 40px; - } - @media screen and (min-width: $lg) and (max-width: $xl) { - padding-top:70px; - padding-bottom: 40px; - } - @media screen and (min-width: $xl) { - padding-bottom: 50px; - } - .post__thumb { - width: 40px; - height: 40px; - position: absolute; - left: 35px; - top: 33px; - } - .post__title { - display: block; - margin-top: 1em; - padding-left: 70px; - padding-right: 30px; - white-space: normal; - font-size: 18px; - min-height: 75px; - text-align: left; - line-height: 1.2; - } - } +main { + &.groups { + @media screen and (max-width: $lg) { + padding-top: 50px; + padding-bottom: 40px; + } + @media screen and (min-width: $lg) and (max-width: $xl) { + padding-top: 70px; + padding-bottom: 40px; + } + @media screen and (min-width: $xl) { + padding-bottom: 50px; + } + .post__thumb { + width: 40px; + height: 40px; + position: absolute; + left: 35px; + top: 33px; + } + .post__title { + display: block; + margin-top: 1em; + padding-left: 70px; + padding-right: 30px; + white-space: normal; + font-size: 18px; + min-height: 75px; + text-align: left; + line-height: 1.2; + } + } } - .promo__section { - align-items: center; - &.groups { - h1 { - font-size: 2rem; - } - } + align-items: center; + &.groups { + h1 { + font-size: 2rem; + } + } } - #workgroupsingle { + padding-top: 3.75rem; }