Camera app scan: the big qr rotates every 3 s and one scan with the phone's camera app enrolls or validates a vote (10 s), for browsers with the camera blocked; qr stays big beside the ring during a vote, step by step help on the phone
This commit is contained in:
@@ -36,7 +36,7 @@ body.entry-big { --dock-qr: clamp(180px, min(58vh, 34vw), 640px); }
|
||||
body.entry-big .entry { top: 50%; bottom: auto; right: max(4vw, calc((50vw - var(--dock-qr)) / 2 - 2vw)); translate: 0 -46%; padding: 2vh; gap: 1.2vh; }
|
||||
body.entry-big .entry div { font-size: clamp(.9rem, 1.4vw, 1.6rem); }
|
||||
body.entry-big .s-main:not(.split) .s-steps { visibility: hidden; }
|
||||
body.entry-q-on { --dock-qr: clamp(160px, min(46vh, 30vw), 520px); }
|
||||
body.entry-q-on { --dock-qr: clamp(160px, min(52vh, 32vw), 580px); }
|
||||
/* width 0 + min-width 100%: a long question wraps to the qr's width instead of widening the block */
|
||||
.entry-q { display: grid; gap: .6vh; padding-bottom: 1vh; margin-bottom: .4vh; border-bottom: 2px solid var(--bg); width: 0; min-width: 100%; }
|
||||
.entry-q b { font: 700 clamp(1rem, 1.7vw, 2rem) var(--round); color: var(--ink); line-height: 1.15; }
|
||||
|
||||
Reference in New Issue
Block a user