Browse Source

better spacing and change header margin

Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com>
master
Toshaan Bharvani 8 months ago
parent
commit
8da36f3f03
  1. 80
      themes/openpowerfoundation/assets/css/groups.scss

80
themes/openpowerfoundation/assets/css/groups.scss

@ -1,46 +1,44 @@ @@ -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;
}

Loading…
Cancel
Save