Put About Purpose section on grid
This commit is contained in:
@@ -233,8 +233,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="about__purpose" bind:this={purposeEl}>
|
<section class="about__purpose grid" bind:this={purposeEl}>
|
||||||
<div class="container-wide">
|
<div class="container">
|
||||||
<div class="text title-xl" role="heading">
|
<div class="text title-xl" role="heading">
|
||||||
{@html about.purpose_text}
|
{@html about.purpose_text}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -140,19 +140,19 @@
|
|||||||
margin-top: 120px;
|
margin-top: 120px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.container-wide {
|
.container {
|
||||||
|
grid-column: 2 / -2;
|
||||||
position: relative;
|
position: relative;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
height: calc(100vh - var(--sides));
|
height: calc(var(--vh) * 0.9);
|
||||||
max-height: 720px;
|
max-height: 720px;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
padding: 0 8%;
|
padding: 0 8%;
|
||||||
|
|
||||||
@include bp (sm) {
|
@include bp (sm) {
|
||||||
padding: 0 18%;
|
padding: 0 18%;
|
||||||
min-height: calc(100vh - var(--sides));
|
|
||||||
max-height: 1200px;
|
max-height: 1200px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user