full-width cta: px -> vw

This commit is contained in:
Thomas Smith 2022-09-16 11:37:01 -04:00
parent 6588afc119
commit f91ef42791
2 changed files with 7 additions and 7 deletions

View file

@ -1,6 +1,6 @@
<style>
.btn-primary{
padding: 44px 75px;
padding: 2.455vw 4.185vw;
border-radius: 0px !important;
font-family: "pp-neue-machina", sans-serif;
text-transform: uppercase;
@ -23,14 +23,14 @@
border-bottom-color:#00ffd0;
border-left-color:#00ffd0;
border-right-color:#00ffd0;
box-shadow: inset 0px 0px 0px 10px #1a1a1a !important;
padding: 44px 100px;
box-shadow: inset 0vw 0vw 0vw 0.558vw #1a1a1a !important;
padding: 2.455vw 5.580vw;
border-top-color:#1a1a1a;
border-bottom-color: #1a1a1a;
}
.button-container{
padding: 0px 160px;
padding: 0vw 8.929vw;
}
/* Icon Styling */
@ -38,7 +38,7 @@
.btn-primary .icon-enter-arrow{
display: inline-block;
position: relaitve;
margin-right: 10px;
margin-right: 0.558vw;
transition: 0.2s linear;
}
@ -51,6 +51,6 @@
<hr>
<div class="row button-container">
<a href="#" role="button" class="btn btn-primary auth-btn mt-lg-0 mt-md-0 mt-sm-4 mt-4" id="nav-cta"><i class="icon-enter-arrow"></i>Authenticate with tea<span style="float:right; margin-top:15px;font-size:1.2rem;"><u id="count1"></u> devs authenticated</span></a>
<a href="#" role="button" class="btn btn-primary auth-btn mt-lg-0 mt-md-0 mt-sm-4 mt-4" id="nav-cta"><i class="icon-enter-arrow"></i>Authenticate with tea<span style="float:right; margin-top:0.837vw;font-size:1vw;"><u id="count1"></u> devs authenticated</span></a>
</div>
<hr>

View file

@ -10,7 +10,7 @@ body{
.container{
max-width: 1920px;
padding:20px;
padding:0px;
}
@media only screen and (min-width: 1200px) {