mirror of
https://github.com/revanced/revanced-website.git
synced 2025-05-10 19:34:25 +02:00
fix: Improve layout CSS
This commit is contained in:
parent
54a0dd7350
commit
008358975b
@ -28,10 +28,6 @@
|
|||||||
margin-bottom: 2rem;
|
margin-bottom: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hero {
|
|
||||||
padding-bottom: 9rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hero-text {
|
.hero-text {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
@ -202,17 +202,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#nav-container {
|
#nav-container {
|
||||||
|
top: 0;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
z-index: 666;
|
z-index: 666;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
&:has(.nav-buttons > li:first-child.selected) {
|
|
||||||
margin-bottom: 2.65rem;
|
|
||||||
|
|
||||||
&:has(.banner) {
|
|
||||||
margin-bottom: 1.5rem;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
nav {
|
nav {
|
||||||
|
@ -152,6 +152,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
main {
|
main {
|
||||||
|
padding-block: 2rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 1.5rem;
|
gap: 1.5rem;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user