Add styles for large and xlarge screens

This commit is contained in:
wswidzinski 2018-01-10 13:38:10 +01:00
parent c86bab72de
commit 0ddbac8eb6
2 changed files with 40 additions and 11 deletions

View File

@ -17,9 +17,14 @@
display: block; display: block;
} }
@media #{$screen-md} { @media #{$screen-lg} {
position: absolute;
top: 60px;
right: 0;
}
@media #{$screen-xlg} {
position: absolute; position: absolute;
top: 0;
right: 0; right: 0;
} }
} }
@ -34,7 +39,8 @@
font-size: 52px; font-size: 52px;
} }
@media #{$screen-md} { @media #{$screen-lg} {
margin: 80px 0;
font-size: 60px; font-size: 60px;
} }
} }
@ -45,18 +51,21 @@
&__button { &__button {
margin-bottom: 30px; margin-bottom: 30px;
@media #{$screen-xlg} {
position: absolute;
top: 65%;
}
} }
&__subheader { &__subheader {
position: relative;
z-index: 2;
font-size: 22px; font-size: 22px;
@media #{$screen-sm} { @media #{$screen-sm} {
font-size: 26px; font-size: 26px;
} }
@media #{$screen-md} {
max-width: 700px;
}
} }
&__paragraph { &__paragraph {
@ -65,10 +74,6 @@
@media #{$screen-sm} { @media #{$screen-sm} {
font-size: 20px; font-size: 20px;
} }
@media #{$screen-md} {
max-width: 700px;
}
} }
&__link { &__link {
@ -76,10 +81,30 @@
text-transform: uppercase; text-transform: uppercase;
} }
&__subheader,
&__paragraph {
@media #{$screen-lg} {
max-width: 780px;
}
@media #{$screen-xlg} {
max-width: 680px;
transform: translateX(60%);
}
}
&__subheader, &__subheader,
&__paragraph, &__paragraph,
&__link { &__link {
margin-bottom: 30px; margin-bottom: 30px;
font-family: $base-font-family; font-family: $base-font-family;
@media #{$screen-lg} {
margin-bottom: 45px;
}
@media #{$screen-xlg} {
margin-bottom: 60px;
}
} }
} }

View File

@ -32,6 +32,10 @@
@media #{$screen-lg} { @media #{$screen-lg} {
width: $container-lg + $grid-gutter; width: $container-lg + $grid-gutter;
} }
@media #{$screen-xlg} {
width: $container-xlg + $grid-gutter;
}
} }
@mixin row { @mixin row {