diff options
| author | sillylaird <sillyfanboy@gmail.com> | 2026-09-03 00:33:59 +0000 |
|---|---|---|
| committer | sillylaird <sillyfanboy@gmail.com> | 2026-09-03 00:33:59 +0000 |
| commit | 898b52edcb47bcb3e9d6106e74ca73e74ea01e70 (patch) | |
| tree | 85c6ee5ad58b860144551184d4cf86b560c62b91 /assets/css/pages/collection.css | |
| download | www-main.tar.gz www-main.zip | |
Diffstat (limited to '')
| -rw-r--r-- | assets/css/pages/collection.css | 290 |
1 files changed, 290 insertions, 0 deletions
diff --git a/assets/css/pages/collection.css b/assets/css/pages/collection.css new file mode 100644 index 0000000..8f3c81a --- /dev/null +++ b/assets/css/pages/collection.css @@ -0,0 +1,290 @@ +/* ========================================================================== + Game collection catalog + Layout pattern: personal small-web inventory (photo | name :: model | specs) + Visual system: SillyLaird crimson / mono — not a third-party theme clone. + ========================================================================== */ + +body.gc-page { + font-family: var(--font-mono); +} + +.gc-wrap { + max-width: 52rem; +} + +/* Big centered page title (catalog feel, site colors) */ +.gc-title { + font-family: var(--font-mono); + font-size: clamp(1.75rem, 1.2rem + 3vw, 2.75rem); + font-weight: 700; + text-align: center; + color: var(--ink); + letter-spacing: 0.02em; + margin: var(--space-md) 0 var(--space-sm); + line-height: 1.15; +} + +/* COMPUTERS / PHONES ⁜ WISHLIST style menu */ +.gc-menu { + text-align: center; + margin: 0 0 var(--space-2xl); + font-size: var(--fs-sm); + text-transform: uppercase; + letter-spacing: 0.06em; + color: var(--muted); + line-height: 1.8; +} + +.gc-menu a { + color: var(--muted); + text-decoration: none; + padding: 0 2px; +} + +.gc-menu a:hover, +.gc-menu a:focus-visible { + color: var(--accent-bright); +} + +.gc-menu a.gc-menu-active, +.gc-menu a#gc-main { + color: var(--ink); + font-style: italic; +} + +.gc-menu-sep { + margin: 0 1px; + color: var(--muted); +} + +.gc-menu-diamond { + margin: 0 0.45rem; + color: var(--border); + font-style: normal; +} + +.gc-page-blurb { + text-align: center; + color: var(--muted); + font-size: var(--fs-sm); + margin: 0 auto var(--space-xl); + max-width: 34rem; +} + +.gc-count { + text-align: center; + color: var(--muted); + font-size: var(--fs-xs); + margin: 0 0 var(--space-lg); + text-transform: uppercase; + letter-spacing: 0.08em; +} + +/* Table-like catalog stack (centered inventory) */ +.gc-catalog { + display: table; + width: 100%; + margin: 0 auto; + border-collapse: separate; + border-spacing: 0 var(--space-md); +} + +.gc-row { + display: table-row; +} + +.gc-pic, +.gc-body { + display: table-cell; + vertical-align: middle; +} + +.gc-pic { + width: 1%; + padding-right: var(--space-lg); + white-space: nowrap; +} + +.gc-pic a { + display: inline-block; + line-height: 0; +} + +.gc-pic img { + display: block; + width: auto; + max-width: 13rem; + max-height: 10rem; + height: auto; + border: 1px solid var(--border); + background: var(--surface-deep); +} + +.gc-pic-empty { + width: 10rem; + height: 7rem; + border: 1px dashed var(--border); + background: + radial-gradient(ellipse at 30% 20%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 55%), + var(--surface-deep); + color: var(--muted); + display: flex; + align-items: center; + justify-content: center; + font-size: var(--fs-sm); + letter-spacing: 0.18em; + text-transform: uppercase; + opacity: 0.85; +} + +.gc-body { + width: 99%; + padding: 2px 0; +} + +/* Large display name: left :: right */ +.gc-name { + font-family: var(--font-mono); + font-size: clamp(1.15rem, 1rem + 0.9vw, 1.65rem); + font-weight: 700; + color: var(--gold); + margin: 0 0 var(--space-xs); + line-height: 1.2; + word-break: break-word; +} + +.gc-name a { + color: inherit; + text-decoration: none; +} + +.gc-name a:hover, +.gc-name a:focus-visible { + color: var(--accent-bright); + text-decoration: underline; +} + +.gc-colon { + color: var(--muted); + font-weight: 400; + margin: 0 0.28em; +} + +.gc-note { + margin: 0 0 var(--space-xs); + font-size: var(--fs-sm); + color: var(--muted); + font-style: italic; +} + +.gc-note em { + font-style: italic; +} + +/* Inline “icon + value” specs (like arch / cpu / ram lines) */ +.gc-specs { + margin: 0; + font-size: var(--fs-sm); + color: var(--ink); + line-height: 1.7; +} + +.gc-spec { + display: inline; + white-space: nowrap; + margin-right: 0.65rem; +} + +.gc-spec-ico { + display: inline-block; + min-width: 1.1em; + text-align: center; + font-size: 0.75em; + font-weight: 700; + color: var(--bg); + background: var(--ink); + border-radius: 2px; + padding: 0 0.28em; + margin-right: 0.25em; + vertical-align: 0.05em; + line-height: 1.35; +} + +.gc-spec-val { + color: var(--ink); +} + +a.gc-spec-val { + color: var(--accent-bright); + text-decoration: none; +} + +a.gc-spec-val:hover, +a.gc-spec-val:focus-visible { + text-decoration: underline; +} + +.gc-empty { + text-align: center; + color: var(--muted); + font-size: var(--fs-sm); + border: 1px dashed var(--border); + padding: var(--space-xl); + margin: var(--space-lg) auto; + max-width: 28rem; +} + +.gc-footer-hint { + text-align: center; + margin: var(--space-2xl) 0 var(--space-md); + font-size: var(--fs-xs); + color: var(--muted); +} + +.gc-footer-hint a { + color: var(--muted); +} + +/* Mobile: stack photo above body (table → block) */ +@media (max-width: 640px) { + .gc-catalog, + .gc-row, + .gc-pic, + .gc-body { + display: block; + width: 100%; + } + + .gc-row { + margin-bottom: var(--space-xl); + padding-bottom: var(--space-lg); + border-bottom: 1px solid var(--border); + } + + .gc-pic { + padding-right: 0; + margin-bottom: var(--space-sm); + } + + .gc-pic img, + .gc-pic-empty { + max-width: 100%; + width: min(100%, 16rem); + } + + .gc-spec { + display: inline-block; + margin-bottom: 0.15rem; + } +} + +/* Light mode: keep readable contrast */ +body.light-mode .gc-spec-ico { + color: #fff; + background: var(--ink); +} + +body.light-mode .gc-pic img, +body.light-mode .gc-pic-empty { + background: #f6f0f0; +} |
