Repository navigation
Expand file tree
/
Copy pathsquawk.css
More file actions
114 lines (95 loc) · 1.56 KB
/
Copy pathsquawk.css
File metadata and controls
114 lines (95 loc) · 1.56 KB
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
:root {
color-scheme: dark;
font-family: system-ui, sans-serif;
}
.hbox {
display: flex;
flex-direction: row;
}
.vbox {
display: flex;
flex-direction: column;
}
.warningText {
color: red;
font-size: small;
font-weight: bold;
text-align: center;
}
#metarBox {
box-sizing: border-box;
display: grid;
gap: 5px;
grid-template-columns: auto 1fr auto;
grid-template-rows: auto 1fr;
width: 100%;
}
#metarBox #icaoLabel {
grid-column: 1;
}
#metarBox #icaoInput {
grid-column: 2;
}
#metarBox #icaoButton {
grid-column: 3;
}
#metarBox textarea {
box-sizing: border-box;
font-family: monospace;
font-size: larger;
grid-column: span 3;
grid-row: 2;
min-height: 6em;
resize: vertical;
width: 100%;
}
#squawkBox {
display: grid;
gap: 5px;
grid-template-rows: 3fr 2fr;
place-items: center;
}
#squawkBox span {
font-size: 2rem;
font-weight: bold;
text-align: center;
grid-row: 1;
width: 5ch;
}
#squawkBox button {
grid-row: 2;
height: 100%;
width: 100%;
}
#todBox {
display: grid;
gap: 5px;
grid-template-columns: 1fr 1fr;
place-items: center;
}
#todBox div {
display: flex;
flex-direction: column;
}
#todBox input {
align-self: center;
text-align: center;
width: 15ch;
}
#todBox span {
text-align: center;
}
#todBox span.result {
font-weight: bold;
}
fieldset {
border: 1px solid;
}
label {
text-align: center;
}
main {
margin: auto;
max-width: 95vw;
width: fit-content;
}