aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/style.scss22
1 files changed, 22 insertions, 0 deletions
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;