mirror of
https://github.com/ivabus/www
synced 2024-11-23 05:15:06 +03:00
Futher mobile optimization for full-width CTA's
This commit is contained in:
parent
9ff84ffbd8
commit
2b572b8a43
3 changed files with 3 additions and 54 deletions
|
@ -111,7 +111,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{- partial "full-width-discord-cta.html" . -}}
|
||||
{{- partial "full-width-cta.html" . -}}
|
||||
|
||||
<!-- Statistics -->
|
||||
|
||||
|
|
|
@ -1,54 +1,3 @@
|
|||
<style>
|
||||
.btn-primary{
|
||||
padding: 2.455vw 4.185vw;
|
||||
border-radius: 0px !important;
|
||||
font-family: "pp-neue-machina", sans-serif;
|
||||
text-transform: uppercase;
|
||||
font-size: 2.121vw;
|
||||
border-left: 2px solid #949494 !important;
|
||||
border-right: 2px solid #949494 !important;
|
||||
background-color: #1a1a1a !important;
|
||||
outline: none !important;
|
||||
box-shadow: none !important;
|
||||
text-align: left;
|
||||
border-top-color:#1a1a1a;
|
||||
border-bottom-color: #1a1a1a;
|
||||
transition: 0.2s linear;
|
||||
}
|
||||
|
||||
.btn-primary:hover{
|
||||
background-color: #00ffd0 !important;
|
||||
color: #1a1a1a;
|
||||
border-top-color:#00ffd0;
|
||||
border-bottom-color:#00ffd0;
|
||||
border-left-color:#00ffd0;
|
||||
border-right-color:#00ffd0;
|
||||
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: 0vw 8.929vw;
|
||||
}
|
||||
|
||||
/* Icon Styling */
|
||||
|
||||
.btn-primary .icon-enter-arrow{
|
||||
display: inline-block;
|
||||
position: relaitve;
|
||||
margin-right: 0.558vw;
|
||||
transition: 0.2s linear;
|
||||
}
|
||||
|
||||
.btn-primary:hover .icon-enter-arrow{
|
||||
display: inline-block;
|
||||
transform: rotate(-45deg) !important;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<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>Join our Discord<span style="float:right; margin-top:0.837vw;font-size:1vw;"><u id="count1"></u> devs authenticated</span></a>
|
||||
|
|
|
@ -211,11 +211,11 @@
|
|||
@media only screen and (max-width: 576px) {
|
||||
|
||||
.btn-primary{
|
||||
padding: 7.5vw 11.200vw;
|
||||
padding: 7.5vw 11.200vw !important;
|
||||
border-radius: 0px !important;
|
||||
font-family: "pp-neue-machina", sans-serif;
|
||||
text-transform: uppercase;
|
||||
font-size: 4vw;
|
||||
font-size: 4vw !important;
|
||||
border-left: 2px solid #949494 !important;
|
||||
border-right: 2px solid #949494 !important;
|
||||
background-color: #1a1a1a !important;
|
||||
|
|
Loading…
Reference in a new issue