aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcyqsimon <28627918+cyqsimon@users.noreply.github.com>2022-08-22 09:33:06 +0000
committercyqsimon <28627918+cyqsimon@users.noreply.github.com>2022-08-22 10:51:17 +0000
commit5e32400e20da831cee16272f0d1d52be6b7928ea (patch)
treecb328d82c91db1ad798f8f9d08f4c1cd710af51b
parentRemove separators in CSS (diff)
downloadminiserve-5e32400e20da831cee16272f0d1d52be6b7928ea.tar.gz
miniserve-5e32400e20da831cee16272f0d1d52be6b7928ea.zip
Use SASS nesting
-rw-r--r--data/style.scss25
1 files changed, 13 insertions, 12 deletions
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;