| + |
/* Global styles for the app layout. Only loaded by _layouts/app.html, so it
|
| + |
does not interact with the legacy CSS in common.css / page.css / blog.css /
|
| + |
guide.css. */
|
| + |
|
| + |
:root {
|
| + |
font-family: system-ui, Inter, Helvetica, Arial, sans-serif;
|
| + |
line-height: 1.5;
|
| + |
font-weight: 400;
|
| + |
|
| + |
background-color: var(--color-surface-base);
|
| + |
color: var(--color-text-primary);
|
| + |
|
| + |
font-synthesis: none;
|
| + |
text-rendering: optimizeLegibility;
|
| + |
-webkit-font-smoothing: antialiased;
|
| + |
-moz-osx-font-smoothing: grayscale;
|
| + |
|
| + |
--border-radius-tiny: 2px;
|
| + |
--border-radius-small: 4px;
|
| + |
--border-radius-regular: 8px;
|
| + |
--border-radius-round: 10rem;
|
| + |
|
| + |
--scrollbar-width: 0.5rem;
|
| + |
|
| + |
--button-regular-height: 2.5rem;
|
| + |
--button-small-height: 2rem;
|
| + |
--button-tiny-height: 1.5rem;
|
| + |
|
| + |
--section-gap: 10rem;
|
| + |
}
|
| + |
|
| + |
.app-layout a:-webkit-any-link:not(.button) {
|
| + |
font-weight: 600;
|
| + |
text-decoration: none;
|
| + |
color: var(--color-text-primary);
|
| + |
}
|
| + |
|
| + |
.app-layout a:-webkit-any-link:not(.button):hover {
|
| + |
color: var(--color-text-secondary);
|
| + |
text-decoration: underline;
|
| + |
}
|
| + |
|
| + |
.app-layout a.arrow-link,
|
| + |
.app-layout button.arrow-link {
|
| + |
display: inline-flex;
|
| + |
align-items: center;
|
| + |
gap: 0.2rem;
|
| + |
text-decoration: none;
|
| + |
}
|
| + |
|
| + |
.app-layout a.arrow-link:hover,
|
| + |
.app-layout button.arrow-link:hover {
|
| + |
text-decoration: none;
|
| + |
}
|
| + |
|
| + |
.app-layout a.arrow-link:active,
|
| + |
.app-layout button.arrow-link:active {
|
| + |
filter: brightness(0.85);
|
| + |
}
|
| + |
|
| + |
.link-arrow {
|
| + |
display: inline-block;
|
| + |
transition: transform 0.15s ease;
|
| + |
}
|
| + |
|
| + |
.arrow-link:hover .link-arrow-right {
|
| + |
transform: translateX(0.15rem);
|
| + |
}
|
| + |
|
| + |
.arrow-link:hover .link-arrow-down {
|
| + |
transform: translateY(0.15rem);
|
| + |
}
|
| + |
|
| + |
.arrow-link:hover .link-arrow-up-right {
|
| + |
transform: translate(0.15rem, -0.15rem);
|
| + |
}
|
| + |
|
| + |
/* CSS Reset — scoped so it does not affect legacy pages that share the same
|
| + |
stylesheet bucket via the browser cache. */
|
| + |
|
| + |
.app-layout,
|
| + |
.app-layout *,
|
| + |
.app-layout *::before,
|
| + |
.app-layout *::after {
|
| + |
box-sizing: border-box;
|
| + |
}
|
| + |
|
| + |
.app-layout * {
|
| + |
margin: 0;
|
| + |
}
|
| + |
|
| + |
@media (prefers-reduced-motion: no-preference) {
|
| + |
html:has(.app-layout) {
|
| + |
interpolate-size: allow-keywords;
|
| + |
}
|
| + |
}
|
| + |
|
| + |
body.app-layout {
|
| + |
overscroll-behavior: none;
|
| + |
line-height: 1.5;
|
| + |
-webkit-font-smoothing: antialiased;
|
| + |
}
|
| + |
|
| + |
.app-layout img,
|
| + |
.app-layout picture,
|
| + |
.app-layout video,
|
| + |
.app-layout canvas,
|
| + |
.app-layout svg {
|
| + |
display: block;
|
| + |
max-width: 100%;
|
| + |
}
|
| + |
|
| + |
.app-layout input,
|
| + |
.app-layout button,
|
| + |
.app-layout textarea,
|
| + |
.app-layout select {
|
| + |
font: inherit;
|
| + |
}
|
| + |
|
| + |
.app-layout p,
|
| + |
.app-layout h1,
|
| + |
.app-layout h2,
|
| + |
.app-layout h3,
|
| + |
.app-layout h4,
|
| + |
.app-layout h5,
|
| + |
.app-layout h6 {
|
| + |
overflow-wrap: break-word;
|
| + |
}
|
| + |
|
| + |
.app-layout p {
|
| + |
text-wrap: pretty;
|
| + |
}
|
| + |
|
| + |
.global-flex {
|
| + |
display: flex;
|
| + |
align-items: center;
|
| + |
gap: 0.5rem;
|
| + |
}
|
| + |
|
| + |
/* Shared page styles */
|
| + |
.page-container {
|
| + |
padding: 6rem 1.5rem;
|
| + |
}
|
| + |
|
| + |
.app-layout h1[id],
|
| + |
.app-layout h2[id],
|
| + |
.app-layout h3[id] {
|
| + |
scroll-margin-top: 5rem;
|
| + |
}
|
| + |
|
| + |
.page-header {
|
| + |
margin-bottom: 3rem;
|
| + |
}
|
| + |
|
| + |
.page-label {
|
| + |
text-transform: uppercase;
|
| + |
letter-spacing: 0.1em;
|
| + |
color: var(--color-text-tertiary);
|
| + |
margin-bottom: 0.5rem;
|
| + |
}
|
| + |
|
| + |
.page-title {
|
| + |
margin: 0 0 0.5rem;
|
| + |
}
|
| + |
|
| + |
.page-subtitle {
|
| + |
color: var(--color-text-secondary);
|
| + |
margin: 0;
|
| + |
}
|
| + |
|
| + |
/* Card list styles */
|
| + |
.card-list {
|
| + |
list-style: none;
|
| + |
padding: 0;
|
| + |
display: flex;
|
| + |
flex-direction: column;
|
| + |
gap: 1rem;
|
| + |
}
|
| + |
|
| + |
.card-link {
|
| + |
display: block;
|
| + |
padding: 1.5rem;
|
| + |
border: 1px solid var(--color-border-subtle);
|
| + |
border-radius: var(--border-radius-small);
|
| + |
text-decoration: none;
|
| + |
color: inherit;
|
| + |
transition: border-color 0.2s;
|
| + |
}
|
| + |
|
| + |
.card-link:hover {
|
| + |
border-color: var(--color-brand-hover);
|
| + |
text-decoration: none;
|
| + |
}
|
| + |
|
| + |
.card-link strong {
|
| + |
display: block;
|
| + |
color: var(--color-text-primary);
|
| + |
margin-bottom: 0.25rem;
|
| + |
}
|
| + |
|
| + |
.card-link span {
|
| + |
color: var(--color-text-secondary);
|
| + |
}
|
| + |
|
| + |
/* Shared styles for releases and updates listing pages */
|
| + |
.updates-feed {
|
| + |
display: flex;
|
| + |
flex-direction: column;
|
| + |
gap: 0;
|
| + |
max-width: 48rem;
|
| + |
}
|
| + |
|
| + |
.updates-feed .card-link {
|
| + |
border: none;
|
| + |
padding: 0 0 var(--section-gap);
|
| + |
border-radius: 0;
|
| + |
transition: opacity 0.15s ease;
|
| + |
}
|
| + |
|
| + |
.updates-feed article:last-child .card-link {
|
| + |
padding-bottom: 0;
|
| + |
}
|
| + |
|
| + |
.updates-feed:has(.card-link:hover) .card-link {
|
| + |
opacity: 0.6;
|
| + |
}
|
| + |
|
| + |
.updates-feed:has(.card-link:hover) .card-link:hover {
|
| + |
opacity: 1;
|
| + |
}
|
| + |
|
| + |
.updates-feed .title {
|
| + |
margin: 0;
|
| + |
line-height: 1.15;
|
| + |
}
|
| + |
|
| + |
.updates-feed .date {
|
| + |
display: block;
|
| + |
margin-top: 1rem;
|
| + |
color: var(--color-text-tertiary);
|
| + |
}
|
| + |
|
| + |
.updates-feed .subtitle {
|
| + |
margin: 1rem 0 0;
|
| + |
color: var(--color-text-secondary);
|
| + |
max-width: 60ch;
|
| + |
}
|
| + |
|
| + |
/* Shared markdown/prose styles — single source of truth for all rendered
|
| + |
markdown inside the app layout. */
|
| + |
.markdown-content {
|
| + |
max-width: 48rem;
|
| + |
font-weight: 468;
|
| + |
line-height: 1.7;
|
| + |
position: relative;
|
| + |
}
|
| + |
|
| + |
.markdown-content aside {
|
| + |
position: absolute;
|
| + |
left: 100%;
|
| + |
margin-left: 2rem;
|
| + |
width: 16rem;
|
| + |
font: var(--txt-medium-14);
|
| + |
line-height: 1.6;
|
| + |
color: var(--color-text-tertiary);
|
| + |
background: none !important;
|
| + |
}
|
| + |
|
| + |
.markdown-content aside p {
|
| + |
font: var(--txt-medium-14);
|
| + |
line-height: 1.6;
|
| + |
}
|
| + |
|
| + |
.guide-hero {
|
| + |
height: 20rem;
|
| + |
object-fit: cover;
|
| + |
border-radius: var(--border-radius-small);
|
| + |
margin-bottom: 2rem;
|
| + |
}
|
| + |
|
| + |
.guides-markdown .markdown-content {
|
| + |
max-width: min(66rem, 100%);
|
| + |
}
|
| + |
|
| + |
.guides-markdown .markdown-content > :not(aside) {
|
| + |
max-width: none;
|
| + |
width: min(42rem, calc(100% - clamp(15rem, 26vw, 20rem) - 2rem));
|
| + |
}
|
| + |
|
| + |
.guides-markdown .markdown-content aside {
|
| + |
position: static;
|
| + |
float: right;
|
| + |
clear: right;
|
| + |
margin-left: 0;
|
| + |
margin-right: 0;
|
| + |
margin-bottom: 1rem;
|
| + |
margin-inline-start: 0;
|
| + |
width: clamp(15rem, 26vw, 20rem);
|
| + |
font: var(--txt-medium-14);
|
| + |
line-height: 1.6;
|
| + |
color: var(--color-text-tertiary);
|
| + |
background: none !important;
|
| + |
overflow-wrap: anywhere;
|
| + |
word-break: break-word;
|
| + |
}
|
| + |
|
| + |
@media (max-width: 72rem) {
|
| + |
.guides-markdown .markdown-content {
|
| + |
max-width: min(62rem, 100%);
|
| + |
}
|
| + |
|
| + |
.guides-markdown .markdown-content > :not(aside) {
|
| + |
width: min(38rem, calc(100% - clamp(13.5rem, 30vw, 17rem) - 1.25rem));
|
| + |
}
|
| + |
|
| + |
.guides-markdown .markdown-content aside {
|
| + |
width: clamp(13.5rem, 30vw, 17rem);
|
| + |
margin-inline-start: 1.25rem;
|
| + |
}
|
| + |
}
|
| + |
|
| + |
@media (max-width: 56rem) {
|
| + |
.guides-markdown .markdown-content > :not(aside) {
|
| + |
width: min(36rem, calc(100% - clamp(12rem, 32vw, 15rem) - 1rem));
|
| + |
}
|
| + |
|
| + |
.guides-markdown .markdown-content aside {
|
| + |
width: clamp(12rem, 32vw, 15rem);
|
| + |
margin-inline-start: 1rem;
|
| + |
}
|
| + |
}
|
| + |
|
| + |
@media (max-width: 44rem) {
|
| + |
.guides-markdown .markdown-content {
|
| + |
max-width: 48rem;
|
| + |
}
|
| + |
|
| + |
.guides-markdown .markdown-content > :not(aside) {
|
| + |
max-width: 100%;
|
| + |
width: 100%;
|
| + |
}
|
| + |
|
| + |
.guides-markdown .markdown-content aside {
|
| + |
float: none;
|
| + |
clear: none;
|
| + |
width: auto;
|
| + |
margin: 1rem 0;
|
| + |
padding: 0.75rem 1rem;
|
| + |
background: var(--color-surface-subtle) !important;
|
| + |
overflow-wrap: anywhere;
|
| + |
}
|
| + |
|
| + |
.guides-markdown .markdown-content aside p {
|
| + |
margin: 0;
|
| + |
}
|
| + |
}
|
| + |
|
| + |
.markdown-content h1 {
|
| + |
font: var(--txt-bold-32);
|
| + |
letter-spacing: -0.02em;
|
| + |
margin-bottom: 0.5rem;
|
| + |
}
|
| + |
|
| + |
.markdown-content h2 {
|
| + |
font: var(--txt-bold-24);
|
| + |
margin-top: 2.5rem;
|
| + |
margin-bottom: 1rem;
|
| + |
}
|
| + |
|
| + |
.markdown-content h3 {
|
| + |
font: var(--txt-bold-18);
|
| + |
margin-top: 2rem;
|
| + |
margin-bottom: 0.75rem;
|
| + |
}
|
| + |
|
| + |
.markdown-content h4 {
|
| + |
font: var(--txt-bold-16);
|
| + |
margin-top: 1.5rem;
|
| + |
margin-bottom: 0.5rem;
|
| + |
}
|
| + |
|
| + |
.markdown-content p {
|
| + |
font: var(--txt-medium-16);
|
| + |
line-height: 1.7;
|
| + |
margin-bottom: 1rem;
|
| + |
}
|
| + |
|
| + |
.markdown-content ul,
|
| + |
.markdown-content ol {
|
| + |
font: var(--txt-medium-16);
|
| + |
line-height: 1.7;
|
| + |
padding-left: 1.5rem;
|
| + |
margin-bottom: 1rem;
|
| + |
}
|
| + |
|
| + |
.markdown-content li {
|
| + |
margin-bottom: 0.5rem;
|
| + |
}
|
| + |
|
| + |
.markdown-content strong {
|
| + |
font-weight: 600;
|
| + |
}
|
| + |
|
| + |
.markdown-content code {
|
| + |
font-family: "JetBrains Mono", monospace;
|
| + |
font-size: 0.9em;
|
| + |
background: var(--color-surface-subtle);
|
| + |
padding: 0.125rem 0.375rem;
|
| + |
border-radius: var(--border-radius-tiny);
|
| + |
}
|
| + |
|
| + |
.markdown-content pre {
|
| + |
padding: 0.5rem 0.75rem;
|
| + |
border-radius: var(--border-radius-tiny);
|
| + |
overflow-x: auto;
|
| + |
background: var(--color-surface-subtle) !important;
|
| + |
margin-bottom: 1rem;
|
| + |
}
|
| + |
|
| + |
.markdown-content pre code {
|
| + |
font-family: "JetBrains Mono", monospace;
|
| + |
font-weight: 500;
|
| + |
font-size: 0.875rem;
|
| + |
line-height: 1.25rem;
|
| + |
background: none;
|
| + |
padding: 0;
|
| + |
}
|
| + |
|
| + |
.copy-code-button {
|
| + |
position: absolute;
|
| + |
top: 0.5rem;
|
| + |
right: 0.5rem;
|
| + |
display: flex;
|
| + |
justify-content: center;
|
| + |
align-items: center;
|
| + |
padding: 0.25rem;
|
| + |
background: none;
|
| + |
border: none;
|
| + |
border-radius: 0.125rem;
|
| + |
cursor: pointer;
|
| + |
opacity: 0;
|
| + |
transition: opacity 0.15s;
|
| + |
}
|
| + |
|
| + |
.markdown-content pre:hover .copy-code-button {
|
| + |
opacity: 1;
|
| + |
}
|
| + |
|
| + |
.copy-code-button:hover {
|
| + |
background: var(--color-surface-subtle);
|
| + |
}
|
| + |
|
| + |
.markdown-content a {
|
| + |
color: var(--color-brand-hover);
|
| + |
}
|
| + |
|
| + |
.markdown-content blockquote {
|
| + |
border-left: 3px solid var(--color-border-mid);
|
| + |
padding-left: 1rem;
|
| + |
margin: 1rem 0;
|
| + |
color: var(--color-text-secondary);
|
| + |
}
|
| + |
|
| + |
.markdown-content table {
|
| + |
border-collapse: collapse;
|
| + |
margin-bottom: 1rem;
|
| + |
width: 100%;
|
| + |
}
|
| + |
|
| + |
.markdown-content th,
|
| + |
.markdown-content td {
|
| + |
font: var(--txt-medium-14);
|
| + |
line-height: 1.5;
|
| + |
padding: 0.5rem 0.75rem;
|
| + |
border: 1px solid var(--color-border-subtle);
|
| + |
text-align: left;
|
| + |
}
|
| + |
|
| + |
.markdown-content th {
|
| + |
font: var(--txt-bold-14);
|
| + |
background: var(--color-surface-subtle);
|
| + |
}
|
| + |
|
| + |
.markdown-content hr {
|
| + |
border: none;
|
| + |
border-top: 1px solid var(--color-border-subtle);
|
| + |
margin: 2rem 0;
|
| + |
}
|
| + |
|
| + |
.markdown-content figure {
|
| + |
margin: 2rem 0;
|
| + |
}
|
| + |
|
| + |
.markdown-content figure img {
|
| + |
max-width: 100%;
|
| + |
height: auto;
|
| + |
}
|
| + |
|
| + |
.markdown-content figcaption {
|
| + |
font: var(--txt-medium-14);
|
| + |
color: var(--color-text-tertiary);
|
| + |
margin-top: 0.75rem;
|
| + |
}
|
| + |
|
| + |
/* Inline link styles */
|
| + |
.inline-link {
|
| + |
color: var(--color-brand-hover);
|
| + |
text-decoration: none;
|
| + |
}
|
| + |
|
| + |
.inline-link:hover {
|
| + |
text-decoration: underline;
|
| + |
}
|
| + |
|
| + |
/* Buttons (port of the Svelte Button component). */
|
| + |
.app-layout .button {
|
| + |
display: inline-flex;
|
| + |
flex-direction: row;
|
| + |
justify-content: center;
|
| + |
align-items: center;
|
| + |
padding: 0.375rem 0.75rem;
|
| + |
gap: 0.5rem;
|
| + |
height: var(--button-small-height);
|
| + |
border-radius: var(--border-radius-tiny);
|
| + |
border: none;
|
| + |
cursor: pointer;
|
| + |
text-decoration: none;
|
| + |
font: var(--txt-bold-14);
|
| + |
text-align: center;
|
| + |
}
|
| + |
|
| + |
.app-layout .button:hover {
|
| + |
text-decoration: none;
|
| + |
}
|
| + |
|
| + |
.app-layout .button.primary {
|
| + |
background: var(--color-text-primary);
|
| + |
color: var(--color-surface-base);
|
| + |
}
|
| + |
|
| + |
.app-layout .button.primary:hover {
|
| + |
opacity: 0.9;
|
| + |
color: var(--color-surface-base);
|
| + |
}
|
| + |
|
| + |
.app-layout .button.secondary {
|
| + |
background: var(--color-surface-subtle);
|
| + |
color: var(--color-text-primary);
|
| + |
}
|
| + |
|
| + |
.app-layout .button.secondary:hover {
|
| + |
background: var(--color-surface-mid);
|
| + |
color: var(--color-text-primary);
|
| + |
}
|
| + |
|
| + |
/* App shell layout (grid: header / sidebar + main). */
|
| + |
.app-shell {
|
| + |
display: grid;
|
| + |
grid-template-columns: 18rem 1fr;
|
| + |
grid-template-rows: 4rem 1fr;
|
| + |
grid-template-areas:
|
| + |
"header header"
|
| + |
"sidebar main";
|
| + |
max-width: 90rem;
|
| + |
margin: 0 auto;
|
| + |
}
|
| + |
|
| + |
.app-shell .topbar {
|
| + |
grid-area: header;
|
| + |
position: sticky;
|
| + |
top: 0;
|
| + |
z-index: 10;
|
| + |
background: var(--color-surface-base);
|
| + |
}
|
| + |
|
| + |
.app-shell .sidebar {
|
| + |
grid-area: sidebar;
|
| + |
position: sticky;
|
| + |
top: 4rem;
|
| + |
height: calc(100vh - 4rem);
|
| + |
}
|
| + |
|
| + |
.app-shell .main-content {
|
| + |
grid-area: main;
|
| + |
display: flex;
|
| + |
flex-direction: column;
|
| + |
min-height: 0;
|
| + |
min-width: 0;
|
| + |
}
|
| + |
|
| + |
@media (max-width: 80rem) {
|
| + |
.app-shell {
|
| + |
grid-template-columns: 14rem 1fr;
|
| + |
}
|
| + |
}
|
| + |
|
| + |
@media (max-width: 56rem) {
|
| + |
.app-shell {
|
| + |
grid-template-columns: 1fr;
|
| + |
grid-template-rows: 4rem 1fr;
|
| + |
grid-template-areas:
|
| + |
"header"
|
| + |
"main";
|
| + |
}
|
| + |
|
| + |
.app-shell .sidebar {
|
| + |
display: none;
|
| + |
}
|
| + |
}
|
| + |
|
| + |
/* Topbar styles (port of TopBar.svelte). */
|
| + |
.app-shell .topbar {
|
| + |
height: 4rem;
|
| + |
display: grid;
|
| + |
grid-template-columns: 16.5rem 1fr auto;
|
| + |
align-items: center;
|
| + |
padding: 1rem 1.5rem;
|
| + |
z-index: 100;
|
| + |
}
|
| + |
|
| + |
.app-shell .topbar .logo {
|
| + |
display: flex;
|
| + |
align-items: center;
|
| + |
color: var(--color-text-primary);
|
| + |
}
|
| + |
|
| + |
.app-shell .topbar .logo svg {
|
| + |
height: 1rem;
|
| + |
width: auto;
|
| + |
}
|
| + |
|
| + |
.app-shell .topbar .spacer {
|
| + |
min-width: 0;
|
| + |
}
|
| + |
|
| + |
.app-shell .topbar .mobile-menu-button {
|
| + |
display: none;
|
| + |
width: 2.5rem;
|
| + |
height: 2.5rem;
|
| + |
align-items: center;
|
| + |
justify-content: center;
|
| + |
border: none;
|
| + |
border-radius: var(--border-radius-small);
|
| + |
background: var(--color-surface-mid);
|
| + |
color: var(--color-text-primary);
|
| + |
cursor: pointer;
|
| + |
}
|
| + |
|
| + |
.app-shell .topbar .mobile-menu-button:hover {
|
| + |
opacity: 0.85;
|
| + |
}
|
| + |
|
| + |
.mobile-menu-icon {
|
| + |
display: block;
|
| + |
overflow: visible;
|
| + |
transition: transform 0.2s ease;
|
| + |
transform-origin: center;
|
| + |
}
|
| + |
|
| + |
.mobile-menu-icon circle {
|
| + |
transition: transform 0.2s ease;
|
| + |
}
|
| + |
|
| + |
.mobile-menu-icon.open {
|
| + |
transform: rotate(45deg);
|
| + |
}
|
| + |
|
| + |
.mobile-menu-icon.open .dot-left {
|
| + |
transform: translateX(-1px);
|
| + |
}
|
| + |
|
| + |
.mobile-menu-icon.open .dot-right {
|
| + |
transform: translateX(1px);
|
| + |
}
|
| + |
|
| + |
.mobile-menu-icon.open .dot-top {
|
| + |
transform: translateY(-1px);
|
| + |
}
|
| + |
|
| + |
.mobile-menu-icon.open .dot-bottom {
|
| + |
transform: translateY(1px);
|
| + |
}
|
| + |
|
| + |
.mobile-nav-overlay {
|
| + |
display: none;
|
| + |
position: fixed;
|
| + |
top: 4rem;
|
| + |
right: 0;
|
| + |
bottom: 0;
|
| + |
left: 0;
|
| + |
z-index: 90;
|
| + |
background: var(--color-surface-base);
|
| + |
padding: 1.5rem;
|
| + |
overflow-y: auto;
|
| + |
}
|
| + |
|
| + |
.mobile-nav-overlay.open {
|
| + |
display: block;
|
| + |
}
|
| + |
|
| + |
.mobile-nav-content {
|
| + |
min-height: calc(100dvh - 7rem);
|
| + |
display: flex;
|
| + |
flex-direction: column;
|
| + |
justify-content: space-between;
|
| + |
gap: 2rem;
|
| + |
}
|
| + |
|
| + |
.mobile-nav-main {
|
| + |
display: flex;
|
| + |
flex-direction: column;
|
| + |
gap: 1.5rem;
|
| + |
list-style: none;
|
| + |
padding: 0;
|
| + |
margin: 0;
|
| + |
}
|
| + |
|
| + |
.mobile-nav-card {
|
| + |
width: 100%;
|
| + |
display: grid;
|
| + |
grid-template-columns: 1fr 5.5rem;
|
| + |
align-items: center;
|
| + |
gap: 1rem;
|
| + |
padding: 1rem;
|
| + |
border-radius: var(--border-radius-small);
|
| + |
color: var(--color-text-primary);
|
| + |
text-decoration: none;
|
| + |
background: var(--color-surface-subtle);
|
| + |
min-height: 7.5rem;
|
| + |
}
|
| + |
|
| + |
.mobile-nav-card:hover {
|
| + |
opacity: 0.92;
|
| + |
}
|
| + |
|
| + |
.mobile-nav-card.install {
|
| + |
background: var(--color-accent-green-500);
|
| + |
color: var(--color-neutrals-opaque-light-900);
|
| + |
}
|
| + |
|
| + |
.mobile-nav-card.learn {
|
| + |
background: var(--color-accent-purple-500);
|
| + |
color: var(--color-text-on-brand);
|
| + |
}
|
| + |
|
| + |
.mobile-nav-card.explore {
|
| + |
background: var(--color-accent-blue-500);
|
| + |
color: var(--color-text-on-brand);
|
| + |
}
|
| + |
|
| + |
.mobile-nav-card.garden {
|
| + |
background: var(--color-accent-citrus-500);
|
| + |
color: var(--color-neutrals-opaque-light-900);
|
| + |
}
|
| + |
|
| + |
.mobile-nav-text {
|
| + |
display: flex;
|
| + |
flex-direction: column;
|
| + |
gap: 0.375rem;
|
| + |
}
|
| + |
|
| + |
.mobile-nav-title {
|
| + |
font: var(--txt-bold-16);
|
| + |
line-height: 1.05;
|
| + |
letter-spacing: -0.02em;
|
| + |
}
|
| + |
|
| + |
.mobile-nav-description {
|
| + |
font: var(--txt-medium-16);
|
| + |
line-height: 1.3;
|
| + |
}
|
| + |
|
| + |
.mobile-nav-thumb {
|
| + |
width: 5.5rem;
|
| + |
height: 5.5rem;
|
| + |
border-radius: var(--border-radius-tiny);
|
| + |
background-size: cover;
|
| + |
background-position: center;
|
| + |
}
|
| + |
|
| + |
@media (max-width: 56rem) {
|
| + |
.app-shell .topbar {
|
| + |
grid-template-columns: 1fr auto;
|
| + |
}
|
| + |
|
| + |
.app-shell .topbar .spacer {
|
| + |
display: none;
|
| + |
}
|
| + |
|
| + |
.app-shell .topbar .button {
|
| + |
display: none;
|
| + |
}
|
| + |
|
| + |
.app-shell .topbar .mobile-menu-button {
|
| + |
display: inline-flex;
|
| + |
}
|
| + |
}
|
| + |
|
| + |
body.app-layout:has(.mobile-nav-overlay.open) {
|
| + |
overflow: hidden;
|
| + |
}
|
| + |
|
| + |
/* Sidebar styles (port of Sidebar.svelte). */
|
| + |
.app-shell .sidebar {
|
| + |
display: flex;
|
| + |
flex-direction: column;
|
| + |
justify-content: space-between;
|
| + |
padding: 6rem 1.5rem 1.5rem 1.5rem;
|
| + |
gap: 1rem;
|
| + |
overflow-y: auto;
|
| + |
}
|
| + |
|
| + |
.sidebar .top-section {
|
| + |
display: flex;
|
| + |
flex-direction: column;
|
| + |
gap: 1.5rem;
|
| + |
}
|
| + |
|
| + |
.sidebar .nav-section {
|
| + |
display: flex;
|
| + |
flex-direction: column;
|
| + |
gap: 0.5rem;
|
| + |
}
|
| + |
|
| + |
.sidebar .section-header {
|
| + |
font: var(--txt-bold-16);
|
| + |
letter-spacing: -0.005em;
|
| + |
color: var(--color-text-tertiary);
|
| + |
text-decoration: none;
|
| + |
position: relative;
|
| + |
}
|
| + |
|
| + |
.sidebar .section-header:hover {
|
| + |
color: var(--color-text-secondary);
|
| + |
}
|
| + |
|
| + |
.sidebar .section-header.active {
|
| + |
color: var(--color-text-primary);
|
| + |
}
|
| + |
|
| + |
.sidebar .nav-links {
|
| + |
display: flex;
|
| + |
flex-direction: column;
|
| + |
gap: 0.5rem;
|
| + |
}
|
| + |
|
| + |
.sidebar .nav-link {
|
| + |
font: var(--txt-bold-16);
|
| + |
letter-spacing: -0.005em;
|
| + |
color: var(--color-text-tertiary);
|
| + |
text-decoration: none;
|
| + |
padding-left: 0.5rem;
|
| + |
position: relative;
|
| + |
}
|
| + |
|
| + |
.sidebar .nav-link:hover {
|
| + |
color: var(--color-text-secondary);
|
| + |
}
|
| + |
|
| + |
.sidebar .nav-link.active {
|
| + |
color: var(--color-text-primary);
|
| + |
}
|
| + |
|
| + |
.sidebar .nav-link .dot {
|
| + |
left: calc(0.5rem - 0.75rem);
|
| + |
}
|
| + |
|
| + |
.sidebar .external-links {
|
| + |
display: flex;
|
| + |
flex-direction: column;
|
| + |
gap: 1.5rem;
|
| + |
}
|
| + |
|
| + |
.sidebar .external-link {
|
| + |
font: var(--txt-bold-16);
|
| + |
letter-spacing: -0.005em;
|
| + |
color: var(--color-text-tertiary);
|
| + |
text-decoration: none;
|
| + |
}
|
| + |
|
| + |
.sidebar .external-link:hover {
|
| + |
color: var(--color-text-secondary);
|
| + |
}
|
| + |
|
| + |
.sidebar .bottom-section {
|
| + |
display: flex;
|
| + |
flex-direction: column;
|
| + |
gap: 1rem;
|
| + |
}
|
| + |
|
| + |
.sidebar .bottom-link {
|
| + |
font: var(--txt-bold-16);
|
| + |
letter-spacing: -0.005em;
|
| + |
color: var(--color-text-tertiary);
|
| + |
text-decoration: none;
|
| + |
position: relative;
|
| + |
}
|
| + |
|
| + |
.sidebar .bottom-link:hover {
|
| + |
color: var(--color-text-secondary);
|
| + |
}
|
| + |
|
| + |
.sidebar .bottom-link.active {
|
| + |
color: var(--color-text-primary);
|
| + |
}
|
| + |
|
| + |
.sidebar .dot {
|
| + |
width: 5px;
|
| + |
height: 5px;
|
| + |
border-radius: 50%;
|
| + |
background-color: var(--color-accent-blue-500);
|
| + |
position: absolute;
|
| + |
left: -0.75rem;
|
| + |
top: 50%;
|
| + |
transform: translateY(-50%);
|
| + |
}
|
| + |
|
| + |
/* Footer styles (port of Footer.svelte). */
|
| + |
.app-footer {
|
| + |
display: flex;
|
| + |
flex-direction: column;
|
| + |
padding: 6rem 1.5rem 1rem 1rem;
|
| + |
gap: 6rem;
|
| + |
margin-top: auto;
|
| + |
background: var(--color-surface-base);
|
| + |
}
|
| + |
|
| + |
.app-footer .footer-links {
|
| + |
display: flex;
|
| + |
flex-direction: row;
|
| + |
justify-content: space-between;
|
| + |
gap: 2rem;
|
| + |
}
|
| + |
|
| + |
.app-footer .link-column {
|
| + |
display: flex;
|
| + |
flex-direction: column;
|
| + |
gap: 0.75rem;
|
| + |
flex: 1;
|
| + |
}
|
| + |
|
| + |
.app-footer .column-header {
|
| + |
color: var(--color-text-tertiary);
|
| + |
}
|
| + |
|
| + |
.app-footer .link-column a {
|
| + |
color: var(--color-text-primary);
|
| + |
text-decoration: none;
|
| + |
}
|
| + |
|
| + |
.app-footer .link-column a:hover {
|
| + |
color: var(--color-text-secondary);
|
| + |
}
|
| + |
|
| + |
.app-footer .footer-bottom {
|
| + |
display: flex;
|
| + |
flex-direction: row;
|
| + |
justify-content: space-between;
|
| + |
align-items: center;
|
| + |
}
|
| + |
|
| + |
.app-footer .copyright {
|
| + |
color: var(--color-text-tertiary);
|
| + |
}
|
| + |
|
| + |
@media (max-width: 64rem) {
|
| + |
.app-footer {
|
| + |
padding: 2rem 1.5rem 1.5rem;
|
| + |
gap: 2.5rem;
|
| + |
}
|
| + |
|
| + |
.app-footer .footer-links {
|
| + |
display: grid;
|
| + |
grid-template-columns: 1fr 1fr;
|
| + |
gap: 1.5rem;
|
| + |
}
|
| + |
|
| + |
.app-footer .footer-bottom {
|
| + |
flex-direction: column;
|
| + |
align-items: flex-start;
|
| + |
}
|
| + |
}
|