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,93 +112,93 @@ $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
}
.LP-Footer__list-anchor {
font-size: 1.1em
}
.LP-Footer__social-connect {
font-size: 2.5em
}
.LP-Footer__social-overlap > a {
font-size: 2.24em
}
.LP-Footer__bottom-wrapper {
font-size: 1.3em
}
} }
.LP-Footer__list-anchor {
font-size: 1.1em
}
.LP-Footer__social-connect {
font-size: 2.5em
}
.LP-Footer__social-overlap > a {
font-size: 2.24em
}
.LP-Footer__bottom-wrapper {
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%
}
.LP-Footer__list-header {
font-size: 3em;
}
.LP-Footer__list-anchor {
font-size: 1.5em
}
.LP-Footer__social-section {
justify-content: center
}
.LP-Footer__social-section::after {
top: 25%
}
.LP-Footer__social-connect {
margin-bottom: 10px;
padding: 0 10px
}
.LP-Footer__social-overlap {
display: flex;
justify-content: center;
}
.LP-Footer__social-icons-wrapper {
width: 100%;
padding: 0
}
.LP-Footer__social-overlap > a:not(:first-child) {
margin-left: 20px;
}
.LP-Footer__bottom-section {
padding: 0 5px 10px 5px
}
.LP-Footer__bottom-wrapper {
text-align: center;
width: 100%;
margin-top: 10px
}
} }
.LP-Footer__list-header {
font-size: 3em;
}
.LP-Footer__list-anchor {
font-size: 1.5em
}
.LP-Footer__social-section {
justify-content: center
}
.LP-Footer__social-section::after {
top: 25%
}
.LP-Footer__social-connect {
margin-bottom: 10px;
padding: 0 10px
}
.LP-Footer__social-overlap {
display: flex;
justify-content: center;
}
.LP-Footer__social-icons-wrapper {
width: 100%;
padding: 0
}
.LP-Footer__social-overlap > a:not(:first-child) {
margin-left: 20px;
}
.LP-Footer__bottom-section {
padding: 0 5px 10px 5px
}
.LP-Footer__bottom-wrapper {
text-align: center;
width: 100%;
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
}
.LP-Footer__social-overlap > a:not(:first-child) {
margin-left: 0;
}
.LP-Footer__bottom-rights {
display: block
}
} }
.LP-Footer__social-overlap > a:not(:first-child) {
margin-left: 0;
}
.LP-Footer__bottom-rights {
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
}
.LP-Footer__list-anchor {
font-size: 1.2em
}
.LP-Footer__social-connect {
font-size: 2.4em
}
.LP-Footer__social-overlap > a {
font-size: 2.24em
}
.LP-Footer__bottom-wrapper {
font-size: 1.3em
}
} }
.LP-Footer__list-anchor { }
font-size: 1.2em
}
.LP-Footer__social-connect {
font-size: 2.4em
}
.LP-Footer__social-overlap > a {
font-size: 2.24em
}
.LP-Footer__bottom-wrapper {
font-size: 1.3em
}
}

View File

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