1
0
Fork 0

Prepare responsive layout for video section

master
Emil Miler 2 years ago
parent 3cb8ae22ca
commit 48563f2cda

@ -29,13 +29,27 @@
</div> </div>
</header> </header>
<section> <section class="wrap">
<div> <div class="text">
<div class="title">To, co se děje u&nbsp;nich doma, nevidíte&nbsp;&hellip;</div> <div class="title">To, co se děje u&nbsp;nich doma, nevidíte&nbsp;&hellip;</div>
<p>&hellip;&nbsp;ale mají kolem sebe jiné svědky, kteří to bohužel vidí.</p> <p>&hellip;&nbsp;ale mají kolem sebe jiné svědky, kteří to bohužel vidí.</p>
</div> </div>
<div class="videos"> <div class="player">
videos player
</div>
<div class="video-list">
<div class="item">
.
</div>
<div class="item">
.
</div>
<div class="item">
.
</div>
</div>
<div class="button">
button
</div> </div>
</section> </section>
</div> </div>

@ -157,7 +157,11 @@ body.noscroll {
} }
section { section {
max-width: 65%; display: grid;
grid-template-columns: 1fr;
.text {
max-width: 30rem;
margin: 0 auto; margin: 0 auto;
text-align: center; text-align: center;
@ -165,10 +169,18 @@ body.noscroll {
font-weight: bold; font-weight: bold;
font-size: 1.953rem; font-size: 1.953rem;
} }
p { p {
font-size: 1.25rem; font-size: 1.25rem;
} }
} }
.video-list {
display: flex;
justify-content: center;
gap: 1rem;
}
}
} }
.checklist { .checklist {
@ -359,6 +371,19 @@ footer {
} }
@media only screen and (min-width: $size-mobile) { @media only screen and (min-width: $size-mobile) {
.intro section {
grid-template-columns: 1fr 1fr;
.video-list {
grid-column: 2;
}
.button {
grid-column: 1;
}
}
.faq-list .faq { .faq-list .faq {
&:before, &:before,
&:last-child:after { &:last-child:after {

Loading…
Cancel
Save