Also scoped media queries. (?)

This commit is contained in:
Marcus Scholz 2020-09-06 00:22:12 +02:00
parent 80bd9bdb13
commit 5cd481bf40
2 changed files with 139 additions and 143 deletions

View File

@ -112,9 +112,8 @@ $primary-line-color: $-almost-white;
font-size: 1.5em; font-size: 1.5em;
color: $-almost-white color: $-almost-white
} }
}
@media(max-width: $-viewport-normal) { @media(max-width: $-viewport-normal) {
.LP-Footer__list-header { .LP-Footer__list-header {
font-size: 2em font-size: 2em
} }
@ -130,9 +129,9 @@ $primary-line-color: $-almost-white;
.LP-Footer__bottom-wrapper { .LP-Footer__bottom-wrapper {
font-size: 1.3em font-size: 1.3em
} }
} }
@media(max-width: $-viewport-medium) { @media(max-width: $-viewport-medium) {
.LP-Footer__list-top { .LP-Footer__list-top {
width: 100% width: 100%
} }
@ -171,9 +170,9 @@ $primary-line-color: $-almost-white;
width: 100%; width: 100%;
margin-top: 10px margin-top: 10px
} }
} }
@media(max-width: $-viewport-small) { @media(max-width: $-viewport-small) {
.LP-Footer__social-overlap > a { .LP-Footer__social-overlap > a {
margin: auto margin: auto
} }
@ -183,9 +182,9 @@ $primary-line-color: $-almost-white;
.LP-Footer__bottom-rights { .LP-Footer__bottom-rights {
display: block display: block
} }
} }
@media(max-width: $-viewport-extra-small) { @media(max-width: $-viewport-extra-small) {
.LP-Footer__list-header { .LP-Footer__list-header {
font-size: 2.2em font-size: 2.2em
} }
@ -201,4 +200,5 @@ $primary-line-color: $-almost-white;
.LP-Footer__bottom-wrapper { .LP-Footer__bottom-wrapper {
font-size: 1.3em font-size: 1.3em
} }
}
} }

View File

@ -1311,66 +1311,62 @@ body {
.LP-Footer__bottom-wrapper { .LP-Footer__bottom-wrapper {
font-size: 1.5em; font-size: 1.5em;
color: #f9f9f9; } color: #f9f9f9; }
@media (max-width: 1000px) {
@media (max-width: 1000px) { .LP-Footer .LP-Footer__list-header {
.LP-Footer__list-header {
font-size: 2em; } font-size: 2em; }
.LP-Footer__list-anchor { .LP-Footer .LP-Footer__list-anchor {
font-size: 1.1em; } font-size: 1.1em; }
.LP-Footer__social-connect { .LP-Footer .LP-Footer__social-connect {
font-size: 2.5em; } font-size: 2.5em; }
.LP-Footer__social-overlap > a { .LP-Footer .LP-Footer__social-overlap > a {
font-size: 2.24em; } font-size: 2.24em; }
.LP-Footer__bottom-wrapper { .LP-Footer .LP-Footer__bottom-wrapper {
font-size: 1.3em; } } font-size: 1.3em; } }
@media (max-width: 750px) {
@media (max-width: 750px) { .LP-Footer .LP-Footer__list-top {
.LP-Footer__list-top {
width: 100%; } width: 100%; }
.LP-Footer__list-header { .LP-Footer .LP-Footer__list-header {
font-size: 3em; } font-size: 3em; }
.LP-Footer__list-anchor { .LP-Footer .LP-Footer__list-anchor {
font-size: 1.5em; } font-size: 1.5em; }
.LP-Footer__social-section { .LP-Footer .LP-Footer__social-section {
justify-content: center; } justify-content: center; }
.LP-Footer__social-section::after { .LP-Footer .LP-Footer__social-section::after {
top: 25%; } top: 25%; }
.LP-Footer__social-connect { .LP-Footer .LP-Footer__social-connect {
margin-bottom: 10px; margin-bottom: 10px;
padding: 0 10px; } padding: 0 10px; }
.LP-Footer__social-overlap { .LP-Footer .LP-Footer__social-overlap {
display: flex; display: flex;
justify-content: center; } justify-content: center; }
.LP-Footer__social-icons-wrapper { .LP-Footer .LP-Footer__social-icons-wrapper {
width: 100%; width: 100%;
padding: 0; } padding: 0; }
.LP-Footer__social-overlap > a:not(:first-child) { .LP-Footer .LP-Footer__social-overlap > a:not(:first-child) {
margin-left: 20px; } margin-left: 20px; }
.LP-Footer__bottom-section { .LP-Footer .LP-Footer__bottom-section {
padding: 0 5px 10px 5px; } padding: 0 5px 10px 5px; }
.LP-Footer__bottom-wrapper { .LP-Footer .LP-Footer__bottom-wrapper {
text-align: center; text-align: center;
width: 100%; width: 100%;
margin-top: 10px; } } margin-top: 10px; } }
@media (max-width: 650px) {
@media (max-width: 650px) { .LP-Footer .LP-Footer__social-overlap > a {
.LP-Footer__social-overlap > a {
margin: auto; } margin: auto; }
.LP-Footer__social-overlap > a:not(:first-child) { .LP-Footer .LP-Footer__social-overlap > a:not(:first-child) {
margin-left: 0; } margin-left: 0; }
.LP-Footer__bottom-rights { .LP-Footer .LP-Footer__bottom-rights {
display: block; } } display: block; } }
@media (max-width: 450px) {
@media (max-width: 450px) { .LP-Footer .LP-Footer__list-header {
.LP-Footer__list-header {
font-size: 2.2em; } font-size: 2.2em; }
.LP-Footer__list-anchor { .LP-Footer .LP-Footer__list-anchor {
font-size: 1.2em; } font-size: 1.2em; }
.LP-Footer__social-connect { .LP-Footer .LP-Footer__social-connect {
font-size: 2.4em; } font-size: 2.4em; }
.LP-Footer__social-overlap > a { .LP-Footer .LP-Footer__social-overlap > a {
font-size: 2.24em; } font-size: 2.24em; }
.LP-Footer__bottom-wrapper { .LP-Footer .LP-Footer__bottom-wrapper {
font-size: 1.3em; } } font-size: 1.3em; } }
.LP-Form--tagging { .LP-Form--tagging {