mirror of
https://github.com/PretendoNetwork/website.git
synced 2026-04-26 10:04:25 -05:00
Fixed unclickable buttons & header when small widths
The buttons and the header became unclickable as a result of being covered by the <div class="deco">
This commit is contained in:
parent
daa2388dc9
commit
69107f7e0f
|
|
@ -60,8 +60,10 @@ h1.dot[data-title-suffix]:after, h2.dot[data-title-suffix]:after {
|
||||||
|
|
||||||
header {
|
header {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
position: relative;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-top: 35px;
|
margin-top: 35px;
|
||||||
|
z-index: 6;
|
||||||
}
|
}
|
||||||
header nav a:first-child {
|
header nav a:first-child {
|
||||||
margin-left: 40px;
|
margin-left: 40px;
|
||||||
|
|
@ -167,6 +169,7 @@ header nav a {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
}
|
}
|
||||||
.hero .buttons a {
|
.hero .buttons a {
|
||||||
display: block;
|
display: block;
|
||||||
|
|
@ -175,6 +178,7 @@ header nav a {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
.button {
|
.button {
|
||||||
|
position: relative;
|
||||||
appearance: none;
|
appearance: none;
|
||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
border: 0;
|
border: 0;
|
||||||
|
|
@ -182,6 +186,7 @@ header nav a {
|
||||||
font-family: Poppins;
|
font-family: Poppins;
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
color: var(--text);
|
color: var(--text);
|
||||||
|
z-index: 6;
|
||||||
}
|
}
|
||||||
.button.primary {
|
.button.primary {
|
||||||
padding: 12px 48px;
|
padding: 12px 48px;
|
||||||
|
|
@ -551,4 +556,4 @@ footer {
|
||||||
margin-top: 100px;
|
margin-top: 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user