mirror of
https://github.com/ivabus/www
synced 2024-11-10 12:35:15 +03:00
Working on floating button resposivity
This commit is contained in:
parent
013b37c1f6
commit
61255a6034
|
@ -1,4 +1,9 @@
|
|||
<style>
|
||||
|
||||
/* Breakpoints for re-use*/
|
||||
|
||||
@media only screen and (min-width: 1200px) {
|
||||
|
||||
.gf-container {
|
||||
width: 8vw;
|
||||
height: 8vw;
|
||||
|
@ -29,6 +34,144 @@
|
|||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 992px) and (max-width: 1200px) {
|
||||
|
||||
.gf-container {
|
||||
width: 8.333vw;
|
||||
height: 8.333vw;
|
||||
border-radius: 100px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
position: fixed;
|
||||
text-align:center;
|
||||
padding-top: 3vw;
|
||||
font-size: 1.562vw;
|
||||
background-color: #1a1a1a !important;
|
||||
border: 2px solid #949494;
|
||||
color: #ffffff;
|
||||
text-decoration: none;
|
||||
font-family: "pp-neue-machina", sans-serif;
|
||||
text-transform: uppercase;
|
||||
right: 15px;
|
||||
top: 6.5vw;
|
||||
cursor: pointer;
|
||||
z-index: 3;
|
||||
transition: 0.2s ease-in-out;
|
||||
}
|
||||
|
||||
.gf-container:hover {
|
||||
color:#1a1a1a;
|
||||
box-shadow: inset 0vw 0vw 0vw 0.358vw #1a1a1a !important;
|
||||
background-color: #00ffd0 !important;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 768px) and (max-width: 992px) {
|
||||
|
||||
.gf-container {
|
||||
width: 8vw;
|
||||
height: 8vw;
|
||||
border-radius: 100px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
position: fixed;
|
||||
text-align:center;
|
||||
padding-top: 3vw;
|
||||
font-size: 1.562vw;
|
||||
background-color: #1a1a1a !important;
|
||||
border: 2px solid #949494;
|
||||
color: #ffffff;
|
||||
text-decoration: none;
|
||||
font-family: "pp-neue-machina", sans-serif;
|
||||
text-transform: uppercase;
|
||||
right: 15px;
|
||||
top: 5.3vw;
|
||||
cursor: pointer;
|
||||
z-index: 3;
|
||||
transition: 0.2s ease-in-out;
|
||||
}
|
||||
|
||||
.gf-container:hover {
|
||||
color:#1a1a1a;
|
||||
box-shadow: inset 0vw 0vw 0vw 0.358vw #1a1a1a !important;
|
||||
background-color: #00ffd0 !important;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 576px) and (max-width: 768px) {
|
||||
|
||||
.gf-container {
|
||||
width: 8vw;
|
||||
height: 8vw;
|
||||
border-radius: 100px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
position: fixed;
|
||||
text-align:center;
|
||||
padding-top: 3vw;
|
||||
font-size: 1.562vw;
|
||||
background-color: #1a1a1a !important;
|
||||
border: 2px solid #949494;
|
||||
color: #ffffff;
|
||||
text-decoration: none;
|
||||
font-family: "pp-neue-machina", sans-serif;
|
||||
text-transform: uppercase;
|
||||
right: 15px;
|
||||
top: 5.3vw;
|
||||
cursor: pointer;
|
||||
z-index: 3;
|
||||
transition: 0.2s ease-in-out;
|
||||
}
|
||||
|
||||
.gf-container:hover {
|
||||
color:#1a1a1a;
|
||||
box-shadow: inset 0vw 0vw 0vw 0.358vw #1a1a1a !important;
|
||||
background-color: #00ffd0 !important;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 576px) {
|
||||
|
||||
.gf-container {
|
||||
width: 15vw;
|
||||
height: 15vw;
|
||||
border-radius: 100px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
position: fixed;
|
||||
text-align:center;
|
||||
padding-top: 3vw;
|
||||
font-size: 1.562vw;
|
||||
background-color: #1a1a1a !important;
|
||||
border: 2px solid #949494;
|
||||
color: #ffffff;
|
||||
text-decoration: none;
|
||||
font-family: "pp-neue-machina", sans-serif;
|
||||
text-transform: uppercase;
|
||||
right: 15px;
|
||||
bottom: 5.3vw;
|
||||
cursor: pointer;
|
||||
z-index: 3;
|
||||
transition: 0.2s ease-in-out;
|
||||
}
|
||||
|
||||
.gf-container:hover {
|
||||
color:#1a1a1a;
|
||||
box-shadow: inset 0vw 0vw 0vw 0.358vw #1a1a1a !important;
|
||||
background-color: #00ffd0 !important;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<a href="https://github.com/login/oauth/authorize?client_id=9d1f1a72f1300b6991df&state=teaxyz" class="gf-container" style="background-color:#8EC7BF;">
|
||||
|
|
Loading…
Reference in a new issue