From d807bb87de459b59b4e794bfff09054cd24d6021 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sun, 31 May 2026 04:46:45 +0100 Subject: [PATCH] Make homepage visual novel fullscreen --- GameCult/index.md | 11 -------- site/quartz/styles/custom.scss | 47 ++++++++++++++++++++++++++-------- 2 files changed, 36 insertions(+), 22 deletions(-) diff --git a/GameCult/index.md b/GameCult/index.md index 03b7455..9e7de2c 100644 --- a/GameCult/index.md +++ b/GameCult/index.md @@ -52,19 +52,8 @@ sidebarGroups: slug: Docs/Bifrost cssclasses: - gamecult-composite-overview -compositeSections: - - Open-Source-Model - - Contributing - - democratizing-gamedev - - a-place-for-everyone - - games-as-a-service - - the-new-hotness --- -# GameCult - -*"Open source game development, cooperative by instinct, strange by design."* -
.gamecult-link-grid { } body[data-slug="index"] { + overflow: hidden; + .page { max-width: none; - padding-inline: clamp(0.7rem, 2vw, 1.2rem); + min-height: 100svh; + padding: 0; } .page > #quartz-body { + min-height: 100svh; grid-template-columns: minmax(0, 1fr); grid-template-areas: "grid-header" @@ -1066,16 +1070,19 @@ body[data-slug="index"] { .page > #quartz-body > .left.sidebar, .page > #quartz-body > .right.sidebar, - .page > #quartz-body .center > .page-header > header { + .page > #quartz-body > footer, + .page > #quartz-body .center > .page-header, + .page > #quartz-body .center > .page-footer { display: none; } .page > #quartz-body .center { + display: block; min-width: 0; } .page > #quartz-body .center > article { - margin-top: clamp(0.6rem, 2vh, 1.1rem); + margin: 0; padding: 0; border: 0; border-radius: 0; @@ -1083,24 +1090,25 @@ body[data-slug="index"] { box-shadow: none; } - .page > #quartz-body .center > article > h1, - .page > #quartz-body .center > article > p:first-of-type { - display: none; + .page::before, + .gamecult-vn-source { + display: none !important; } } .gamecult-compound-vn.sai-player-speaker { --sai-sprite-pixel-scale: 4; - min-height: calc(100vh - 4.5rem); + width: 100%; + min-height: 100svh; margin: 0; } .gamecult-compound-vn .sai-speaker-stage, .gamecult-compound-vn .sai-speaker-stage.has-dom-cards { - height: calc(100vh - 4.5rem); - min-height: 620px; - border: 1px solid rgba(89, 183, 255, 0.14); - border-radius: 22px; + height: 100svh; + min-height: 100svh; + border: 0; + border-radius: 0; background: linear-gradient(180deg, rgba(6, 10, 15, 0.98), rgba(8, 14, 22, 0.94)), linear-gradient(135deg, rgba(89, 183, 255, 0.04), rgba(255, 138, 42, 0.03)); @@ -1109,6 +1117,23 @@ body[data-slug="index"] { inset 0 1px 0 rgba(255, 255, 255, 0.03); } +@supports (height: 100dvh) { + body[data-slug="index"] { + .page, + .page > #quartz-body, + .gamecult-compound-vn.sai-player-speaker, + .gamecult-compound-vn .sai-speaker-stage, + .gamecult-compound-vn .sai-speaker-stage.has-dom-cards { + min-height: 100dvh; + } + + .gamecult-compound-vn .sai-speaker-stage, + .gamecult-compound-vn .sai-speaker-stage.has-dom-cards { + height: 100dvh; + } + } +} + .gamecult-compound-vn .sai-speaker-background { display: block; image-rendering: pixelated;