Compare commits

..

2 Commits

Author SHA1 Message Date
5bbb17093d Fixed indentation and added comments. 2020-09-09 22:03:09 +02:00
250dc44273 Footer refactoring. 2020-09-09 21:57:51 +02:00
3 changed files with 91 additions and 80 deletions

View File

@ -7,7 +7,19 @@ $-primary-line-color: $-almost-white;
background: $-grey; background: $-grey;
width: 100%; width: 100%;
font-family: $-primary-sans-serif-font; font-family: $-primary-sans-serif-font;
font-size: 0.75rem; font-size: 1rem;
&Columns__Container {
width: 100%;
display: flex;
flex-direction: row;
justify-content: space-evenly;
flex-wrap: wrap;
}
&Columns__Item {
flex-grow: 1;
}
* { * {
box-sizing: border-box; box-sizing: border-box;
@ -33,12 +45,10 @@ $-primary-line-color: $-almost-white;
&__Flex { &__Flex {
display: flex; display: flex;
flex-flow: row wrap; flex-flow: row wrap;
margin-top: 5em;
} }
&__ListTop { &__ListTop {
text-align: center; text-align: left;
width: 33.333%;
} }
&__ListTop > li { &__ListTop > li {
@ -51,19 +61,11 @@ $-primary-line-color: $-almost-white;
font-size: 2.3vw; font-size: 2.3vw;
} }
&__ListAnchor {
font-size: 1.3em;
}
&__ListText { &__ListText {
font-size: 1.3em; font-size: 1.2em;
color: $-almost-white; color: $-almost-white;
} }
&__ListText-left {
text-align: left;
}
&__SocialSection { &__SocialSection {
width: 100%; width: 100%;
align-items: center; align-items: center;
@ -146,13 +148,13 @@ $-primary-line-color: $-almost-white;
&__SocialExplore { &__SocialExplore {
display: flex; display: flex;
align-items: center; align-items: center;
font-size: 3.5em; font-size: 2.5em;
color: $-almost-white; color: $-almost-white;
} }
// Small letters of "EXPLORE WITH US" // Small letters of "EXPLORE WITH US"
&__SocialSmall { &__SocialSmall {
font-size: 0.6em; font-size: 0.5em;
padding: 0px 20px; padding: 0px 20px;
} }
@ -180,7 +182,7 @@ $-primary-line-color: $-almost-white;
} }
&__BottomWrapper { &__BottomWrapper {
font-size: 1.5em; font-size: 1.3em;
color: $-almost-white; color: $-almost-white;
} }
} }
@ -190,7 +192,7 @@ $-primary-line-color: $-almost-white;
.LP-Footer__ListHeader { .LP-Footer__ListHeader {
font-size: 2em; font-size: 2em;
} }
.LP-Footer__ListAnchor { .LP-Footer__ListText {
font-size: 1.1em; font-size: 1.1em;
} }
.LP-Footer__SocialConnect { .LP-Footer__SocialConnect {
@ -212,7 +214,7 @@ $-primary-line-color: $-almost-white;
.LP-Footer__ListHeader { .LP-Footer__ListHeader {
font-size: 3em; font-size: 3em;
} }
.LP-Footer__ListAnchor { .LP-Footer__ListText {
font-size: 1.5em; font-size: 1.5em;
} }
.LP-Footer__SocialSection { .LP-Footer__SocialSection {
@ -263,7 +265,7 @@ $-primary-line-color: $-almost-white;
.LP-Footer__ListHeader { .LP-Footer__ListHeader {
font-size: 2.2em; font-size: 2.2em;
} }
.LP-Footer__ListAnchor { .LP-Footer__ListText {
font-size: 1.2em; font-size: 1.2em;
} }
.LP-Footer__SocialConnect { .LP-Footer__SocialConnect {

View File

@ -1,53 +1,60 @@
<footer class="LP-Footer LP-Footer__Flex"> <footer class="LP-Footer">
<ul class="LP-Footer__ListTop"> <div class="LP-FooterColumns__Container">
<li><h4 class="LP-Footer__ListHeader">About</h4></li>
<li><a href='https://git.mowoe.com/reverend/lostplaces-backend/src/branch/master/Readme.md' class="LP-Footer__GenericAnchor LP-Footer__ListAnchor">Host your own instance!</a></li> <!-- 1st footer column -->
<li><a href='https://git.mowoe.com/reverend/lostplaces-backend/issues' class="LP-Footer__GenericAnchor LP-Footer__ListAnchor">Issue tracker</a></li> <ul class="LP-Footer__ListTop">
<li><a href='https://git.mowoe.com/reverend/lostplaces-backend' class="LP-Footer__GenericAnchor LP-Footer__ListAnchor">Backend repository</a></li> <li><h4 class="LP-Footer__ListHeader">About</h4></li>
<li><a href='https://git.mowoe.com/reverend/lostplaces-frontend' class="LP-Footer__GenericAnchor LP-Footer__ListAnchor">Frontend repository</a></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>
</ul> <li class="LP-Footer__ListText"><a href='https://git.mowoe.com/reverend/lostplaces-backend/issues' class="LP-Footer__GenericAnchor">Issue tracker</a></li>
<ul class="LP-Footer__ListTop"> <li class="LP-Footer__ListText"><a href='https://git.mowoe.com/reverend/lostplaces-backend' class="LP-Footer__GenericAnchor">Backend repository</a></li>
<li><h4 class="LP-Footer__ListHeader">Contact</h4></li> <li class="LP-Footer__ListText"><a href='https://git.mowoe.com/reverend/lostplaces-frontend' class="LP-Footer__GenericAnchor">Frontend repository</a></li>
<li><a href='https://www.urban-exploration.com' class="LP-Footer__GenericAnchor LP-Footer__ListAnchor">https://www.urban-exploration.com</a></li> </ul>
<li><a href='mailto:JohnSSmith@einrot.com' class="LP-Footer__GenericAnchor LP-Footer__ListAnchor">JohnSSmith@einrot.com</a></li>
<li class="LP-Footer__ListText LP-Footer__ListAnchor">937-387-6498</li>
</ul> <!-- 2nd footer column -->
<ul class="LP-Footer__ListTop"> <ul class="LP-Footer__ListTop">
<li id='Contact'><h4 class="LP-Footer__ListHeader">Postal address</h4></li> <li><h4 class="LP-Footer__ListHeader">Contact</h4></li>
<li class="LP-Footer__ListText LP-Footer__ListAnchor"><b>Urban Exploration Ltd.</b></li> <li class="LP-Footer__ListText">web. <a href='https://www.urban-exploration.com' class="LP-Footer__GenericAnchor">https://www.urban-exploration.com</a></li>
<li class="LP-Footer__ListText LP-Footer__ListAnchor">John S. Smith</li> <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 LP-Footer__ListAnchor">2563 College Avenue</li> <li class="LP-Footer__ListText">tel. 937-387-6498</li>
<li class="LP-Footer__ListText LP-Footer__ListAnchor">Dayton, OH 45402</li> </ul>
</ul>
<!-- 3rd footer column -->
<ul class="LP-Footer__ListTop">
<li id='Contact'><h4 class="LP-Footer__ListHeader">Postal address</h4></li>
<li class="LP-Footer__ListText"><b>Urban Exploration Ltd.</b></li>
<li class="LP-Footer__ListText">John S. Smith</li>
<li class="LP-Footer__ListText">2563 College Avenue</li>
<li class="LP-Footer__ListText">Dayton, OH 45402</li>
</ul>
</div>
<!-- Explore with us / social media bar --> <!-- Explore with us / social media bar -->
<section class="LP-Footer__SocialSection LP-Footer__Flex"> <section class="LP-Footer__SocialSection LP-Footer__Flex">
<span class="LP-Footer__SocialOverlap LP-Footer__SocialExplore"> <span class="LP-Footer__SocialOverlap LP-Footer__SocialExplore">
EXPLORE <span class="LP-Footer__SocialSmall">with</span> US EXPLORE <span class="LP-Footer__SocialSmall">with</span> US
</span> </span>
<span class="LP-Footer__SocialOverlap LP-Footer__SocialIconsWrapper"> <span class="LP-Footer__SocialOverlap LP-Footer__SocialIconsWrapper">
<a href="https://mastodon.social/@urbanexploration" class="LP-Footer__Social-Mastodon LP-Footer__GenericAnchor" <a href="https://mastodon.social/@urbanexploration" class="LP-Footer__Social-Mastodon LP-Footer__GenericAnchor"
target="_blank" title="Mastodon"> target="_blank" title="Mastodon">
<span class="LP-Footer__Icon"></span> <span class="LP-Footer__Icon"></span>
</a>
<a href="https://twitter.com/urbanexploration" class="LP-Footer__Social-Twitter LP-Footer__GenericAnchor"
target="_blank" title="Twitter">
<span class="LP-Footer__Icon"></span>
</a> </a>
<a href="https://www.youtube.com/channel/urbanexploration" class="LP-Footer__Social-Youtube LP-Footer__GenericAnchor" <a href="https://twitter.com/urbanexploration" class="LP-Footer__Social-Twitter LP-Footer__GenericAnchor"
target="_blank" title="Youtube"> target="_blank" title="Twitter">
<span class="LP-Footer__Icon"></span> <span class="LP-Footer__Icon"></span>
</a> </a>
<a href="https://blog.urbanexploration.com" class="LP-Footer__Social-Wordpress LP-Footer__GenericAnchor" <a href="https://www.youtube.com/channel/urbanexploration" class="LP-Footer__Social-Youtube LP-Footer__GenericAnchor"
target="_blank" title="Wordpress"> target="_blank" title="Youtube">
<span class="LP-Footer__Icon"></span> <span class="LP-Footer__Icon"></span>
</a> </a>
<a href="https://www.instagram.com/urbanexploration" class="LP-Footer__Social-Instagram LP-Footer__GenericAnchor" <a href="https://blog.urbanexploration.com" class="LP-Footer__Social-Wordpress LP-Footer__GenericAnchor"
target="_blank" title="Instagram"> target="_blank" title="Wordpress">
<span class="LP-Footer__Icon"></span> <span class="LP-Footer__Icon"></span>
</a> </a>
</span> <a href="https://www.instagram.com/urbanexploration" class="LP-Footer__Social-Instagram LP-Footer__GenericAnchor"
target="_blank" title="Instagram">
<span class="LP-Footer__Icon"></span>
</a>
</span>
</section> </section>
<!-- Bottom section with last line of text and links. --> <!-- Bottom section with last line of text and links. -->

View File

@ -1245,7 +1245,15 @@ body {
background: #565656; background: #565656;
width: 100%; width: 100%;
font-family: "Montserrat", Helvetica, sans-serif; font-family: "Montserrat", Helvetica, sans-serif;
font-size: 0.75rem; } font-size: 1rem; }
.LP-FooterColumns__Container {
width: 100%;
display: flex;
flex-direction: row;
justify-content: space-evenly;
flex-wrap: wrap; }
.LP-FooterColumns__Item {
flex-grow: 1; }
.LP-Footer * { .LP-Footer * {
box-sizing: border-box; } box-sizing: border-box; }
.LP-Footer ul { .LP-Footer ul {
@ -1258,24 +1266,18 @@ body {
color: #f9f9f9; } color: #f9f9f9; }
.LP-Footer__Flex { .LP-Footer__Flex {
display: flex; display: flex;
flex-flow: row wrap; flex-flow: row wrap; }
margin-top: 5em; }
.LP-Footer__ListTop { .LP-Footer__ListTop {
text-align: center; text-align: left; }
width: 33.333%; }
.LP-Footer__ListTop > li { .LP-Footer__ListTop > li {
padding-bottom: 10px; } padding-bottom: 10px; }
.LP-Footer__ListHeader { .LP-Footer__ListHeader {
padding: 10px 0 5px 0; padding: 10px 0 5px 0;
color: #f9f9f9; color: #f9f9f9;
font-size: 2.3vw; } font-size: 2.3vw; }
.LP-Footer__ListAnchor {
font-size: 1.3em; }
.LP-Footer__ListText { .LP-Footer__ListText {
font-size: 1.3em; font-size: 1.2em;
color: #f9f9f9; } color: #f9f9f9; }
.LP-Footer__ListText-left {
text-align: left; }
.LP-Footer__SocialSection { .LP-Footer__SocialSection {
width: 100%; width: 100%;
align-items: center; align-items: center;
@ -1317,10 +1319,10 @@ body {
.LP-Footer__SocialExplore { .LP-Footer__SocialExplore {
display: flex; display: flex;
align-items: center; align-items: center;
font-size: 3.5em; font-size: 2.5em;
color: #f9f9f9; } color: #f9f9f9; }
.LP-Footer__SocialSmall { .LP-Footer__SocialSmall {
font-size: 0.6em; font-size: 0.5em;
padding: 0px 20px; } padding: 0px 20px; }
.LP-Footer__SocialOverlap { .LP-Footer__SocialOverlap {
position: relative; position: relative;
@ -1338,13 +1340,13 @@ body {
.LP-Footer__BottomSection > div:first-child { .LP-Footer__BottomSection > div:first-child {
margin-right: auto; } margin-right: auto; }
.LP-Footer__BottomWrapper { .LP-Footer__BottomWrapper {
font-size: 1.5em; font-size: 1.3em;
color: #f9f9f9; } color: #f9f9f9; }
@media (max-width: 1000px) { @media (max-width: 1000px) {
.LP-Footer__ListHeader { .LP-Footer__ListHeader {
font-size: 2em; } font-size: 2em; }
.LP-Footer__ListAnchor { .LP-Footer__ListText {
font-size: 1.1em; } font-size: 1.1em; }
.LP-Footer__SocialConnect { .LP-Footer__SocialConnect {
font-size: 2.5em; } font-size: 2.5em; }
@ -1359,7 +1361,7 @@ body {
width: 100%; } width: 100%; }
.LP-Footer__ListHeader { .LP-Footer__ListHeader {
font-size: 3em; } font-size: 3em; }
.LP-Footer__ListAnchor { .LP-Footer__ListText {
font-size: 1.5em; } font-size: 1.5em; }
.LP-Footer__SocialSection { .LP-Footer__SocialSection {
justify-content: center; } justify-content: center; }
@ -1395,7 +1397,7 @@ body {
@media (max-width: 450px) { @media (max-width: 450px) {
.LP-Footer__ListHeader { .LP-Footer__ListHeader {
font-size: 2.2em; } font-size: 2.2em; }
.LP-Footer__ListAnchor { .LP-Footer__ListText {
font-size: 1.2em; } font-size: 1.2em; }
.LP-Footer__SocialConnect { .LP-Footer__SocialConnect {
font-size: 2.4em; } font-size: 2.4em; }