808 lines
13 KiB
CSS
808 lines
13 KiB
CSS
* {
|
|
box-sizing: border-box;
|
|
}
|
|
html {
|
|
font:
|
|
16px/1.45 "Inter",
|
|
"Segoe UI",
|
|
Arial,
|
|
sans-serif;
|
|
color: #192f2b;
|
|
background: #f4f3eb;
|
|
}
|
|
body {
|
|
margin: 0;
|
|
}
|
|
header {
|
|
height: 74px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 max(5vw, 20px);
|
|
border-bottom: 1px solid #c8d0c5;
|
|
background: #fafaf4;
|
|
}
|
|
a {
|
|
color: inherit;
|
|
}
|
|
.brand {
|
|
font-size: 21px;
|
|
font-weight: 800;
|
|
letter-spacing: -0.8px;
|
|
text-decoration: none;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
.mark {
|
|
height: 29px;
|
|
width: 32px;
|
|
background: repeating-linear-gradient(
|
|
113deg,
|
|
#ed7546 0 6px,
|
|
transparent 6px 9px
|
|
);
|
|
clip-path: polygon(0 100%, 55% 0, 100% 0, 65% 100%);
|
|
}
|
|
nav {
|
|
display: flex;
|
|
gap: 22px;
|
|
}
|
|
nav a {
|
|
font-size: 14px;
|
|
font-weight: 650;
|
|
text-decoration: none;
|
|
}
|
|
nav a:hover,
|
|
a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
main {
|
|
max-width: 1320px;
|
|
margin: auto;
|
|
padding: 38px 5vw 72px;
|
|
}
|
|
h1,
|
|
h2,
|
|
h3,
|
|
p {
|
|
margin: 0 0 0.65em;
|
|
}
|
|
h1 {
|
|
font-size: clamp(35px, 5vw, 68px);
|
|
font-weight: 760;
|
|
letter-spacing: -0.062em;
|
|
line-height: 1.02;
|
|
}
|
|
h2 {
|
|
font-size: 25px;
|
|
letter-spacing: -0.045em;
|
|
}
|
|
h3 {
|
|
font-size: 16px;
|
|
}
|
|
small,
|
|
.muted {
|
|
color: #526962;
|
|
}
|
|
.mono,
|
|
.eyebrow,
|
|
.tag,
|
|
th,
|
|
.runlabel,
|
|
.serial {
|
|
font-family: "IBM Plex Mono", Consolas, monospace;
|
|
}
|
|
.eyebrow,
|
|
.tag {
|
|
font-size: 11px;
|
|
letter-spacing: 0.1em;
|
|
text-transform: uppercase;
|
|
font-weight: 650;
|
|
}
|
|
.eyebrow {
|
|
display: block;
|
|
margin-bottom: 15px;
|
|
}
|
|
.homegrid {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1.4fr) minmax(300px, 1fr);
|
|
gap: 18px;
|
|
}
|
|
.hero {
|
|
position: relative;
|
|
background: #163e35;
|
|
color: #f6f5e6;
|
|
border-radius: 12px;
|
|
padding: clamp(24px, 4vw, 56px);
|
|
overflow: hidden;
|
|
min-height: 445px;
|
|
}
|
|
.hero .eyebrow {
|
|
color: #b4cebd;
|
|
}
|
|
.hero p {
|
|
max-width: 31em;
|
|
color: #dce7d9;
|
|
}
|
|
.diagram {
|
|
height: 160px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
margin: 22px -9px 0;
|
|
background-image:
|
|
linear-gradient(#9fb8a61a 1px, transparent 1px),
|
|
linear-gradient(90deg, #9fb8a61a 1px, transparent 1px);
|
|
background-size: 19px 19px;
|
|
transform: skewY(-7deg);
|
|
}
|
|
.strip {
|
|
position: absolute;
|
|
left: 3%;
|
|
right: 3%;
|
|
height: 25px;
|
|
border: 1px solid #8da795;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 0 8px;
|
|
font: 11px monospace;
|
|
color: #e5e6ca;
|
|
}
|
|
.strip:after {
|
|
content: "";
|
|
flex: 1;
|
|
border-bottom: 2px dashed #c0cab1;
|
|
}
|
|
.strip:first-child {
|
|
top: 26px;
|
|
}
|
|
.strip:nth-child(2) {
|
|
bottom: 18px;
|
|
}
|
|
.taxi {
|
|
position: absolute;
|
|
top: 50px;
|
|
left: 22%;
|
|
width: 52%;
|
|
height: 68px;
|
|
border: 3px double #efa96b;
|
|
border-radius: 0 0 24px 16px;
|
|
transform: skewX(-29deg);
|
|
}
|
|
.panel {
|
|
background: #fffef8;
|
|
border: 1px solid #cbd3c7;
|
|
border-radius: 12px;
|
|
padding: 24px;
|
|
min-width: 0;
|
|
}
|
|
.section {
|
|
margin-top: 32px;
|
|
}
|
|
.toolbar,
|
|
.controls,
|
|
.chips,
|
|
.row,
|
|
.hand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 9px;
|
|
flex-wrap: wrap;
|
|
}
|
|
.toolbar {
|
|
justify-content: space-between;
|
|
margin-bottom: 16px;
|
|
}
|
|
.toolbar h1,
|
|
.toolbar h2 {
|
|
margin: 0;
|
|
}
|
|
.controls {
|
|
margin: 14px 0;
|
|
}
|
|
fieldset {
|
|
border: 0;
|
|
padding: 0;
|
|
margin: 16px 0 20px;
|
|
}
|
|
legend,
|
|
label.caption {
|
|
display: block;
|
|
margin-bottom: 8px;
|
|
font-weight: 650;
|
|
font-size: 14px;
|
|
}
|
|
button,
|
|
select,
|
|
input {
|
|
font: inherit;
|
|
color: inherit;
|
|
}
|
|
button,
|
|
.btn,
|
|
select,
|
|
input {
|
|
border: 1px solid #b9c7ba;
|
|
background: #fafbf5;
|
|
border-radius: 6px;
|
|
padding: 8px 13px;
|
|
}
|
|
button,
|
|
.btn,
|
|
select {
|
|
cursor: pointer;
|
|
}
|
|
.btn {
|
|
text-decoration: none;
|
|
display: inline-block;
|
|
}
|
|
button:hover,
|
|
.btn:hover {
|
|
border-color: #285b4a;
|
|
background: #e7eee1;
|
|
text-decoration: none;
|
|
}
|
|
button:focus-visible,
|
|
a:focus-visible,
|
|
input:focus-visible,
|
|
select:focus-visible {
|
|
outline: 3px solid #e8773c;
|
|
outline-offset: 2px;
|
|
}
|
|
button:disabled {
|
|
cursor: default;
|
|
opacity: 0.5;
|
|
}
|
|
.selected,
|
|
.selected:hover {
|
|
background: #dceadc;
|
|
border-color: #246645;
|
|
box-shadow: inset 0 0 0 1px #246645;
|
|
}
|
|
.primary,
|
|
.primary:hover {
|
|
background: #f18551;
|
|
border-color: #f18551;
|
|
color: #1b2724;
|
|
font-weight: 750;
|
|
padding: 12px 22px;
|
|
}
|
|
.wide {
|
|
width: 100%;
|
|
margin-top: 7px;
|
|
}
|
|
.dot {
|
|
width: 12px;
|
|
height: 12px;
|
|
display: inline-block;
|
|
border-radius: 100%;
|
|
margin-right: 6px;
|
|
}
|
|
.tag {
|
|
background: #e3ebdf;
|
|
border-radius: 4px;
|
|
padding: 5px 7px;
|
|
display: inline-block;
|
|
}
|
|
.board {
|
|
background: #193f35;
|
|
color: #f4f5e8;
|
|
border-radius: 12px;
|
|
padding: 24px;
|
|
min-width: 0;
|
|
}
|
|
.board h2 {
|
|
font-size: 23px;
|
|
}
|
|
.board small {
|
|
color: #c0cebd;
|
|
}
|
|
.runway {
|
|
border: 1px solid #729081;
|
|
border-radius: 5px;
|
|
padding: 9px;
|
|
margin: 9px 0;
|
|
background: #295046;
|
|
}
|
|
.runlabel {
|
|
font-weight: 700;
|
|
color: #eee5b4;
|
|
font-size: 14px;
|
|
}
|
|
.slots {
|
|
display: flex;
|
|
gap: 4px;
|
|
align-items: stretch;
|
|
flex-wrap: wrap;
|
|
margin-top: 6px;
|
|
}
|
|
.slot {
|
|
min-width: 28px;
|
|
min-height: 24px;
|
|
padding: 3px 5px;
|
|
border: 1px solid #789385;
|
|
border-radius: 3px;
|
|
font: 12px/1.5 monospace;
|
|
color: #f6f3de;
|
|
}
|
|
.empty {
|
|
border-style: dashed;
|
|
color: #b7cbbc;
|
|
}
|
|
.plane {
|
|
background: #fbfaf1;
|
|
color: #202d27;
|
|
border-left: 4px solid var(--c);
|
|
font: 600 12px monospace;
|
|
padding: 5px;
|
|
display: inline-block;
|
|
border-radius: 3px;
|
|
}
|
|
.standrow {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 5px 0;
|
|
flex-wrap: wrap;
|
|
}
|
|
.standrow b {
|
|
font-size: 13px;
|
|
min-width: 44px;
|
|
}
|
|
.card {
|
|
min-width: 44px;
|
|
text-align: center;
|
|
background: #f8f5e9;
|
|
border: 1px solid #c9c8b3;
|
|
border-top: 4px solid #54846d;
|
|
padding: 9px 6px;
|
|
border-radius: 5px;
|
|
font: bold 14px monospace;
|
|
}
|
|
.hand {
|
|
gap: 5px;
|
|
}
|
|
.pay {
|
|
font: 13px monospace;
|
|
}
|
|
.log {
|
|
padding-left: 1.4em;
|
|
}
|
|
.log li {
|
|
margin: 0.4em 0;
|
|
}
|
|
.choices {
|
|
max-height: 295px;
|
|
overflow: auto;
|
|
display: grid;
|
|
gap: 6px;
|
|
margin: 8px 0;
|
|
}
|
|
.choices button {
|
|
text-align: left;
|
|
}
|
|
.ledger {
|
|
display: grid;
|
|
gap: 10px;
|
|
}
|
|
.entry {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
background: #fffef7;
|
|
border: 1px solid #c9d1c6;
|
|
border-radius: 8px;
|
|
padding: 16px;
|
|
}
|
|
.entry small {
|
|
display: block;
|
|
}
|
|
table {
|
|
border-collapse: collapse;
|
|
width: 100%;
|
|
font-size: 14px;
|
|
}
|
|
th,
|
|
td {
|
|
text-align: left;
|
|
padding: 8px;
|
|
border-bottom: 1px solid #d1d8cd;
|
|
}
|
|
th {
|
|
font-size: 12px;
|
|
}
|
|
.scroll {
|
|
overflow-x: auto;
|
|
}
|
|
#notice {
|
|
position: fixed;
|
|
bottom: 16px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
background: #203e34;
|
|
color: #fff;
|
|
padding: 9px 16px;
|
|
border-radius: 6px;
|
|
display: none;
|
|
z-index: 3;
|
|
}
|
|
#notice.show {
|
|
display: block;
|
|
}
|
|
.range {
|
|
width: 100%;
|
|
accent-color: #2d6851;
|
|
}
|
|
.serial {
|
|
font-size: 12px;
|
|
white-space: nowrap;
|
|
}
|
|
.selector {
|
|
display: grid;
|
|
gap: 6px;
|
|
}
|
|
.selector select {
|
|
max-width: 100%;
|
|
}
|
|
.sub {
|
|
font-size: 13px;
|
|
color: #536c5e;
|
|
}
|
|
.space {
|
|
margin-top: 14px;
|
|
}
|
|
@media (max-width: 800px) {
|
|
main {
|
|
padding: 20px 14px 62px;
|
|
}
|
|
.homegrid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.hero {
|
|
min-height: unset;
|
|
}
|
|
.diagram {
|
|
height: 125px;
|
|
}
|
|
.taxi {
|
|
height: 37px;
|
|
}
|
|
header {
|
|
height: auto;
|
|
padding: 15px;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
}
|
|
nav {
|
|
gap: 12px;
|
|
}
|
|
.board,
|
|
.panel {
|
|
padding: 17px;
|
|
}
|
|
.entry {
|
|
align-items: flex-start;
|
|
}
|
|
.toolbar {
|
|
align-items: flex-start;
|
|
}
|
|
.section {
|
|
margin-top: 20px;
|
|
}
|
|
}
|
|
.slot.allowed {
|
|
background: #e7edb4;
|
|
color: #193d35;
|
|
border: 1px solid #eff5af;
|
|
}
|
|
|
|
/* Vector board and printed card faces */
|
|
.home-field {
|
|
margin: 24px -22px -32px;
|
|
overflow: hidden;
|
|
border: 5px solid #7c9681;
|
|
border-radius: 6px;
|
|
box-shadow: 0 12px 35px #12271d55;
|
|
transform: rotate(-3deg);
|
|
}
|
|
.home-field .airfield {
|
|
width: 100%;
|
|
height: auto;
|
|
display: block;
|
|
}
|
|
.tablegrid {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr);
|
|
gap: 16px;
|
|
align-items: start;
|
|
}
|
|
.tablegrid select {max-width: 100%}
|
|
@media (min-width: 960px) {
|
|
main:has(.tablegrid) {
|
|
max-width: 1920px;
|
|
padding: 24px clamp(18px, 2vw, 40px) 60px;
|
|
}
|
|
.tablegrid {
|
|
grid-template-columns: minmax(0, 3fr) minmax(366px, 2fr);
|
|
gap: clamp(12px, 1.2vw, 24px);
|
|
}
|
|
.tablegrid > .panel {padding: clamp(14px, 1.2vw, 24px)}
|
|
.tablegrid .flight-hand {
|
|
grid-template-columns: repeat(auto-fit, minmax(min(100%, 126px), 1fr));
|
|
}
|
|
}
|
|
.map-panel {
|
|
overflow: hidden;
|
|
border-radius: 12px;
|
|
border: 1px solid #b8c5b4;
|
|
background: #1f4037;
|
|
min-width: 0;
|
|
color: #f0f3e7;
|
|
}
|
|
.map-heading {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 0.75em;
|
|
padding: 12px 18px;
|
|
}
|
|
.map-heading h2 {
|
|
font-size: 21px;
|
|
margin: 0;
|
|
}
|
|
.map-zoom {
|
|
font-size: 13px;
|
|
background: #34554a;
|
|
color: #fff;
|
|
border-color: #779281;
|
|
}
|
|
.map-zoom:hover {
|
|
background: #496a5e;
|
|
}
|
|
.map-window {
|
|
overflow: auto;
|
|
overscroll-behavior-x: contain;
|
|
scrollbar-color: #96a88e #304c3b;
|
|
}
|
|
.map-window .airfield {
|
|
width: 100%;
|
|
height: auto;
|
|
display: block;
|
|
}
|
|
.map-window.zoomed .airfield {
|
|
width: 150%;
|
|
min-width: 1000px;
|
|
}
|
|
.map-legend {
|
|
display: flex;
|
|
gap: 24px;
|
|
padding: 10px 18px;
|
|
flex-wrap: wrap;
|
|
}
|
|
.map-legend span {
|
|
display: flex;
|
|
gap: 8px;
|
|
align-items: baseline;
|
|
}
|
|
.map-legend small {
|
|
color: #c9d7c4;
|
|
font-size: 12px;
|
|
}
|
|
.map-legend b {
|
|
font-size: 14px;
|
|
}
|
|
.airfield text {
|
|
font-family: Consolas, "Liberation Mono", monospace;
|
|
pointer-events: none;
|
|
}
|
|
.rw-number {
|
|
font-size: 26px;
|
|
font-weight: bold;
|
|
fill: #f3f2e5;
|
|
letter-spacing: 1px;
|
|
}
|
|
.ground-title {
|
|
font-size: 10px;
|
|
letter-spacing: 2px;
|
|
font-weight: bold;
|
|
fill: #3e5744;
|
|
}
|
|
.roof-title {
|
|
font-size: 12px;
|
|
letter-spacing: 2px;
|
|
font-weight: bold;
|
|
fill: #3b514b;
|
|
}
|
|
.spot-label,
|
|
.jet-id {
|
|
font-weight: 700;
|
|
text-anchor: middle;
|
|
fill: #2a372d;
|
|
font-size: 11px;
|
|
}
|
|
.jet-id {
|
|
fill: white;
|
|
font-size: 11px;
|
|
}
|
|
.map-slot[data-act] {
|
|
cursor: pointer;
|
|
outline: none;
|
|
}
|
|
.map-slot[data-act]:hover .spot,
|
|
.map-slot[data-act]:focus-visible .spot {
|
|
stroke: #fff;
|
|
stroke-width: 4;
|
|
}
|
|
.map-slot.legal .spot {
|
|
fill: #e8ffb0;
|
|
stroke: #1d6146;
|
|
}
|
|
.flight-hand {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(136px, 1fr));
|
|
gap: 8px;
|
|
align-items: stretch;
|
|
margin: 8px 0 16px;
|
|
}
|
|
.flight-card {
|
|
--ink: #275744;
|
|
--wash: #e2ecdb;
|
|
position: relative;
|
|
min-width: 0;
|
|
display: flex;
|
|
align-items: stretch;
|
|
flex-direction: column;
|
|
text-align: left;
|
|
border-radius: 7px;
|
|
padding: 9px 10px 11px;
|
|
border: 1px solid #b5bfac;
|
|
border-top: 4px solid var(--ink);
|
|
background: #fffdf2;
|
|
color: #192f27;
|
|
box-shadow: 0 2px 0 #cbd0bd;
|
|
}
|
|
.fc-weather {
|
|
--ink: #375e75;
|
|
--wash: #dfebeb;
|
|
}
|
|
.fc-incident {
|
|
--ink: #924e39;
|
|
--wash: #f1e1cd;
|
|
}
|
|
.fc-special {
|
|
--ink: #695476;
|
|
--wash: #eae3ed;
|
|
}
|
|
.fc-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 3px;
|
|
font-size: 10px;
|
|
color: var(--ink);
|
|
font-weight: 700;
|
|
}
|
|
.fc-head b {
|
|
font:
|
|
700 17px/1.1 Consolas,
|
|
monospace;
|
|
}
|
|
.fc-art {
|
|
height: 39px;
|
|
width: 100%;
|
|
margin: 7px 0;
|
|
background: repeating-linear-gradient(
|
|
125deg,
|
|
var(--wash) 0 9px,
|
|
#fff7 9px 10px,
|
|
var(--wash) 10px 19px
|
|
);
|
|
border-radius: 3px;
|
|
color: var(--ink);
|
|
}
|
|
.fc-title {
|
|
font-size: 14px;
|
|
font-weight: 740;
|
|
line-height: 1.2;
|
|
overflow-wrap: anywhere;
|
|
hyphens: auto;
|
|
}
|
|
.fc-en {
|
|
font-size: 11px;
|
|
color: var(--ink);
|
|
margin-top: 3px;
|
|
}
|
|
.fc-effect {
|
|
display: block;
|
|
font-size: 12px;
|
|
line-height: 1.35;
|
|
margin-top: 8px;
|
|
padding-top: 7px;
|
|
border-top: 1px solid #d9ddce;
|
|
color: #394d40;
|
|
}
|
|
button.flight-card:hover {
|
|
background: #fff9de;
|
|
border-color: var(--ink);
|
|
}
|
|
button.flight-card.chosen {
|
|
outline: 3px solid #29724e;
|
|
outline-offset: -2px;
|
|
background: #e9f1d8;
|
|
}
|
|
button.flight-card.chosen .fc-art {
|
|
box-shadow: inset 0 0 0 1px #4f865f;
|
|
}
|
|
.selector select {
|
|
width: 100%;
|
|
}
|
|
@media (min-width: 1050px) {
|
|
.flight-hand {
|
|
grid-template-columns: repeat(auto-fill, minmax(144px, 1fr));
|
|
}
|
|
.homegrid {
|
|
align-items: stretch;
|
|
}
|
|
.hero {
|
|
padding-bottom: 40px;
|
|
}
|
|
}
|
|
@media (max-width: 800px) {
|
|
.map-window .airfield {
|
|
min-width: 620px;
|
|
}
|
|
.map-window.zoomed .airfield {
|
|
min-width: 1000px;
|
|
}
|
|
.map-heading,
|
|
.map-legend {
|
|
padding: 10px 12px;
|
|
}
|
|
.map-legend {
|
|
gap: 6px 15px;
|
|
}
|
|
.flight-hand {
|
|
grid-template-columns: repeat(auto-fill, minmax(122px, 1fr));
|
|
}
|
|
.home-field {
|
|
margin: 16px -5px -5px;
|
|
}
|
|
.map-panel,
|
|
.tablegrid > .panel {
|
|
min-width: 0;
|
|
}
|
|
}
|
|
.bay-name {
|
|
font-size: 11px;
|
|
letter-spacing: 0.6px;
|
|
fill: #405744;
|
|
font-weight: 700;
|
|
}
|
|
.bay-value {
|
|
font-size: 12px;
|
|
fill: #193e31;
|
|
font-weight: bold;
|
|
}
|
|
@media (max-width: 800px) {
|
|
.map-window:not(.zoomed) .airfield {
|
|
min-width: 0;
|
|
}
|
|
.map-window.zoomed {
|
|
max-height: 68vh;
|
|
}
|
|
}
|
|
|
|
.build-version { font: 600 12px/1.2 Consolas, monospace; color: #455f55; letter-spacing: 0; white-space: nowrap; }
|
|
|
|
.danger{color:#883725;border-color:#b58d80}.archive-tools:empty{display:none}.ledger .entry{flex-wrap:wrap}
|
|
|
|
.hangar {padding: .85rem 1rem; border-top: 1px solid #acb9ad}
|
|
.hangar h3,.hangar p {margin: 0}
|
|
.hangar ul {display:flex;flex-wrap:wrap;gap:.4rem;margin:.5rem 0 0;padding:0;list-style:none}
|
|
.hangar li {display:flex;align-items:center;gap:.3rem;border:1px solid #acb9ad;border-radius:.3rem;padding:.2rem .45rem;font-size:.8rem}
|
|
.hangar svg {width:2rem;height:2rem;stroke:currentColor;stroke-width:.7}
|
|
|
|
.replay-step {width:6em}
|