Jump to content

MediaWiki:Common.css

From Skyward Air Virtual Doc Center
Revision as of 20:59, 5 March 2026 by WikiSysop (talk | contribs) (Created page with "CSS placed here will be applied to all skins: /* ═══════════════════════════════════════════════════════════ SKYWARD AIR VIRTUAL — DOC CENTER Paste into: MediaWiki:Common.css ═══════════════════════════════════════════════════════...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */
/* ═══════════════════════════════════════════════════════════
   SKYWARD AIR VIRTUAL — DOC CENTER
   Paste into: MediaWiki:Common.css
   ═══════════════════════════════════════════════════════════ */

/* ── VARIABLES & BASE ── */
.sav-portal {
  --red: #C0392B;
  --red-bright: #E74C3C;
  --amber: #E67E22;
  --amber-bright: #F39C12;
  --dark: #0A0C0F;
  --dark-2: #111418;
  --dark-3: #181C22;
  --dark-4: #1E242C;
  --steel: #8A9BB0;
  --steel-light: #B0BEC5;
  --white: #F0F4F8;
  --border: rgba(255,255,255,0.07);
  --border-amber: rgba(230,126,34,0.3);
  font-family: 'IBM Plex Sans', 'Segoe UI', Arial, sans-serif;
  font-weight: 300;
  background: var(--dark);
  color: var(--white);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0 3rem 0;
}

/* Override wiki page background when portal is present */
body:has(.sav-portal) #content,
body:has(.sav-portal) .mw-body {
  background: #0A0C0F;
  border: none;
  padding: 0;
}

/* ── HERO ── */
.sav-hero {
  background: linear-gradient(160deg, #111418 0%, #0A0C0F 100%);
  border-bottom: 1px solid rgba(230,126,34,0.15);
  padding: 3rem 2.5rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.sav-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(192,57,43,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.sav-hero-eyebrow {
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: #E67E22;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.sav-hero-eyebrow::before {
  content: '— ';
  color: #E67E22;
}

.sav-hero-title {
  font-family: 'Bebas Neue', 'Impact', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  color: #F0F4F8;
  margin-bottom: 0.4rem;
}

.sav-accent {
  color: #F39C12;
  display: block;
}

.sav-hero-sub {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  color: #8A9BB0;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.sav-hero-desc {
  font-size: 0.88rem;
  color: #B0BEC5;
  line-height: 1.75;
  max-width: 580px;
  margin-bottom: 1.5rem;
}

.sav-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.sav-stat {
  border-left: 2px solid rgba(230,126,34,0.35);
  padding-left: 1rem;
}

.sav-stat-num {
  font-family: 'Bebas Neue', 'Impact', sans-serif;
  font-size: 2.2rem;
  color: #F39C12;
  line-height: 1;
}

.sav-stat-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6rem;
  color: #8A9BB0;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ── NOTAM STRIP ── */
.sav-notam {
  background: linear-gradient(90deg, rgba(192,57,43,0.12), rgba(230,126,34,0.06));
  border-top: 1px solid rgba(192,57,43,0.3);
  border-bottom: 1px solid rgba(192,57,43,0.12);
  padding: 0.6rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow: hidden;
  margin-bottom: 2rem;
}

.sav-notam-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  background: #C0392B;
  color: #fff;
  padding: 0.2rem 0.55rem;
  border-radius: 2px;
  flex-shrink: 0;
  text-transform: uppercase;
}

.sav-notam-text {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  color: #B0BEC5;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* ── SECTION CARDS GRID ── */
.sav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  padding: 0 2rem;
  margin-bottom: 1.1rem;
}

/* ── CARD BASE ── */
.sav-card {
  background: #111418;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 6px;
  padding: 1.4rem;
  position: relative;
  transition: border-color 0.2s;
}

.sav-card:hover {
  border-color: rgba(230,126,34,0.3);
}

.sav-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  border-radius: 6px 6px 0 0;
  opacity: 0;
  transition: opacity 0.2s;
}

.sav-card:hover::before { opacity: 1; }

.sav-card--red::before  { background: linear-gradient(90deg, #C0392B, #E67E22); }
.sav-card--amber::before { background: linear-gradient(90deg, #E67E22, #F39C12); }
.sav-card--steel::before { background: linear-gradient(90deg, #8A9BB0, #E67E22); }
.sav-card--tour::before  { background: linear-gradient(90deg, #E67E22, #F39C12); }

/* Tour card full width */
.sav-card--tour {
  margin: 0 2rem 1.1rem;
}

/* Updates card */
.sav-card--updates {
  margin: 0 2rem 1.1rem;
}

/* ── CARD HEADER ── */
.sav-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.sav-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 40px;
  text-align: center;
}

.sav-icon--red   { background: rgba(192,57,43,0.15); border: 1px solid rgba(192,57,43,0.3); }
.sav-icon--amber { background: rgba(230,126,34,0.15); border: 1px solid rgba(230,126,34,0.3); }
.sav-icon--steel { background: rgba(138,155,176,0.1); border: 1px solid rgba(138,155,176,0.2); }

/* ── BADGES ── */
.sav-badge {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  padding: 0.18rem 0.5rem;
  border-radius: 2px;
  text-transform: uppercase;
}

.sav-badge--required { background: rgba(192,57,43,0.2); color: #E74C3C; border: 1px solid rgba(192,57,43,0.35); }
.sav-badge--updated  { background: rgba(230,126,34,0.15); color: #F39C12; border: 1px solid rgba(230,126,34,0.3); }
.sav-badge--ops      { background: rgba(138,155,176,0.1); color: #B0BEC5; border: 1px solid rgba(138,155,176,0.2); }

/* ── CARD CONTENT ── */
.sav-card-title {
  font-family: 'Bebas Neue', 'Impact', sans-serif;
  font-size: 1.45rem;
  letter-spacing: 0.06em;
  color: #F0F4F8;
  margin-bottom: 0.45rem;
}

.sav-card-desc {
  font-size: 0.78rem;
  color: #8A9BB0;
  line-height: 1.65;
  margin-bottom: 1rem;
}

/* ── CARD LINKS ── */
.sav-links {
  list-style: none;
  margin: 0 0 1rem 0;
  padding: 0;
}

.sav-links li {
  margin: 0;
  padding: 0;
}

.sav-links li a,
.sav-links li {
  display: block;
  font-size: 0.78rem;
  color: #B0BEC5 !important;
  text-decoration: none;
  padding: 0.38rem 0.55rem;
  border-radius: 3px;
  transition: background 0.15s, color 0.15s;
}

.sav-links li::before {
  content: '› ';
  color: #E67E22;
  font-size: 0.95rem;
}

.sav-links li a:hover {
  background: rgba(230,126,34,0.08);
  color: #F39C12 !important;
}

/* ── CARD FOOTER ── */
.sav-card-footer {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 0.7rem;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
}

.sav-count {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.62rem;
  color: #8A9BB0;
  letter-spacing: 0.06em;
}

.sav-card-footer a {
  color: #E67E22 !important;
  font-size: 0.72rem;
  font-weight: 500;
  text-decoration: none;
}

.sav-card-footer a:hover {
  color: #F39C12 !important;
}

/* ── TOUR ROUTES ── */
.sav-routes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 1rem;
}

.sav-route-tag a,
.sav-route-tag {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  padding: 0.22rem 0.65rem;
  border: 1px solid rgba(230,126,34,0.25);
  border-radius: 3px;
  color: #E67E22 !important;
  background: rgba(230,126,34,0.07);
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: background 0.15s;
}

.sav-route-tag a:hover {
  background: rgba(230,126,34,0.18);
}

/* ── UPDATE TABLE ── */
.sav-update-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
}

.sav-update-table tr {
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.15s;
}

.sav-update-table tr:last-child { border-bottom: none; }
.sav-update-table tr:hover { background: rgba(255,255,255,0.02); }

.sav-update-table td {
  padding: 0.7rem 0.5rem;
  font-size: 0.8rem;
  color: #F0F4F8;
  vertical-align: middle;
  border: none;
  background: transparent !important;
}

.sav-update-table td:first-child { width: 24px; }
.sav-update-table td:last-child {
  text-align: right;
  width: 160px;
}

.sav-update-table a {
  color: #B0BEC5 !important;
  text-decoration: none;
}

.sav-update-table a:hover { color: #F39C12 !important; }

.sav-update-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6rem;
  color: #8A9BB0;
  letter-spacing: 0.05em;
}

/* ── STATUS DOTS ── */
.sav-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.sav-dot--red   { background: #E74C3C; box-shadow: 0 0 6px rgba(231,76,60,0.6); }
.sav-dot--amber { background: #F39C12; box-shadow: 0 0 6px rgba(243,156,18,0.5); }
.sav-dot--steel { background: #8A9BB0; }

/* ── QUICK ACCESS GRID ── */
.sav-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.07);
  border-radius: 6px;
  overflow: hidden;
  margin: 0 2rem;
}

.sav-quick-item {
  background: #111418;
  padding: 1.1rem 0.75rem;
  text-align: center;
  transition: background 0.15s;
  cursor: pointer;
}

.sav-quick-item:hover { background: #181C22; }

.sav-quick-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  font-size: 1.5rem;
  color: inherit;
  text-decoration: none;
}

.sav-quick-item span {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6rem;
  color: #8A9BB0;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.4;
  display: block;
}

/* ── RESPONSIVE ── */
@media screen and (max-width: 900px) {
  .sav-grid { grid-template-columns: 1fr 1fr; }
  .sav-quick-grid { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (max-width: 600px) {
  .sav-grid { grid-template-columns: 1fr; padding: 0 1rem; }
  .sav-card--tour, .sav-card--updates { margin: 0 1rem 1.1rem; }
  .sav-quick-grid { margin: 0 1rem; }
  .sav-hero { padding: 2rem 1.25rem; }
  .sav-stats { gap: 1.25rem; }
}