Expand the template catalog and restore fwnet dark mode
This commit is contained in:
@@ -298,8 +298,39 @@
|
||||
--accent-light: #e9edfa;
|
||||
--line: #e2e2e3;
|
||||
--button-ink: #ffffff;
|
||||
--fwnet-primary: #5672cd;
|
||||
--fwnet-primary-hover: #3a5ccc;
|
||||
}
|
||||
.theme-fwnet .hero { padding: 0; background: var(--white); }
|
||||
/* In dark mode use the source site's colors over the template's stored light palette. */
|
||||
#main-content.theme-fwnet[data-fwnet-appearance="dark"] {
|
||||
color-scheme: dark;
|
||||
--white: #1b1b1f;
|
||||
--paper: #202127;
|
||||
--ink: #dfdfd6;
|
||||
--muted: #98989f;
|
||||
--accent: #a8b1ff;
|
||||
--accent-deep: #5c73e7;
|
||||
--accent-light: #32363f;
|
||||
--line: #2e2e32;
|
||||
--fwnet-primary: #3e63dd;
|
||||
--fwnet-primary-hover: #5c73e7;
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
#main-content.theme-fwnet:not([data-fwnet-appearance="light"]) {
|
||||
color-scheme: dark;
|
||||
--white: #1b1b1f;
|
||||
--paper: #202127;
|
||||
--ink: #dfdfd6;
|
||||
--muted: #98989f;
|
||||
--accent: #a8b1ff;
|
||||
--accent-deep: #5c73e7;
|
||||
--accent-light: #32363f;
|
||||
--line: #2e2e32;
|
||||
--fwnet-primary: #3e63dd;
|
||||
--fwnet-primary-hover: #5c73e7;
|
||||
}
|
||||
}
|
||||
.theme-fwnet .hero { padding: 0; background-color: var(--white); }
|
||||
.theme-fwnet .hero h1 { margin: 0; max-width: 670px; font-size: clamp(2.5rem, 5vw, 3.625rem); line-height: 1.08; letter-spacing: -.035em; }
|
||||
.fwnet-nav, .fwnet-nav > div, .fwnet-brand { display: flex; align-items: center; gap: 1.25rem; }
|
||||
.fwnet-nav { min-height: 64px; justify-content: space-between; padding-block: .75rem; }
|
||||
@@ -345,9 +376,24 @@
|
||||
.fwnet-hero p { color: var(--muted); font-size: clamp(1.125rem, 2.2vw, 1.5rem); font-weight: 500; }
|
||||
.fwnet-hero > img { width: min(100%, 330px); height: auto; margin-inline: auto; }
|
||||
.fwnet-hero .button { border-radius: 999px; font-size: .9rem; }
|
||||
.fwnet-hero .button-outline { background: var(--paper); }
|
||||
.fwnet-hero .button-primary { background: var(--fwnet-primary); border-color: var(--fwnet-primary); }
|
||||
.fwnet-hero .button-primary:hover { background: var(--fwnet-primary-hover); border-color: var(--fwnet-primary-hover); }
|
||||
.fwnet-hero .button-outline { background: var(--paper); border-color: var(--line); }
|
||||
.fwnet-theme-toggle {
|
||||
min-width: 2.5rem;
|
||||
min-height: 1.6rem;
|
||||
padding: .15rem .32rem;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 1rem;
|
||||
color: var(--ink);
|
||||
background: var(--paper);
|
||||
text-align: start;
|
||||
cursor: pointer;
|
||||
}
|
||||
.fwnet-theme-toggle[aria-pressed="true"] { text-align: end; }
|
||||
.fwnet-theme-toggle span { display: inline-block; font-size: .9rem; line-height: 1; }
|
||||
.theme-fwnet #capabilities { padding-block: 1rem 3.5rem; }
|
||||
.fwnet-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
|
||||
.fwnet-grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
|
||||
.fwnet-card { display: grid; align-content: start; gap: .6rem; padding: 1.4rem; border-radius: .85rem; background: var(--paper); }
|
||||
.fwnet-card h3, .fwnet-card p { margin: 0; }
|
||||
.fwnet-card h3 { font-size: 1rem; }
|
||||
@@ -364,3 +410,48 @@
|
||||
.fwnet-hero > img { grid-row: 1; width: min(100%, 12rem); height: 12rem; object-fit: contain; }
|
||||
.fwnet-grid { grid-template-columns: 1fr; }
|
||||
}
|
||||
|
||||
.theme-signal {
|
||||
--white: #121a2a;
|
||||
--paper: #192438;
|
||||
--ink: #eef4ff;
|
||||
--muted: #aebdd3;
|
||||
--accent: #79e2c4;
|
||||
--accent-deep: #a6eed9;
|
||||
--accent-light: #233e45;
|
||||
--line: #35425a;
|
||||
--button-ink: #132332;
|
||||
}
|
||||
.theme-signal .hero {
|
||||
background: radial-gradient(ellipse at 82% 15%, #244c52 0, transparent 55%),
|
||||
linear-gradient(155deg, var(--paper), var(--white));
|
||||
border-block-end: 1px solid var(--line);
|
||||
}
|
||||
.theme-signal .hero h1 { font-size: clamp(2.5rem, 6vw, 4.65rem); }
|
||||
.theme-signal .hero-inner { min-height: clamp(21rem, 38vw, 35rem); }
|
||||
.theme-signal .app-frame { border-color: #588984; border-radius: .65rem; background: #233246; }
|
||||
.theme-signal .content-card { background: var(--paper); }
|
||||
.theme-signal .button-outline { border-color: var(--line); }
|
||||
|
||||
.theme-table {
|
||||
--white: #fffaf2;
|
||||
--paper: #f4e5d4;
|
||||
--ink: #30201a;
|
||||
--muted: #665048;
|
||||
--accent: #985034;
|
||||
--accent-deep: #773820;
|
||||
--accent-light: #f8decf;
|
||||
--line: #d9bca8;
|
||||
--button-ink: #fffaf2;
|
||||
}
|
||||
.theme-table .hero { background: linear-gradient(120deg, var(--white), var(--paper)); }
|
||||
.theme-table :is(h1, h2) { font-family: 'Noto Serif CJK SC', 'Songti SC', Georgia, serif; }
|
||||
.theme-table .app-frame {
|
||||
padding: .55rem;
|
||||
border-color: var(--line);
|
||||
border-radius: .4rem;
|
||||
background: var(--white);
|
||||
box-shadow: 8px 8px 0 #a66d4e3d;
|
||||
}
|
||||
.theme-table .app-frame img { object-fit: cover; border-radius: .15rem; }
|
||||
.theme-table .button { border-radius: .25rem; }
|
||||
|
||||
Reference in New Issue
Block a user