-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
154 lines (136 loc) · 3.13 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
:root {
--color-primary: #ffff00;
--color-secondary: #c6c602;
--color-tertiary: #9c9c00;
--color-quaternary: #737301;
--color-quinary: #4b4b00;
}
*,
*::before,
*::after {
box-sizing: border-box;
}
body {
background: darkgray;
text-align: center;
overflow: hidden;
margin: 0;
}
a {
color: black;
}
#carCanvas {
background: lightgrey;
}
#networkCanvas {
background: black;
}
header {
font-family: "Bowlby One SC", sans-serif;
text-align: center;
vertical-align: middle;
display: flex;
flex-direction: column;
gap: 8px;
position: fixed;
top: 40px;
left: 60px;
}
header h1 {
font-weight: 800;
font-size: calc(1.6rem + 1vw);
margin: 0;
text-transform: uppercase;
color: var(--color-primary);
letter-spacing: 0.2rem;
pointer-events: none;
user-select: none;
}
header .text-animation {
display: inline-block;
text-shadow: 2px 2px 0 var(--color-secondary), 4px 4px 0 var(--color-tertiary),
6px 6px 0 var(--color-quaternary), 8px 8px 0 var(--color-quinary);
/* text-shadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9,
0 5px 0 #aaa, 0 6px 1px rgba(0, 0, 0, 0.1), 0 0 5px rgba(0, 0, 0, 0.1),
0 1px 3px rgba(0, 0, 0, 0.3), 0 3px 5px rgba(0, 0, 0, 0.2),
0 5px 10px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.2),
0 20px 20px rgba(0, 0, 0, 0.15); */
animation: shadows 1.2s ease-in infinite;
}
header small {
color: #333;
}
header a {
font-size: 14px;
}
@keyframes shadows {
0% {
text-shadow: none;
}
10% {
transform: translate(-2px, -2px);
text-shadow: 2px 2px 0 var(--color-secondary);
}
20% {
transform: translate(-4px, -4px);
text-shadow: 2px 2px 0 var(--color-secondary),
4px 4px 0 var(--color-tertiary);
}
30% {
transform: translate(-6px, -6px);
text-shadow: 2px 2px 0 var(--color-secondary),
4px 4px 0 var(--color-tertiary), 6px 6px var(--color-quaternary);
}
40% {
transform: translate(-8px, -8px);
text-shadow: 2px 2px 0 var(--color-secondary),
4px 4px 0 var(--color-tertiary), 6px 6px var(--color-quaternary),
8px 8px 0 var(--color-quinary);
}
50% {
transform: translate(-8px, -8px);
text-shadow: 2px 2px 0 var(--color-secondary),
4px 4px 0 var(--color-tertiary), 6px 6px var(--color-quaternary),
8px 8px 0 var(--color-quinary);
}
60% {
text-shadow: 2px 2px 0 var(--color-secondary),
4px 4px 0 var(--color-tertiary), 6px 6px var(--color-quaternary),
8px 8px 0 var(--color-quinary);
}
70% {
text-shadow: 2px 2px 0 var(--color-secondary),
4px 4px 0 var(--color-tertiary), 6px 6px var(--color-quaternary);
}
80% {
text-shadow: 2px 2px 0 var(--color-secondary),
4px 4px 0 var(--color-tertiary);
}
90% {
text-shadow: 2px 2px 0 var(--color-secondary);
}
100% {
text-shadow: none;
}
}
.actions {
font-family: Arial, sans-serif;
font-size: 14px;
text-align: justify;
position: fixed;
top: 360px;
left: 60px;
max-width: 300px;
display: flex;
flex-direction: column;
align-items: center;
gap: 6px;
}
.actions button {
cursor: pointer;
}
footer {
position: fixed;
bottom: 10px;
left: 10px;
}