fix frontpage button margins

This commit is contained in:
outfoxxed 2024-11-08 22:49:29 -08:00
parent 564d60f78f
commit 963c07f464
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
2 changed files with 10 additions and 9 deletions

View file

@ -43,7 +43,7 @@
transform: translateX(var(--scroll)); transform: translateX(var(--scroll));
display: flex; display: flex;
justify-content: center; justify-content: center;
padding-inline: 1rem; padding-inline: 0.5rem;
} }
.marquee-item-spacing { .marquee-item-spacing {
@ -120,10 +120,10 @@
} }
#marquee-scroll-left { #marquee-scroll-left {
left: 2rem; left: 1rem;
} }
#marquee-scroll-right { #marquee-scroll-right {
right: 2rem; right: 1rem;
} }
} }

View file

@ -70,16 +70,16 @@ html.dark .main-page_hero-text {
flex-wrap: wrap; flex-wrap: wrap;
justify-content: center; justify-content: center;
z-index: 0; z-index: 0;
max-width: 75%; gap: 0.5rem;
gap: 1rem; width: 100%;
margin: 0 1rem; padding-inline: 0.5rem;
} }
.main-page_links_set { .main-page_links_set {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
width: 100%; width: 100%;
gap: 1rem; gap: 0.5rem;
} }
.main-page_link-card { .main-page_link-card {
@ -90,7 +90,6 @@ html.dark .main-page_hero-text {
justify-content: center; justify-content: center;
align-items: center; align-items: center;
width: 100%; width: 100%;
min-width: 15rem;
height: 3.67rem; height: 3.67rem;
border-radius: 9px; border-radius: 9px;
overflow: hidden; overflow: hidden;
@ -181,8 +180,10 @@ html.dark .main-page_link-card {
} }
} }
@media (min-width: 86rem) { @media (min-width: 68rem) {
.main-page_links { .main-page_links {
flex-wrap: nowrap; flex-wrap: nowrap;
max-width: 78rem;
padding-inline: 1.5rem;
} }
} }