-
Notifications
You must be signed in to change notification settings - Fork 0
/
quest.css
91 lines (78 loc) · 1.55 KB
/
quest.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
body {
overscroll-behavior-y: contain;
}
#quest {
font-family: "PT Mono", sans-serif;
font-size: 12pt;
counter-reset: seqno;
text-align: center;
margin: 1em;
}
#install {
position: fixed;
bottom: 2em;
right: 2em;
height: 70px;
width: 70px;
background-image: url(icons/quest_64.png);
background-repeat: no-repeat;
background-position: center;
}
.fab {
z-index: 100;
border-radius: 50%;
border: 0;
outline: 0;
background-color: skyblue;
box-shadow: 0 6px 10px #666;
transition: all 0.1s ease-in-out;
}
.fab:active {
background-color: rgb(116, 179, 204);
box-shadow: 0 4px 6px #666;
transform: scale(0.95);
}
div.input {
display: inline-block;
position: relative;
}
div.input * {
font-family: "Roboto Mono", monospace;
font-size: 24pt;
}
div.input .input-border {
position: absolute;
top: 10px;
z-index: -1;
}
div.input input.input-field {
border: none;
outline: none;
text-transform: uppercase;
background: transparent;
padding-bottom: 15px;
}
.riddle {
text-align: left;
}
.riddle .text {
display: inline-block;
padding-left: 2.4em;
text-indent: -2.4em;
}
.riddle .text::before {
content: counter(seqno, decimal-leading-zero) ". ";
counter-increment: seqno;
}
.riddle img {
display: block;
margin: 0 auto;
max-width: 70%;
max-height: 250px;
padding-bottom: 20px;
filter: invert(50%) opacity(25%);
transition: 2s filter linear;
}
.riddle img[data-blur="noblur"] {
filter: none;
}