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> <style>
.btn-primary{ .btn-primary{
padding: 44px 75px; padding: 2.455vw 4.185vw;
border-radius: 0px !important; border-radius: 0px !important;
font-family: "pp-neue-machina", sans-serif; font-family: "pp-neue-machina", sans-serif;
text-transform: uppercase; text-transform: uppercase;
@ -23,14 +23,14 @@
border-bottom-color:#00ffd0; border-bottom-color:#00ffd0;
border-left-color:#00ffd0; border-left-color:#00ffd0;
border-right-color:#00ffd0; border-right-color:#00ffd0;
box-shadow: inset 0px 0px 0px 10px #1a1a1a !important; box-shadow: inset 0vw 0vw 0vw 0.558vw #1a1a1a !important;
padding: 44px 100px; padding: 2.455vw 5.580vw;
border-top-color:#1a1a1a; border-top-color:#1a1a1a;
border-bottom-color: #1a1a1a; border-bottom-color: #1a1a1a;
} }
.button-container{ .button-container{
padding: 0px 160px; padding: 0vw 8.929vw;
} }
/* Icon Styling */ /* Icon Styling */
@ -38,7 +38,7 @@
.btn-primary .icon-enter-arrow{ .btn-primary .icon-enter-arrow{
display: inline-block; display: inline-block;
position: relaitve; position: relaitve;
margin-right: 10px; margin-right: 0.558vw;
transition: 0.2s linear; transition: 0.2s linear;
} }
@ -51,6 +51,6 @@
<hr> <hr>
<div class="row button-container"> <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> </div>
<hr> <hr>

View file

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