Main page blocks margins fixes
This commit is contained in:
parent
75befa5a0c
commit
7ae55bf529
|
@ -3,6 +3,10 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
margin-bottom: 2.4rem;
|
margin-bottom: 2.4rem;
|
||||||
|
|
||||||
|
&:last-child {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
@include media-breakpoint-down(lg) {
|
@include media-breakpoint-down(lg) {
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,10 +8,6 @@
|
||||||
padding: 3.6rem 0;
|
padding: 3.6rem 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
@include media-breakpoint-up(md) {
|
|
||||||
margin-top: -6.4rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
h4 {
|
h4 {
|
||||||
margin-bottom: 4rem;
|
margin-bottom: 4rem;
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,6 +3,10 @@
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
|
|
||||||
|
@include media-breakpoint-up(md) {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
@ -16,6 +20,12 @@
|
||||||
|
|
||||||
&:last-child {
|
&:last-child {
|
||||||
border: none;
|
border: none;
|
||||||
|
margin-bottom: 0;
|
||||||
|
padding-bottom: 0;
|
||||||
|
|
||||||
|
.shoutCardContent {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
|
|
|
@ -5,6 +5,12 @@
|
||||||
margin-bottom: 2.4rem;
|
margin-bottom: 2.4rem;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
|
@include media-breakpoint-up(md) {
|
||||||
|
&:last-child {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
.shoutCardCover img {
|
.shoutCardCover img {
|
||||||
transform: scale(1.05);
|
transform: scale(1.05);
|
||||||
|
@ -212,6 +218,10 @@
|
||||||
|
|
||||||
@include media-breakpoint-up(md) {
|
@include media-breakpoint-up(md) {
|
||||||
margin-bottom: 2em;
|
margin-bottom: 2em;
|
||||||
|
|
||||||
|
&:last-child {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -477,7 +487,7 @@
|
||||||
.shoutCardVertical {
|
.shoutCardVertical {
|
||||||
aspect-ratio: auto;
|
aspect-ratio: auto;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
margin: 1.6rem 0;
|
margin: 0;
|
||||||
padding: 0 0 20%;
|
padding: 0 0 20%;
|
||||||
|
|
||||||
@include media-breakpoint-up(md) {
|
@include media-breakpoint-up(md) {
|
||||||
|
|
|
@ -462,15 +462,19 @@ figcaption {
|
||||||
}
|
}
|
||||||
|
|
||||||
.floor--7 {
|
.floor--7 {
|
||||||
@include media-breakpoint-down(md) {
|
.col-md-6 {
|
||||||
margin-bottom: 1em;
|
@include media-breakpoint-down(lg) {
|
||||||
|
&:nth-child(1),
|
||||||
|
&:nth-child(2) {
|
||||||
|
margin-bottom: 1.6em;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.col-md-6 {
|
|
||||||
margin-bottom: 1.6em;
|
|
||||||
|
|
||||||
@include media-breakpoint-down(md) {
|
@include media-breakpoint-down(md) {
|
||||||
margin-right: 0;
|
&:nth-child(3),
|
||||||
|
&:nth-child(4) {
|
||||||
|
margin-bottom: 1.6em;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user