From 5e32400e20da831cee16272f0d1d52be6b7928ea Mon Sep 17 00:00:00 2001 From: cyqsimon <28627918+cyqsimon@users.noreply.github.com> Date: Mon, 22 Aug 2022 17:33:06 +0800 Subject: Use SASS nesting --- data/style.scss | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'data/style.scss') diff --git a/data/style.scss b/data/style.scss index 187b445..e3dc17e 100644 --- a/data/style.scss +++ b/data/style.scss @@ -20,22 +20,23 @@ $themes: squirrel, archlinux, monokai, zenburn; 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; -} + body { + width: 100%; + height: 100%; + margin: 0; + display: grid; + align-items: center; + justify-items: center; + } -html.qr_code_page svg { - width: 80%; - height: 80%; + svg { + width: 80%; + height: 80%; + } } + html { font-smoothing: antialiased; text-rendering: optimizeLegibility; -- cgit v1.2.3