From a99d8bdcadf4f822bb86a2710e5d73783ac7097a Mon Sep 17 00:00:00 2001 From: cyqsimon <28627918+cyqsimon@users.noreply.github.com> Date: Tue, 26 Jul 2022 12:27:14 +0800 Subject: Move QR code page style to `style.scss` --- data/style.scss | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'data/style.scss') diff --git a/data/style.scss b/data/style.scss index 0fcc90d..a5b3707 100644 --- a/data/style.scss +++ b/data/style.scss @@ -17,7 +17,29 @@ $themes: squirrel, archlinux, monokai, zenburn; @return $s; } +// make QR code expand and fill page +// -------------------------------------------------- +html.qr_code_page { + width: 100vw; + height: 100vh; +} + +html.qr_code_page body { + width: 100%; + height: 100%; + margin: 0; + display: grid; + align-items: center; + justify-items: center; +} + +html.qr_code_page svg { + width: 80%; + height: 80%; +} + +// -------------------------------------------------- html { font-smoothing: antialiased; -- cgit v1.2.3