-
Notifications
You must be signed in to change notification settings - Fork 2
/
keysheet.css
115 lines (100 loc) · 1.46 KB
/
keysheet.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
html,
body {
margin: 0;
padding: 0;
}
@page {
size: portrait;
size: portrait A4;
margin: 0;
}
body {
font-family: "Futura", sans-serif;
font-size: 24px;
}
#key {
font-size: 20px;
width: 70ch;
max-width: 70vw;
margin: 3em auto 0 auto;
display: block;
height: 22em;
}
.instructions {
margin: 1em 3em;
text-align: center;
}
@media (max-width: 1000px) {
.instructions {
text-align: justify;
}
}
@media print {
.box {
padding: 0.3em;
margin-left: 0 !important;
}
#regen,
#id_selector,
#print,
#print_container {
display: none;
}
}
@media screen {
.box {
font-size: 4vh;
}
}
.box {
width: 26em;
padding: 0.5em;
border-top: 1px solid #ccc;
border-bottom: 1px solid #ccc;
white-space: pre;
position: relative;
margin: 0 auto;
}
.box > .qr {
display: block;
position: absolute;
right: 0.7em;
top: 0.8em;
height: 4.5em;
width: 4.5em;
}
.fingerprint {
font-family: "Lucidatypewriter", "Andale Mono", "Fixed", monospace;
font-size: 120%;
}
#regen {
position: fixed;
font-size: 120%;
padding: 0.2em;
top: 0.5em;
right: 0.8em;
background: #fff;
background: rgba(255, 255, 255, 0.98);
}
#options {
position: fixed;
right: 0.8em;
top: 3em;
background: #fff;
background: rgba(255, 255, 255, 0.98);
padding: 5px;
border-radius: 3px;
}
#print_container {
text-align: right;
}
#print {
margin-top: 2vmin;
font-size: 3vmin;
width: 100%;
padding: 0.4vmin 0;
}
#id_selector label {
display: block;
padding: 0.1em 0 0.1em 0;
}