Skip to content

Commit 9ba063b

Browse files
committed
0928 update
1 parent 19e4e0b commit 9ba063b

87 files changed

Lines changed: 907 additions & 1562 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.DS_Store
2+
test*
3+
.idea

404.html

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,23 @@
1919
color: #df0000;
2020
}
2121

22-
h1 {
22+
main h1 {
2323
font-size: 140px;
2424
margin-bottom: 0;
2525
font-weight: 500;
2626
}
2727

28-
p {
28+
main p {
2929
font-size: 40px;
30-
margin-top: 0;
30+
margin: 0;
3131
font-weight: 500;
3232
}
33+
34+
main a {
35+
display: inline-block;
36+
font-size: 20px;
37+
margin-top: 1em;
38+
}
3339
</style>
3440
</head>
3541
<body>
@@ -49,7 +55,10 @@
4955
</header>
5056
<main>
5157
<h1>404</h1>
52-
<p>Page Not Found</p>
58+
<div>
59+
<p>Page Not Found</p>
60+
<a href="javascript:history.back();">返回上一页</a>
61+
</div>
5362
</main>
5463
</body>
5564
</html>

asset/airport.json

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,18 @@
22
{
33
"iata": "LGW",
44
"icao": "EGKK",
5-
"lat": 51.148333,
6-
"lng": -0.19,
5+
"lat": 51.148056,
6+
"lng": -0.190278,
77
"name": "London/Gatwick",
8-
"timezone": "UTC/UTC +1",
9-
"color": "#004489"
8+
"timezone": "UTC/UTC +1"
109
},
1110
{
1211
"iata": "GLA",
1312
"icao": "EGPF",
14-
"lat": 55.871667,
15-
"lng": -4.433333,
13+
"lat": 55.871944,
14+
"lng": -4.433056,
1615
"name": "Glasgow",
17-
"timezone": "UTC/UTC +1",
18-
"color": "#213368"
16+
"timezone": "UTC/UTC +1"
1917
},
2018
{
2119
"iata": "AMS",
@@ -36,8 +34,8 @@
3634
{
3735
"iata": "SIN",
3836
"icao": "WSSS",
39-
"lat": 1.36,
40-
"lng": 103.99,
37+
"lat": 1.359211,
38+
"lng": 103.989375,
4139
"name": "Singapore/Changi",
4240
"timezone": "UTC +8"
4341
},

asset/flight.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[
22
{
3+
"id": "MU567-230707",
34
"airline": "MU",
45
"number": "MU/CES 567",
56
"from": "PVG",
@@ -1648,6 +1649,7 @@
16481649
]
16491650
},
16501651
{
1652+
"id": "MU546-230714",
16511653
"airline": "MU",
16521654
"number": "MU/CES 546",
16531655
"from": "SIN",
@@ -3135,6 +3137,7 @@
31353137
]
31363138
},
31373139
{
3140+
"id": "CA847-230912",
31383141
"airline": "CA",
31393142
"number": "CA/CCA 847",
31403143
"from": "PVG",
@@ -6258,6 +6261,7 @@
62586261
]
62596262
},
62606263
{
6264+
"id": "EZY863-230912",
62616265
"airline": "U2",
62626266
"number": "U2/EZY 863",
62636267
"from": "LGW",
@@ -6939,6 +6943,7 @@
69396943
]
69406944
},
69416945
{
6946+
"id": "KL1472-231210",
69426947
"airline": "ZQ",
69436948
"number": "KL/KLM 1472",
69446949
"from": "GLA",
@@ -7686,6 +7691,7 @@
76867691
]
76877692
},
76887693
{
7694+
"id": "KL895-231210",
76897695
"airline": "KL",
76907696
"number": "KL/KLM 895",
76917697
"from": "AMS",
@@ -10396,6 +10402,7 @@
1039610402
]
1039710403
},
1039810404
{
10405+
"id": "FM9307-231221",
1039910406
"airline": "FM",
1040010407
"number": "FM/CSH 9307",
1040110408
"from": "SHA",
@@ -11214,6 +11221,7 @@
1121411221
]
1121511222
},
1121611223
{
11224+
"id": "CZ3595-231224",
1121711225
"airline": "CZ",
1121811226
"number": "CZ/CSH 3595",
1121911227
"from": "CAN",
@@ -11796,6 +11804,7 @@
1179611804
]
1179711805
},
1179811806
{
11807+
"id": "MU771-240103",
1179911808
"airline": "MU",
1180011809
"number": "MU/CES 771",
1180111810
"from": "PVG",
@@ -13622,6 +13631,7 @@
1362213631
]
1362313632
},
1362413633
{
13634+
"id": "KL1471-240104",
1362513635
"airline": "ZQ",
1362613636
"number": "KL/KLM 1471",
1362713637
"from": "AMS",
@@ -14014,6 +14024,7 @@
1401414024
]
1401514025
},
1401614026
{
14027+
"id": "EZY868-240527",
1401714028
"airline": "U2",
1401814029
"number": "U2/EZY 868",
1401914030
"from": "GLA",
@@ -14648,6 +14659,7 @@
1464814659
]
1464914660
},
1465014661
{
14662+
"id": "EZY869-240601",
1465114663
"airline": "U2",
1465214664
"number": "U2/EZY 869",
1465314665
"from": "LGW",
@@ -15293,6 +15305,7 @@
1529315305
]
1529415306
},
1529515307
{
15308+
"id": "BA1481-241222",
1529615309
"airline": "BA",
1529715310
"number": "BA/SHT 1481",
1529815311
"from": "GLA",
@@ -16135,6 +16148,7 @@
1613516148
]
1613616149
},
1613716150
{
16151+
"id": "MU202-241222",
1613816152
"airline": "MU",
1613916153
"number": "MU/CES 202",
1614016154
"from": "LGW",
@@ -18838,6 +18852,7 @@
1883818852
]
1883918853
},
1884018854
{
18855+
"id": "MU201-250103",
1884118856
"airline": "MU",
1884218857
"number": "MU/CES 201",
1884318858
"from": "PVG",
@@ -22533,6 +22548,7 @@
2253322548
]
2253422549
},
2253522550
{
22551+
"id": "EZY863-250103",
2253622552
"airline": "U2",
2253722553
"number": "U2/EZY 863",
2253822554
"from": "LGW",
@@ -23004,6 +23020,7 @@
2300423020
]
2300523021
},
2300623022
{
23023+
"id": "KL940-250526",
2300723024
"airline": "T3",
2300823025
"number": "KL/KLM 940",
2300923026
"from": "GLA",
@@ -23590,6 +23607,7 @@
2359023607
]
2359123608
},
2359223609
{
23610+
"id": "MU772-250526",
2359323611
"airline": "MU",
2359423612
"number": "MU/CES 772",
2359523613
"from": "AMS",
@@ -25082,6 +25100,7 @@
2508225100
]
2508325101
},
2508425102
{
25103+
"id": "HO1355-250616",
2508525104
"airline": "HO",
2508625105
"number": "HO/DKH 1355",
2508725106
"from": "PVG",
@@ -26935,6 +26954,7 @@
2693526954
]
2693626955
},
2693726956
{
26957+
"id": "HO1356-250622",
2693826958
"airline": "HO",
2693926959
"number": "HO/DKH 1356",
2694026960
"from": "DPS",
@@ -28726,6 +28746,7 @@
2872628746
]
2872728747
},
2872828748
{
28749+
"id": "KL896-250630",
2872928750
"airline": "KL",
2873028751
"number": "KL/KLM 896",
2873128752
"from": "PVG",
@@ -32804,6 +32825,7 @@
3280432825
]
3280532826
},
3280632827
{
32828+
"id": "KL945-250630",
3280732829
"airline": "KL",
3280832830
"number": "KL/KLM 945",
3280932831
"from": "AMS",

css/footprint.css

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
td {
2+
vertical-align: top;
3+
}
4+
5+
.table-wrap::-webkit-scrollbar {
6+
height: 0.5rem;
7+
width: 0.5rem;
8+
}
9+
10+
.table-wrap::-webkit-scrollbar-track {
11+
background: var(--grey_2);
12+
}
13+
14+
.table-wrap::-webkit-scrollbar-thumb {
15+
background: var(--grey_1);
16+
}
17+
18+
.table-wrap::-webkit-scrollbar-thumb:hover {
19+
background: #df0000;
20+
}
21+
22+
.wikitable {
23+
margin: 0;
24+
}
25+
26+
td>div {
27+
display: flex;
28+
height: 22.5px;
29+
align-items: center;
30+
}
31+
32+
.flex {
33+
display: -webkit-flex;
34+
display: flex;
35+
-webkit-justify-content: space-between;
36+
justify-content: space-between;
37+
flex-wrap: wrap;
38+
gap: 10px;
39+
}
40+
41+
.flex>.table-wrap {
42+
overflow: auto;
43+
}
44+
45+
.flex>.table-wrap>.wikitable {
46+
word-break: keep-all;
47+
width: max-content;
48+
}
49+
50+
.flex>div {
51+
width: calc(50% - 5px);
52+
}
53+
54+
55+
.leaflet-wrap>iframe,
56+
.leaflet-wrap>div {
57+
width: 100%;
58+
height: 100%;
59+
}
60+
61+
@media screen and (max-width: 1000px) {
62+
.flex>div {
63+
max-width: unset;
64+
width: 100% !important;
65+
}
66+
67+
.leaflet-wrap {
68+
height: 90vh;
69+
}
70+
}
71+
72+
@media (min-width: 1001px) {
73+
.table-wrap, .leaflet-wrap {
74+
height: calc(100vh - 3.125rem - 2.625em - 45px);
75+
}
76+
}
77+
78+
@media (max-width: 500px) {
79+
.table-wrap {
80+
overflow-y: auto;
81+
}
82+
83+
.wikitable {
84+
overflow: auto hidden;
85+
width: max-content;
86+
margin-bottom: 0;
87+
}
88+
}
89+
90+
@media (max-width: 480px) {
91+
.table-wrap::-webkit-scrollbar {
92+
height: 0.25rem;
93+
width: 0.25rem;
94+
}
95+
}
96+
97+
@media (max-width: calc(100vh - 3.125rem - 5em)) {
98+
.leaflet-wrap>iframe {
99+
width: 100%;
100+
height: 80vh;
101+
/* aspect-ratio: 1/1; */
102+
}
103+
}

0 commit comments

Comments
 (0)