mirror of
https://github.com/monero-project/monero-site.git
synced 2025-01-22 10:44:44 +00:00
custom.css: avoid fixed page header overlapping in-page anchors on mobile
This commit is contained in:
parent
5c3d19eb54
commit
a3e6f2d5b8
1 changed files with 8 additions and 0 deletions
|
@ -2443,6 +2443,14 @@ label[for="mobile-burger"] {
|
|||
background-color: #f5f5f5;
|
||||
}
|
||||
|
||||
/*Avoid fixed page header overlapping in-page anchors on mobile*/
|
||||
:target::before {
|
||||
content: "";
|
||||
display: block;
|
||||
height: 80px;
|
||||
margin: -60px 0 0;
|
||||
}
|
||||
|
||||
#drop1:checked ~ .dropdown-content, #drop2:checked ~ .dropdown-content, #drop3:checked ~ .dropdown-content, #drop4:checked ~ .dropdown-content {
|
||||
background-color: #fcfcfc;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue