docs: refactor docs structure

This commit is contained in:
3252a8
2026-05-26 17:26:46 +03:00
parent 804ccdabec
commit 0c167c8f09
54 changed files with 1154 additions and 351 deletions
+49 -1
View File
@@ -1,25 +1,73 @@
@layer starlight, nova, minishop;
@layer minishop {
.site-title {
.site-title,
.site-title span {
color: #00fe7a;
font-weight: 760;
}
.site-title:hover,
.site-title:hover span {
color: #00fe7a;
}
.hero {
gap: clamp(2rem, 6vw, 5rem);
padding-block: clamp(3.5rem, 10vw, 6.5rem);
}
.hero > .hero-html:has(.minishop-hero-screenshot) {
width: min(96vw, 72rem);
max-width: none;
}
.hero img {
border: 1px solid var(--sl-color-gray-5);
border-radius: 10px;
box-shadow: 0 24px 70px rgb(15 23 42 / 18%);
}
.minishop-hero-screenshot {
display: block;
width: 100%;
max-width: none;
height: auto;
}
:root[data-theme='dark'] .hero img {
box-shadow: 0 24px 70px rgb(0 0 0 / 36%);
}
@media (min-width: 50rem) {
.hero:has(.minishop-hero-screenshot) {
grid-template-columns: minmax(0, 1fr);
gap: clamp(2rem, 4vw, 4rem);
align-items: center;
}
.hero > .hero-html:has(.minishop-hero-screenshot) {
order: 2;
width: min(100%, 90rem);
margin-inline: auto;
}
.hero:has(.minishop-hero-screenshot) .stack {
align-items: center;
max-width: 64rem;
margin-inline: auto;
text-align: center;
}
.hero:has(.minishop-hero-screenshot) .copy {
align-items: center;
}
.hero:has(.minishop-hero-screenshot) .actions {
justify-content: center;
}
}
.sl-markdown-content :is(h2, h3) {
letter-spacing: 0;
}