-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
106 lines (90 loc) · 1.43 KB
/
index.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
:root {
--background-color: white;
--color: black;
--link-color: #0000EE;
}
* {
box-sizing: border-box;
}
body {
background-color: var(--background-color);
color: var(--color);
text-align: center;
font-family: system-ui, sans-serif;
}
img {
max-height: 200px;
max-width: 100%;
cursor: zoom-in;
}
img.zoomed {
cursor: zoom-out;
}
.pick {
font-size: 1.2em;
margin: 0.7em 0.9em;
display: none;
border-radius: 0.5em;
padding: 1em;
appearance: none;
border: gray;
}
#question {
transition: opacity 0.3s ease;
opacity: 0;
animation: question 1s ease;
animation-fill-mode: forwards;
animation-delay: 2s;
}
.name {
&.true {
color: green;
}
&.false {
color: red;
}
}
.description {
margin-bottom: 1em;
}
.options {
margin-top: 2em;
}
.options button {
color: inherit;
display: inline-grid;
appearance: none;
border: 1px outset gainsboro;
font-size: 2em;
padding: 0.65em 0.9em;
border-radius: 0.5em;
font-weight: bold;
margin: 0.25em;
.ufo {
font-weight: normal;
font-size: 0.5em;
}
}
.options .true {
margin-left: 1em;
background-color: rgba(0, 255, 0, 0.1)
}
.options .false {
background-color: rgba(255, 0, 0, 0.1)
}
@keyframes question {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@media (prefers-color-scheme: dark) {
:root {
color-scheme: dark;
--background-color: black;
--color: white;
--link-color: #7777FF;
}
}