MediaWiki:Common.css

From ISU Wikipedia
Revision as of 21:56, 14 November 2026 by ISUPresident (talk | contribs) (Created page with "→CSS placed here will be applied to all skins: →=================================== ISU WIKI - UNIVERSITY HOMEPAGE ===================================: .isu-home { --isu-navy: #142b48; --isu-gold: #b99a58; --isu-ink: #25364a; --isu-muted: #667487; --isu-border: #dce3eb; --isu-paper: #f8f9fb; max-width: 1200px; margin: 0 auto; color: var(--isu-ink); font-family: Arial, Helvetica, sans-serif; line-height: 1.65; } /* University welcom...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 */

/* ===================================
   ISU WIKI - UNIVERSITY HOMEPAGE
   =================================== */

.isu-home {
  --isu-navy: #142b48;
  --isu-gold: #b99a58;
  --isu-ink: #25364a;
  --isu-muted: #667487;
  --isu-border: #dce3eb;
  --isu-paper: #f8f9fb;

  max-width: 1200px;
  margin: 0 auto;
  color: var(--isu-ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

/* University welcome banner */

.isu-hero {
  background: linear-gradient(135deg, #142b48, #254667);
  color: #fff;
  border-top: 5px solid var(--isu-gold);
  padding: 34px;
  border-radius: 5px;
  margin-bottom: 30px;
}

.isu-hero-layout {
  display: flex;
  align-items: center;
  gap: 30px;
}

.isu-crest {
  flex: 0 0 130px;
  text-align: center;
}

.isu-crest img {
  max-width: 120px;
  height: auto;
}

.isu-hero-copy {
  flex: 1;
  min-width: 0;
}

.isu-eyebrow {
  color: #e2c98d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  margin-bottom: 10px;
}

.isu-hero-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 8px;
}

.isu-hero-subtitle {
  color: #e4c887;
  font-family: Georgia, serif;
  font-size: 17px;
  font-style: italic;
}

.isu-hero p {
  color: #e0e8f1;
  font-size: 14px;
  margin-top: 14px;
  margin-bottom: 0;
}

/* Navigation buttons */

.isu-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.isu-btn {
  display: inline-block;
  border-radius: 4px;
  font-weight: 700;
  font-size: 13px;
}

.isu-btn a {
  display: block;
  padding: 10px 18px;
  text-decoration: none !important;
}

.isu-btn.primary a {
  background: #e2c98d;
  color: #142b48 !important;
}

.isu-btn.secondary a {
  border: 1px solid #a7b7c9;
  color: #fff !important;
}

.isu-btn a:hover {
  opacity: 0.85;
}

/* Section headings */

.isu-section-heading {
  font-family: Georgia, serif;
  font-size: 23px;
  font-weight: 700;
  border-bottom: 2px solid #b99a58;
  padding-bottom: 9px;
  margin: 32px 0 18px;
  color: var(--isu-navy);
}

.isu-section-intro {
  color: var(--isu-muted);
  margin-bottom: 18px;
}

/* Featured articles */

.isu-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.isu-card {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--isu-border);
  border-radius: 5px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(20, 43, 72, .04);
}

.isu-card-label {
  color: #967439;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.3px;
  margin-bottom: 10px;
}

.isu-card-title {
  font-family: Georgia, serif;
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.35;
}

.isu-card-title a {
  color: var(--isu-navy) !important;
  text-decoration: none;
}

.isu-card p {
  font-size: 14px;
  color: #586678;
}

.isu-card-link {
  margin-top: 18px;
  font-size: 13px;
  font-weight: 700;
}

.isu-card-link a {
  color: #315c87 !important;
}

/* Encyclopedia departments */

.isu-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.isu-topic {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--isu-border);
  border-radius: 5px;
  background: var(--isu-paper);
  transition: border-color .2s;
}

.isu-topic:hover {
  border-color: var(--isu-gold);
}

.isu-topic-icon {
  color: #a78343;
  font-family: Georgia, serif;
  font-size: 21px;
  font-weight: bold;
  margin-bottom: 7px;
}

.isu-topic-title {
  font-family: Georgia, serif;
  font-size: 17px;
  font-weight: bold;
  margin-bottom: 7px;
}

.isu-topic-title a {
  color: var(--isu-navy) !important;
  text-decoration: none;
}

.isu-topic-desc {
  color: var(--isu-muted);
  font-size: 13px;
}

/* Contributor section */

.isu-scholar {
  border-left: 4px solid var(--isu-gold);
}

.isu-help-links {
  margin-top: 18px;
  font-weight: bold;
  font-size: 13px;
}

.isu-footer-note {
  text-align: center;
  color: #768293;
  font-size: 11px;
  letter-spacing: .5px;
  border-top: 1px solid var(--isu-border);
  padding: 22px 10px;
  margin-top: 35px;
}

/* Mobile responsive layout */

@media (max-width: 900px) {
  .isu-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .isu-hero {
    padding: 24px 18px;
  }

  .isu-hero-layout {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .isu-crest {
    flex: auto;
  }

  .isu-hero-title {
    font-size: 26px;
  }

  .isu-actions {
    justify-content: center;
  }

  .isu-feature-grid,
  .isu-topic-grid {
    grid-template-columns: 1fr;
  }

  .isu-card,
  .isu-topic {
    padding: 18px;
  }
}