From 57528fc7a819b742a9766ae8c27c209b9084b386 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=AA=E3=82=AD=E8=90=8C?= Date: Tue, 15 Jul 2025 00:48:32 +0200 Subject: [PATCH] add some stuff into the empty pink virtual space at the bottom --- static/css/main.css | 40 ++++++++++++++++++++++++++++++++-------- template/_doc.hbs | 15 +++++++++++++++ 2 files changed, 47 insertions(+), 8 deletions(-) diff --git a/static/css/main.css b/static/css/main.css index df1456d..f703844 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -43,9 +43,9 @@ main { min-width: 0; } -footer { - grid-row: bottom; - grid-column: center / center; +footer.pink-space { + grid-column: 1 / -1; + grid-row: virtual; } /* Narrower layout: sidebar is pushed to the top */ @@ -751,11 +751,35 @@ footer { } } -@media (hover: none) { - footer > #version-info { - & > ul { - opacity: 100%; - } +footer.pink-space { + display: block; + max-width: none; + position: relative; + + & .copyright { + position: absolute; + right: 0; + top: 0; + opacity: 70%; + + padding: 1.6rem; + } + + & pre.meow { + position: absolute; + right: 0; + bottom: 0; + + width: min-content; + background: none; + border: none; + + --recursive-wght: 700; + line-height: 1.3; + font-size: 75%; + opacity: 25%; + + user-select: none; } } diff --git a/template/_doc.hbs b/template/_doc.hbs index 2c68496..e0b96a9 100644 --- a/template/_doc.hbs +++ b/template/_doc.hbs @@ -24,6 +24,21 @@ {{~> components/_doc.hbs }} + +