fix: Improve layout CSS

This commit is contained in:
PalmDevs 2025-05-04 22:36:29 +07:00 committed by Ushie
parent 54a0dd7350
commit 008358975b
3 changed files with 2 additions and 12 deletions

View File

@ -28,10 +28,6 @@
margin-bottom: 2rem;
}
.hero {
padding-bottom: 9rem;
}
.hero-text {
align-items: center;
}

View File

@ -202,17 +202,10 @@
}
#nav-container {
top: 0;
position: sticky;
z-index: 666;
width: 100%;
&:has(.nav-buttons > li:first-child.selected) {
margin-bottom: 2.65rem;
&:has(.banner) {
margin-bottom: 1.5rem;
}
}
}
nav {

View File

@ -152,6 +152,7 @@
}
}
main {
padding-block: 2rem;
display: flex;
flex-direction: column;
gap: 1.5rem;