-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
55 lines (49 loc) · 1 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
:root {
--text-color: #ffffff;
--background-color: #000000;
--info-background: rgba(0, 0, 0, 0.7);
}
/* Light theme variables */
.theme-light {
--text-color: #000000;
--background-color: #ffffff;
--info-background: rgba(255, 255, 255, 0.7);
}
body {
margin: 0;
overflow: hidden;
font-family: Arial, sans-serif;
background-color: var(--background-color);
color: var(--text-color);
}
canvas {
display: block;
touch-action: none;
}
.info {
position: fixed;
top: 20px;
left: 50%;
transform: translateX(-50%);
padding: 10px 20px;
background: var(--info-background);
border-radius: 5px;
z-index: 100;
pointer-events: none;
}
.tooltip {
z-index: 1000;
font-family: Arial, sans-serif;
font-size: 14px;
line-height: 1.4;
max-width: 300px;
white-space: nowrap;
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
@media (max-width: 768px) {
.info {
font-size: 12px;
top: 5px;
right: 5px;
}
}