aboutsummaryrefslogtreecommitdiffstats
path: root/data/style.scss
diff options
context:
space:
mode:
authorcyqsimon <28627918+cyqsimon@users.noreply.github.com>2022-09-01 11:37:39 +0000
committercyqsimon <28627918+cyqsimon@users.noreply.github.com>2022-09-01 11:37:39 +0000
commit9f7d5a8aeaf252fb51d88b965b3a324e8e815f37 (patch)
tree2334fbbca617bab73156644a50f4e9aa84c07d90 /data/style.scss
parentFix rustfmt complaints (diff)
downloadminiserve-9f7d5a8aeaf252fb51d88b965b3a324e8e815f37.tar.gz
miniserve-9f7d5a8aeaf252fb51d88b965b3a324e8e815f37.zip
Fix drop-down QR code
Diffstat (limited to '')
-rw-r--r--data/style.scss25
1 files changed, 4 insertions, 21 deletions
diff --git a/data/style.scss b/data/style.scss
index e3dc17e..87ecc4c 100644
--- a/data/style.scss
+++ b/data/style.scss
@@ -17,26 +17,6 @@ $themes: squirrel, archlinux, monokai, zenburn;
@return $s;
}
-html.qr_code_page {
- width: 100vw;
- height: 100vh;
-
- body {
- width: 100%;
- height: 100%;
- margin: 0;
- display: grid;
- align-items: center;
- justify-items: center;
- }
-
- svg {
- width: 80%;
- height: 80%;
- }
-}
-
-
html {
font-smoothing: antialiased;
text-rendering: optimizeLegibility;
@@ -198,8 +178,11 @@ nav .qrcode {
background: var(--switch_theme_background);
}
-nav .qrcode img {
+nav .qrcode svg {
display: block;
+ border: 0.3rem;
+ border-style: solid;
+ border-color: #ffffff;
}
nav .theme {