Footer <576px optimization

This commit is contained in:
Thomas Smith 2022-09-22 15:05:58 -04:00
parent 3f36eae2b5
commit a079e45840
2 changed files with 381 additions and 57 deletions

View file

@ -5,7 +5,7 @@
<div class="col-lg-8 footer-content"> <div class="col-lg-8 footer-content">
<h4>Equitable open-source for <span id="cycle">web3</span></h4> <h4>Equitable open-source for <span id="cycle">web3</span></h4>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
<img src="/Images/footer-grid-element.svg" alt="tea.grid"> <img class="footer-grid" src="/Images/footer-grid-element.svg" alt="tea.grid">
</div> </div>
<div class="col-lg-4"> <div class="col-lg-4">
<div class="card social-box" style="width: 100%; float:right;"> <div class="card social-box" style="width: 100%; float:right;">

View file

@ -1,6 +1,8 @@
/* Footer Styling */ /* Footer Styling */
.footer-email{ @media only screen and (min-width: 1200px) {
.footer-email{
font-family: "pp-neue-machina", sans-serif; font-family: "pp-neue-machina", sans-serif;
text-transform: uppercase; text-transform: uppercase;
font-size: 2.121vw; font-size: 2.121vw;
@ -8,26 +10,26 @@
padding: 1.953vw 0vw; padding: 1.953vw 0vw;
background: none; background: none;
border: none; border: none;
} }
.footer-email:focus{ .footer-email:focus{
background-color: #1a1a1a; background-color: #1a1a1a;
color: #fff; color: #fff;
outline: none !important; outline: none !important;
box-shadow: none !important; box-shadow: none !important;
} }
.social-box{ .social-box{
border-radius: 0px !important; border-radius: 0px !important;
border: 2px solid #949494; border: 2px solid #949494;
background-color: none; background-color: none;
} }
.list-group{ .list-group{
border-radius: 0px !important; border-radius: 0px !important;
} }
.list-group-item{ .list-group-item{
background-color: #1a1a1a !important; background-color: #1a1a1a !important;
padding: 1.116vw; padding: 1.116vw;
font-size: 1.562vw; font-size: 1.562vw;
@ -36,20 +38,20 @@
text-transform: uppercase; text-transform: uppercase;
border-bottom: 2px solid #949494; border-bottom: 2px solid #949494;
transition: 0.2s ease-in-out; transition: 0.2s ease-in-out;
} }
.list-group-item:hover{ .list-group-item:hover{
padding-left: 2.232vw; padding-left: 2.232vw;
background-color: #00ffd0 !important; background-color: #00ffd0 !important;
box-shadow: inset 0vw 0vw 0vw 0.391vw #1a1a1a !important; box-shadow: inset 0vw 0vw 0vw 0.391vw #1a1a1a !important;
color: #1a1a1a !important; color: #1a1a1a !important;
} }
.footer-content{ .footer-content{
padding-right: 5.580vw; padding-right: 5.580vw;
} }
.email-btn{ .email-btn{
width: 16%; width: 16%;
border-left: 2px solid #949494; border-left: 2px solid #949494;
border-right: none !important; border-right: none !important;
@ -57,16 +59,338 @@
font-family: "pp-neue-machina", sans-serif; font-family: "pp-neue-machina", sans-serif;
text-transform: uppercase; text-transform: uppercase;
font-size: 2.121vw; font-size: 2.121vw;
} }
.email-btn:hover{ .email-btn:hover{
background-color: #00ffd0; background-color: #00ffd0;
color: #1a1a1a; color: #1a1a1a;
box-shadow: inset 0vw 0vw 0vw 0.391vw #1a1a1a !important; box-shadow: inset 0vw 0vw 0vw 0.391vw #1a1a1a !important;
} }
.social-icon{ .social-icon{
margin-right: 1.116vw !important; margin-right: 1.116vw !important;
position: relative; position: relative;
top: 0.167vw; top: 0.167vw;
}
.footer-grid{
width:50.223vw;
}
}
@media only screen and (min-width: 992px) and (max-width: 1200px) {
.footer-email{
font-family: "pp-neue-machina", sans-serif;
text-transform: uppercase;
font-size: 2.121vw;
line-height: 2.121vw;
padding: 1.953vw 0vw;
background: none;
border: none;
}
.footer-email:focus{
background-color: #1a1a1a;
color: #fff;
outline: none !important;
box-shadow: none !important;
}
.social-box{
border-radius: 0px !important;
border: 2px solid #949494;
background-color: none;
}
.list-group{
border-radius: 0px !important;
}
.list-group-item{
background-color: #1a1a1a !important;
padding: 1.116vw;
font-size: 1.562vw;
color: #fff;
font-family: "pp-neue-machina", sans-serif;
text-transform: uppercase;
border-bottom: 2px solid #949494;
transition: 0.2s ease-in-out;
}
.list-group-item:hover{
padding-left: 2.232vw;
background-color: #00ffd0 !important;
box-shadow: inset 0vw 0vw 0vw 0.391vw #1a1a1a !important;
color: #1a1a1a !important;
}
.footer-content{
padding-right: 5.580vw;
}
.email-btn{
width: 16%;
border-left: 2px solid #949494;
border-right: none !important;
border-radius: 0px;
font-family: "pp-neue-machina", sans-serif;
text-transform: uppercase;
font-size: 2.121vw;
}
.email-btn:hover{
background-color: #00ffd0;
color: #1a1a1a;
box-shadow: inset 0vw 0vw 0vw 0.391vw #1a1a1a !important;
}
.social-icon{
margin-right: 1.116vw !important;
position: relative;
top: 0.167vw;
}
.footer-grid{
width:50.223vw;
}
}
@media only screen and (min-width: 768px) and (max-width: 992px) {
.footer-email{
font-family: "pp-neue-machina", sans-serif;
text-transform: uppercase;
font-size: 2.121vw;
line-height: 2.121vw;
padding: 1.953vw 0vw;
background: none;
border: none;
}
.footer-email:focus{
background-color: #1a1a1a;
color: #fff;
outline: none !important;
box-shadow: none !important;
}
.social-box{
border-radius: 0px !important;
border: 2px solid #949494;
background-color: none;
}
.list-group{
border-radius: 0px !important;
}
.list-group-item{
background-color: #1a1a1a !important;
padding: 1.116vw;
font-size: 1.562vw;
color: #fff;
font-family: "pp-neue-machina", sans-serif;
text-transform: uppercase;
border-bottom: 2px solid #949494;
transition: 0.2s ease-in-out;
}
.list-group-item:hover{
padding-left: 2.232vw;
background-color: #00ffd0 !important;
box-shadow: inset 0vw 0vw 0vw 0.391vw #1a1a1a !important;
color: #1a1a1a !important;
}
.footer-content{
padding-right: 5.580vw;
}
.email-btn{
width: 16%;
border-left: 2px solid #949494;
border-right: none !important;
border-radius: 0px;
font-family: "pp-neue-machina", sans-serif;
text-transform: uppercase;
font-size: 2.121vw;
}
.email-btn:hover{
background-color: #00ffd0;
color: #1a1a1a;
box-shadow: inset 0vw 0vw 0vw 0.391vw #1a1a1a !important;
}
.social-icon{
margin-right: 1.116vw !important;
position: relative;
top: 0.167vw;
}
.footer-grid{
width:50.223vw;
}
}
@media only screen and (min-width: 576px) and (max-width: 768px){
.footer-email{
font-family: "pp-neue-machina", sans-serif;
text-transform: uppercase;
font-size: 2.121vw;
line-height: 2.121vw;
padding: 1.953vw 0vw;
background: none;
border: none;
}
.footer-email:focus{
background-color: #1a1a1a;
color: #fff;
outline: none !important;
box-shadow: none !important;
}
.social-box{
border-radius: 0px !important;
border: 2px solid #949494;
background-color: none;
}
.list-group{
border-radius: 0px !important;
}
.list-group-item{
background-color: #1a1a1a !important;
padding: 1.116vw;
font-size: 1.562vw;
color: #fff;
font-family: "pp-neue-machina", sans-serif;
text-transform: uppercase;
border-bottom: 2px solid #949494;
transition: 0.2s ease-in-out;
}
.list-group-item:hover{
padding-left: 2.232vw;
background-color: #00ffd0 !important;
box-shadow: inset 0vw 0vw 0vw 0.391vw #1a1a1a !important;
color: #1a1a1a !important;
}
.footer-content{
padding-right: 5.580vw;
}
.email-btn{
width: 16%;
border-left: 2px solid #949494;
border-right: none !important;
border-radius: 0px;
font-family: "pp-neue-machina", sans-serif;
text-transform: uppercase;
font-size: 2.121vw;
}
.email-btn:hover{
background-color: #00ffd0;
color: #1a1a1a;
box-shadow: inset 0vw 0vw 0vw 0.391vw #1a1a1a !important;
}
.social-icon{
margin-right: 1.116vw !important;
position: relative;
top: 0.167vw;
}
.footer-grid{
width:50.223vw;
}
}
@media only screen and (max-width: 576px) {
.footer-email{
font-family: "pp-neue-machina", sans-serif;
text-transform: uppercase;
font-size: 4vw;
line-height: 2.121vw;
padding: 6vw 0vw;
background: none;
border: none;
}
.footer-email:focus{
background-color: #1a1a1a;
color: #fff;
outline: none !important;
box-shadow: none !important;
}
.social-box{
border-radius: 0px !important;
border: 2px solid #949494;
background-color: none;
}
.list-group{
border-radius: 0px !important;
}
.list-group-item{
background-color: #1a1a1a !important;
padding: 3.5vw;
font-size: 4vw;
color: #fff;
font-family: "pp-neue-machina", sans-serif;
text-transform: uppercase;
border-bottom: 2px solid #949494;
transition: 0.2s ease-in-out;
}
.list-group-item:hover{
padding-left: 7vw;
background-color: #00ffd0 !important;
box-shadow: inset 0vw 0vw 0vw 0.391vw #1a1a1a !important;
color: #1a1a1a !important;
}
.footer-content{
padding-right: 5.580vw;
}
.email-btn{
width: 16%;
border-left: 2px solid #949494;
border-right: none !important;
border-radius: 0px;
font-family: "pp-neue-machina", sans-serif;
text-transform: uppercase;
font-size: 4vw;
}
.email-btn:hover{
background-color: #00ffd0;
color: #1a1a1a;
box-shadow: inset 0vw 0vw 0vw 0.391vw #1a1a1a !important;
}
.social-icon{
margin-right: 2vw !important;
position: relative;
top: 0.167vw;
}
.footer-grid{
width:100%;
}
} }