Add get involved section styles for small tablet
This commit is contained in:
parent
8e75142564
commit
7d883aed15
|
@ -1,16 +1,18 @@
|
|||
<section class="section get-involved">
|
||||
<div class="get-involved__container">
|
||||
|
||||
<div class="get-involved__content">
|
||||
{{> components/heading
|
||||
text=getInvolved.header
|
||||
class="get-involed__header"
|
||||
class="get-involved__header"
|
||||
}}
|
||||
|
||||
<div class="get-involved__wrapper">
|
||||
<div class="get-involved__content">
|
||||
<div class="get-involved__description text--medium">
|
||||
{{ getInvolved.description }}
|
||||
</div>
|
||||
|
||||
<div class="get-involved__buttons">
|
||||
{{#each getInvolved.buttons as |button|}}
|
||||
{{> components/button
|
||||
class="get-involved__button"
|
||||
|
@ -20,6 +22,7 @@
|
|||
}}
|
||||
{{/each}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="get-involved__details">
|
||||
<div class="get-involved__details-title text--small">
|
||||
|
@ -36,6 +39,7 @@
|
|||
{{ getInvolved.counter }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</section>
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
.get-involved {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
min-height: calc(100vh - #{$header-height--desktop});
|
||||
color: $color-white;
|
||||
background-color: $color-gray;
|
||||
|
||||
|
@ -12,6 +15,19 @@
|
|||
font-weight: 300;
|
||||
}
|
||||
|
||||
&__content {
|
||||
@media #{$screen-sm} {
|
||||
width: 50%;
|
||||
padding-right: 25px;
|
||||
}
|
||||
}
|
||||
|
||||
&__details {
|
||||
@media #{$screen-sm} {
|
||||
width: 50%;
|
||||
}
|
||||
}
|
||||
|
||||
&__counter {
|
||||
font-size: 24px;
|
||||
}
|
||||
|
@ -20,12 +36,34 @@
|
|||
&__header,
|
||||
&__description,
|
||||
&__button,
|
||||
&__details,
|
||||
&__details-title {
|
||||
margin-top: 24px;
|
||||
}
|
||||
|
||||
&__buttons {
|
||||
@media #{$screen-sm} {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
@media #{$screen-md} {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
&__wrapper {
|
||||
@media #{$screen-sm} {
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
|
||||
&__button + &__button {
|
||||
margin-top: 20px;
|
||||
|
||||
@media #{$screen-md} {
|
||||
margin-left: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
&__list {
|
||||
|
|
Loading…
Reference in New Issue