-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
107 lines (92 loc) · 1.6 KB
/
styles.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
body {
text-align: center;
}
a {
color: black;
text-decoration: none;
}
.text {
display: inline;
font-size: 6rem;
font-family: monospace;
}
.container {
width: 99%;
}
.qr {
height: 50px;
position: absolute;
bottom: 0;
display: block;
}
.qr:hover {
height: 400px;
}
.shell-cursor {
background-color: white;
height: 6rem;
width: 3rem;
display: inline-block;
/* https://stackoverflow.com/questions/16344354/how-to-make-blinking-flashing-text-with-css-3 */
animation: blinker 1s step-start infinite;
margin-left: 0.5%;
}
.footer {
position: absolute;
bottom: 0;
width: 99%;
}
@keyframes blinker {
50% {
opacity: 0;
}
}
button {
background-color: rgb(90, 90, 243);
margin-bottom: 1%;
border: 0;
width: 80%;
border-radius: 5px;
}
.link:hover {
background-color: rgb(45, 45, 243);
margin-bottom: 1%;
border: 0;
}
.highlight {
color: rgb(90, 90, 243);
}
/* https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Responsive_Design#responsive_typography */
@media screen and (min-width: 1200px) {
.text {
font-size: 4rem;
}
button {
width: 30%;
}
.shell-cursor {
height: 4rem;
width: 2rem;
}
.qr{
height: 100px;
}
}
/* https://stackoverflow.com/questions/50840168/how-to-detect-if-the-os-is-in-dark-mode-in-browsers */
/* Light mode */
@media (prefers-color-scheme: light) {
body {
background-color: white;
color: black;
}
.shell-cursor {
background-color: black;
}
}
/* Dark mode */
@media (prefers-color-scheme: dark) {
body {
background-color: rgb(19, 13, 13);
color: white;
}
}