-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTeletextMap.module.css
153 lines (132 loc) · 2.17 KB
/
TeletextMap.module.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
.teletextContainer {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background-color: #000;
padding: 1rem;
}
.teletextScreen {
font-family: monospace;
background-color: #000080;
color: #ffff00;
padding: 2rem;
border: 10px solid #808080;
box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
animation: flicker 0.15s infinite;
max-width: 100%;
width: fit-content;
}
.mapContainer {
margin: 2rem 0;
background-color: #000;
padding: 1rem;
border: 2px solid #ffff00;
}
.mapRow {
display: block;
text-align: center;
line-height: 1;
white-space: pre;
font-family: monospace;
color: inherit;
}
.mapChar {
font-size: 12px;
width: 8px;
height: 12px;
display: inline-block;
text-align: center;
transition: color 0.3s ease;
}
.mapChar span {
display: inline-block;
transition: color 0.2s ease;
}
.coordinates {
text-align: center;
margin: 1rem 0;
font-family: monospace;
font-size: 14px;
}
.controls {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.5rem;
margin-top: 1rem;
}
.controlsRow {
display: flex;
gap: 0.5rem;
justify-content: center;
}
.loading {
text-align: center;
padding: 2rem;
animation: blink 1s infinite;
}
.h1 {
text-align: center;
margin-bottom: 1rem;
font-size: 24px;
font-weight: bold;
}
.title {
text-align: center;
margin-bottom: 1rem;
font-size: 24px;
font-weight: bold;
}
.tooltipContainer {
position: fixed;
bottom: 1rem;
right: 1rem;
z-index: 50;
}
.helpButton {
color: #ffff00;
background: transparent;
border: 1px solid #ffff00;
transition: all 0.2s ease;
}
.helpButton:hover {
background: rgba(255, 255, 0, 0.1);
}
.tooltipContent {
background: #000080;
color: #ffff00;
border: 1px solid #ffff00;
padding: 0.75rem;
}
.tooltipContent p {
margin-bottom: 0.5rem;
font-weight: bold;
}
.tooltipContent ul {
list-style: none;
padding: 0;
margin: 0;
}
.tooltipContent li {
margin: 0.25rem 0;
}
@keyframes flicker {
0% {
opacity: 0.97;
}
50% {
opacity: 1;
}
100% {
opacity: 0.98;
}
}
@keyframes blink {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0;
}
}