Diff of /src/overview.css [000000] .. [d7fa72]

Switch to unified view

a b/src/overview.css
1
*{
2
    box-sizing: border-box;
3
    margin: 0;
4
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
5
}
6
html{
7
    height: 100%;
8
}
9
body{
10
    height: 100%;
11
    background:#ebebeb;
12
}
13
a{
14
    color:#007bff;
15
    text-decoration:none;
16
    font-weight: bold;
17
    -ms-touch-action:manipulation;
18
    touch-action:manipulation;
19
}
20
a:hover{
21
    color:#0056b3;
22
    text-decoration:underline;
23
}
24
a:active{
25
    color:#263c53;
26
}
27
a:visited{
28
    color:#58a9ff;
29
}
30
nav a:visited{
31
    color: #007bff;;
32
}
33
input[type=number]{
34
    height: 25px;
35
    font-size: 1rem;
36
}
37
button{
38
    font-size: 1.1rem;
39
    height: 24.4px;
40
  display: inline-flex;
41
  align-items: center;
42
}
43
h1, h2{
44
    text-align: center;
45
}
46
main{
47
    margin:0 auto;
48
    padding: 1em 2em;
49
    max-width: 1200px;
50
}
51
ul li{
52
    padding:0.3rem;
53
}
54
nav{
55
    width: 100%;
56
    height: 60px;
57
    background-color: #c8c8c8;
58
    text-align: center;
59
    font-size: 46px;
60
}
61
62
.container{
63
  width: 100%;
64
    max-width: 1200px;
65
    margin: 0 auto;
66
}
67
68
#overview{
69
    display: flex;
70
    flex-flow: row wrap;
71
    justify-content: center;
72
    align-items: center;
73
}
74
div:has(.preview-card){
75
    position: relative;
76
}
77
.preview-card{
78
    display: inline-block;
79
    width: 10em;
80
    height: 20em;
81
    margin: 1em;
82
    background-size: contain;
83
    background-repeat: no-repeat;
84
    background-position: center;
85
    background-color: white;
86
    text-align: center;
87
}
88
.preview-info{
89
    position: absolute;
90
    bottom: 20px;
91
    left: 15px;
92
    text-align: center;
93
    width: 10em;
94
}
95
.info-tools{
96
    display: flex;
97
    justify-content: space-between;
98
    font-size: 1.2rem;
99
}
100
.switch {
101
  position: relative;
102
    top: 5px;
103
  display: inline-block;
104
  width: 60px;
105
  height: 20px;
106
}
107
.switch input {
108
  opacity: 0;
109
  width: 0;
110
  height: 0;
111
}
112
.slider {
113
  position: absolute;
114
  cursor: pointer;
115
  top: 0;
116
  left: 0;
117
  right: 0;
118
  bottom: 0;
119
  background-color: #ccc;
120
  -webkit-transition: .4s;
121
  transition: .4s;
122
}
123
.slider:before {
124
  position: absolute;
125
  content: "";
126
  width: 26px;
127
  left: 4px;
128
  bottom: 3px;
129
  top: 3px;
130
  background-color: white;
131
  -webkit-transition: .4s;
132
  transition: .4s;
133
}
134
input:checked + .slider {
135
  background-color: #007bff;
136
}
137
input:focus + .slider {
138
  box-shadow: 0 0 1px #007bff;
139
}
140
input:checked + .slider:before {
141
  -webkit-transform: translateX(26px);
142
  -ms-transform: translateX(26px);
143
  transform: translateX(26px);
144
}
145
#popup-list{
146
    position: fixed;
147
    width: auto;
148
    max-height: 78vh;
149
    left: 1vw;
150
    top: 20vh;
151
    overflow: auto;
152
    font-weight: bold;
153
    text-shadow: 0 0 1px rgb(255, 255, 255);
154
    z-index: 999;
155
}
156
#popup-list tbody{
157
    height: max-content;
158
    background-color: rgba(245, 245, 245, 0.749);
159
}
160
.leaflet-container {
161
height: 60em;
162
width: 100%;
163
max-width: 100%;
164
max-height: 100%;
165
border: 2px solid #5e5e5e;
166
background: white;
167
}
168
.leaflet-container:hover{
169
    cursor: crosshair;
170
}
171
.leaflet-control-attribution {
172
    display: none;
173
}
174
table {
175
    width: 100%;
176
    margin-bottom: 20px;
177
}
178
td, th{
179
    border: 2px solid #5e5e5e;
180
}
181
td:first-child{
182
    width: 35%;
183
}
184
#map {
185
    max-width: clamp(1200px, 80vw, 80vw);
186
    height: 80vh;
187
    margin: 0 auto;
188
}
189
.cut-viewer-container{
190
    width: 95%;
191
    margin: 0 auto;
192
    display: flex;
193
}
194
.fragment-map {
195
    position: relative;
196
    flex: 0 1 1000%;
197
}
198
    #fragment {
199
        height: 100%;
200
    cursor: crosshair;
201
}
202
#markerInfo{
203
    flex: 0 1 auto;
204
}
205
#markerInfo tr, td{
206
    height: 1rem;
207
}
208
#markerInfo td:nth-child(2)::before, #markerInfo td:nth-child(3)::before{
209
    content: '';
210
  display: block;
211
  width: 50px;
212
}
213
#markerInfo td:first-child::before {
214
  content: '';
215
  display: block;
216
  width: 95px;
217
}
218
.marker {
219
    position: absolute;
220
    color: greenyellow;
221
    font-weight: bold;
222
    pointer-events: none;
223
    white-space: nowrap;
224
    opacity: 0.8;
225
}
226
.comment {
227
    text-shadow: 0 0 5px black;
228
    font-size: 3rem;
229
    position: relative;
230
    left: -25px;
231
    top: -10px;
232
}
233
.marker-link{
234
    color: #007bff;
235
    font-weight: bold;
236
    cursor: pointer;
237
}
238
.marker-link:hover{
239
    text-decoration: underline;
240
    color: #0056b3;
241
}