-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
128 lines (110 loc) · 1.79 KB
/
Copy pathindex.css
File metadata and controls
128 lines (110 loc) · 1.79 KB
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
116
117
118
119
120
121
122
123
124
125
126
127
128
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400&display=swap');
:root {
color-scheme: dark;
}
* {
margin: 0;
padding: 0;
}
body {
margin: 0;
overflow: hidden;
background-color: #181818;
font-family: 'Open Sans', sans-serif;
color: white;
font-weight: 300;
}
canvas {
display: block;
}
#info {
position: absolute;
top: 20px;
text-align: center;
z-index: 100;
display: flex;
flex-direction: column;
align-items: center;
gap: 4px;
left: 5%;
right: 5%;
pointer-events: none;
}
h1 {
font-size: 1.5rem;
font-weight: 400;
}
p {
font-size: 0.8rem;
color: rgba(255, 255, 255, 0.7);
text-wrap: pretty;
max-width: 480px;
}
a {
color: inherit;
text-decoration: underline;
pointer-events: auto;
}
#cardInfoDisplay {
position: fixed;
bottom: 25px;
text-align: center;
z-index: 100;
left: 5%;
right: 5%;
pointer-events: none;
opacity: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 8px;
}
#cardInfoDisplay p {
height: 3.5rem;
}
h2 {
font-size: 1rem;
font-weight: 400;
margin: 0;
}
#cardInfoDisplay .keywords-list {
font-size: 0.5rem;
color: rgba(255, 255, 255, 0.4);
text-transform: uppercase;
font-weight: 400;
letter-spacing: 1px;
margin-top: 2px;
}
#controls {
position: fixed;
top: 0;
right: 0;
display: flex;
flex-direction: row;
z-index: 200;
}
#controls button {
background-color: transparent;
border: none;
cursor: pointer;
transition: opacity 0.2s;
width: 42px;
height: 42px;
opacity: 0.3;
}
#toggleViewButton img {
filter: invert(1);
}
#toggleViewButton:hover {
opacity: 0.5;
}
#toggleViewButton:active {
opacity: 1.0;
}
@media screen and (min-width: 375px) {
#controls {
top: 20px;
right: 20px;
}
}