Better Wrapping in the footer

This commit is contained in:
reverend 2021-10-24 16:58:08 +02:00
parent db13ef4787
commit dd69cbbaaf
6 changed files with 282 additions and 35 deletions

View File

@ -2,7 +2,7 @@
@import 'placeGrid/placeGrid';
@import 'placeList/placeList';
@import 'linkList/linkList';
//@import 'footer/footer';
@import 'footer/footer';
//@import 'form/form';
//@import 'imageGrid/imageGrid';
//@import 'osmMap/osmMap';

View File

@ -10,15 +10,13 @@ $-primary-line-color: $-almost-white;
font-size: 1rem;
&Columns__Container {
width: 100%;
display: flex;
flex-direction: row;
justify-content: space-evenly;
flex-wrap: wrap;
@include RV-BreakPoint;
--breakPoint: 750px;
justify-content: center;
}
&Columns__Item {
flex-grow: 1;
@include RV-BreakPoint__Item;
}
* {
@ -208,9 +206,6 @@ $-primary-line-color: $-almost-white;
}
@media(max-width: $-viewport-medium) {
.LP-Footer__ListTop {
width: 100%;
}
.LP-Footer__ListHeader {
font-size: 3em;
}

View File

@ -2,6 +2,7 @@
<div class="LP-FooterColumns__Container">
<!-- 1st footer column -->
<div class="LP-FooterColumns__Item">
<ul class="LP-Footer__ListTop">
<li><h4 class="LP-Footer__ListHeader">About</h4></li>
<li class="LP-Footer__ListText"><a href='https://git.mowoe.com/reverend/lostplaces-backend/src/branch/master/Readme.md' class="LP-Footer__GenericAnchor">Host your own instance!</a></li>
@ -9,7 +10,9 @@
<li class="LP-Footer__ListText"><a href='https://git.mowoe.com/reverend/lostplaces-backend' class="LP-Footer__GenericAnchor">Backend repository</a></li>
<li class="LP-Footer__ListText"><a href='https://git.mowoe.com/reverend/lostplaces-frontend' class="LP-Footer__GenericAnchor">Frontend repository</a></li>
</ul>
</div>
<div class="LP-FooterColumns__Item">
<!-- 2nd footer column -->
<ul class="LP-Footer__ListTop">
<li><h4 class="LP-Footer__ListHeader">Contact</h4></li>
@ -17,7 +20,9 @@
<li class="LP-Footer__ListText">mail. <a href='mailto:JohnSSmith@einrot.com' class="LP-Footer__GenericAnchor">JohnSSmith@einrot.com</a></li>
<li class="LP-Footer__ListText">tel. 937-387-6498</li>
</ul>
</div>
<div class="LP-FooterColumns__Item">
<!-- 3rd footer column -->
<ul class="LP-Footer__ListTop">
<li id='Contact'><h4 class="LP-Footer__ListHeader">Postal address</h4></li>
@ -27,6 +32,7 @@
<li class="LP-Footer__ListText">Dayton, OH 45402</li>
</ul>
</div>
</div>
<!-- Explore with us / social media bar -->
<section class="LP-Footer__SocialSection LP-Footer__Flex">

View File

@ -321,7 +321,7 @@ $-spacing-large: 35px;
@mixin RV-Alignment--horizontalCenter {
display: flex;
justify-content:0 center;
justify-content: center;
}
@mixin RV-Alignment--verticalCenter {

View File

@ -211,7 +211,7 @@
}
.RV-Alignment--horizontalCenter {
display: flex;
justify-content: 0 center;
justify-content: center;
}
.RV-Alignment--verticalCenter {
display: flex;
@ -26978,4 +26978,250 @@ label + .LP-Input--disabled .LP-Input__Field:disabled {
transition: color 0.2s;
}
.LP-Footer {
margin: auto;
background: #565656;
width: 100%;
font-family: "Montserrat", Helvetica, sans-serif;
font-size: 1rem;
}
.LP-FooterColumns__Container {
display: flex;
gap: var(--gap);
flex-direction: row;
flex-wrap: wrap;
overflow-y: hidden;
gap: 0px;
--breakPoint: 750px;
justify-content: center;
}
.LP-FooterColumns__Item {
flex-grow: 5;
flex-shrink: 5;
flex-basis: calc(var(--breakPoint) * 999 - 99900%);
overflow: hidden;
--outer-spacing: 0;
--inner-spacing: 0;
}
.LP-Footer * {
box-sizing: border-box;
}
.LP-Footer ul {
list-style: none;
}
.LP-Footer a {
text-decoration: none;
}
.LP-Footer__GenericAnchor {
color: #D7CEC7;
}
.LP-Footer__GenericAnchor:hover {
color: #f9f9f9;
}
.LP-Footer__Flex {
display: flex;
flex-flow: row wrap;
}
.LP-Footer__ListTop {
text-align: left;
}
.LP-Footer__ListTop > li {
padding-bottom: 10px;
}
.LP-Footer__ListHeader {
padding: 10px 0 5px 0;
color: #f9f9f9;
font-size: 2.3vw;
}
.LP-Footer__ListText {
font-size: 1.2em;
color: #f9f9f9;
}
.LP-Footer__SocialSection {
width: 100%;
align-items: center;
justify-content: space-around;
position: relative;
margin-top: 5px;
}
.LP-Footer__SocialSection::after {
content: "";
position: absolute;
z-index: 1;
top: 50%;
left: 10px;
border-top: 1px solid #f9f9f9;
width: calc(100% - 20px);
}
.LP-Footer .LP-Footer__Social-Mastodon .LP-Footer__Icon {
background-image: url("icons/social/mastodon.svg");
}
.LP-Footer .LP-Footer__Social-Twitter .LP-Footer__Icon {
background-image: url("icons/social/twitter.svg");
}
.LP-Footer .LP-Footer__Social-Facebook .LP-Footer__Icon {
background-image: url("icons/social/facebook.svg");
}
.LP-Footer .LP-Footer__Social-Youtube .LP-Footer__Icon {
background-image: url("icons/social/youtube.svg");
}
.LP-Footer .LP-Footer__Social-Vimeo .LP-Footer__Icon {
background-image: url("icons/social/vimeo.svg");
}
.LP-Footer .LP-Footer__Social-Instagram .LP-Footer__Icon {
background-image: url("icons/social/instagram.svg");
}
.LP-Footer .LP-Footer__Social-Vkontakte .LP-Footer__Icon {
background-image: url("icons/social/vkontakte.svg");
}
.LP-Footer .LP-Footer__Social-Wordpress .LP-Footer__Icon {
background-image: url("icons/social/wordpress.svg");
}
.LP-Footer .LP-Footer__Icon {
background-size: 40px 40px;
background-repeat: no-repeat;
background-position: center;
background-clip: content-box;
position: absolute;
height: 50px;
width: 50px;
}
.LP-Footer__SocialExplore {
display: flex;
align-items: center;
font-size: 2.5em;
color: #f9f9f9;
}
.LP-Footer__SocialSmall {
font-size: 0.5em;
padding: 0px 20px;
}
.LP-Footer__SocialOverlap {
position: relative;
z-index: 2;
background: #565656;
padding: 0 10px;
}
.LP-Footer__SocialOverlap > a {
font-size: 3em;
padding-right: 50px;
}
.LP-Footer__BottomSection {
width: 100%;
padding: 10px;
border-top: 1px solid #f9f9f9;
margin-top: 10px;
}
.LP-Footer__BottomSection > div:first-child {
margin-right: auto;
}
.LP-Footer__BottomWrapper {
font-size: 1.3em;
color: #f9f9f9;
}
@media (max-width: 1000px) {
.LP-Footer__ListHeader {
font-size: 2em;
}
.LP-Footer__ListText {
font-size: 1.1em;
}
.LP-Footer__SocialConnect {
font-size: 2.5em;
}
.LP-Footer__SocialOverlap > a {
font-size: 2.24em;
height: 50px;
}
.LP-Footer__BottomWrapper {
font-size: 1.3em;
}
}
@media (max-width: 750px) {
.LP-Footer__ListHeader {
font-size: 3em;
}
.LP-Footer__ListText {
font-size: 1.5em;
}
.LP-Footer__SocialSection {
justify-content: center;
}
.LP-Footer__SocialSection::after {
top: 25%;
}
.LP-Footer__SocialConnect {
margin-bottom: 10px;
padding: 0 10px;
}
.LP-Footer__SocialOverlap {
display: flex;
justify-content: center;
height: 50px;
}
.LP-Footer__SocialIconsWrapper {
width: 100%;
padding: 0;
}
.LP-Footer__SocialOverlap {
margin-left: 0px;
}
.LP-Footer__BottomSection {
padding: 0 5px 10px 5px;
}
.LP-Footer__BottomWrapper {
text-align: center;
width: 100%;
margin-top: 10px;
}
}
@media (max-width: 650px) {
.LP-Footer__SocialOverlap > a {
margin: auto;
}
.LP-Footer__SocialOverlap > a:not(:first-child) {
margin-left: 0;
}
.LP-Footer__BottomRights {
display: block;
}
}
@media (max-width: 450px) {
.LP-Footer__ListHeader {
font-size: 2.2em;
}
.LP-Footer__ListText {
font-size: 1.2em;
}
.LP-Footer__SocialConnect {
font-size: 2.4em;
}
.LP-Footer__SocialOverlap > a {
font-size: 2.24em;
}
.LP-Footer__BottomWrapper {
font-size: 1.3em;
}
}
/*# sourceMappingURL=main.css.map */

File diff suppressed because one or more lines are too long