MediaWiki:Common.css

From ISU Wikipedia
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;
  }
}


/* ===========================================
   INTERNET STATE UNIVERSITY WIKI
   GLOBAL UNIVERSITY THEME
   =========================================== */

:root {
  --isu-navy: #142b48;
  --isu-blue: #244565;
  --isu-gold: #b99a58;
  --isu-ink: #25364a;
  --isu-muted: #667487;
  --isu-border: #dce3eb;
  --isu-paper: #f8f9fb;
}

/* GENERAL PAGE APPEARANCE */

body {
  background-color: #f5f7fa;
}

.mw-body {
  background-color: #ffffff;
  border-top: 4px solid var(--isu-gold);
  color: var(--isu-ink);
}

/* PAGE TITLES */

.mw-body #firstHeading,
.mw-body .mw-first-heading {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--isu-navy);
  font-weight: 700;
  border-bottom: 1px solid var(--isu-border);
  padding-bottom: 12px;
}

/* ARTICLE CONTENT */

.mw-parser-output {
  color: var(--isu-ink);
  line-height: 1.7;
}

.mw-parser-output p {
  line-height: 1.75;
}

/* ARTICLE SECTION HEADINGS */

.mw-parser-output h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  color: var(--isu-navy);
  border-bottom: 2px solid var(--isu-gold);
  padding-bottom: 7px;
  margin-top: 30px;
}

.mw-parser-output h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--isu-blue);
  font-weight: 700;
  margin-top: 22px;
}

.mw-parser-output h4 {
  color: var(--isu-navy);
  font-weight: 700;
}

/* LINKS - KEEP MISSING ARTICLES RED */

.mw-parser-output a:not(.new) {
  color: #285887;
}

.mw-parser-output a:not(.new):hover {
  color: #9a7531;
  text-decoration: underline;
}

/* PERSON INFOBOXES */

.mw-parser-output .infobox {
  background-color: #f8f9fb;
  border: 1px solid #dce3eb;
  border-top: 4px solid var(--isu-gold);
  border-radius: 6px;
  box-shadow: 0 3px 12px rgba(20,43,72,.07);
  color: var(--isu-ink);
}

.mw-parser-output .infobox th {
  color: var(--isu-navy);
}

.mw-parser-output .infobox img {
  max-width: 100%;
  height: auto;
}

/* WIKI TABLES */

.mw-parser-output table.wikitable {
  border: 1px solid var(--isu-border);
  background-color: #fff;
}

.mw-parser-output .wikitable th {
  background-color: #e9eef5;
  color: var(--isu-navy);
  border-color: var(--isu-border);
}

.mw-parser-output .wikitable td {
  border-color: var(--isu-border);
}

/* TABLE OF CONTENTS */

.mw-parser-output .toc,
.vector-toc {
  background-color: #f8f9fb;
  border-color: var(--isu-border);
  border-radius: 5px;
}

.mw-parser-output .toctitle {
  color: var(--isu-navy);
  font-family: Georgia, serif;
}

/* IMAGES AND CAPTIONS */

.mw-parser-output .thumbinner {
  background: #f8f9fb;
  border: 1px solid var(--isu-border);
  padding: 5px;
}

.mw-parser-output .thumbcaption {
  color: var(--isu-muted);
  font-size: 12px;
}

/* QUOTATIONS */

.mw-parser-output blockquote {
  border-left: 4px solid var(--isu-gold);
  background: var(--isu-paper);
  padding: 14px 20px;
  margin: 20px 0;
  color: var(--isu-ink);
}

/* ARTICLE CATEGORY FOOTER */

#catlinks,
.catlinks {
  background-color: var(--isu-paper);
  border: 1px solid var(--isu-border);
  border-left: 4px solid var(--isu-gold);
  border-radius: 4px;
  padding: 10px;
}

/* NAVIGATION TABS */

.mw-body .mw-portlet a,
.mw-body .vector-menu a {
  color: var(--isu-blue);
}

/* FOOTER */

#footer {
  border-top: 1px solid var(--isu-border);
}

#footer a {
  color: var(--isu-blue);
}

/* VECTOR 2022 SKIN REFINEMENTS */

.skin-vector-2022 .mw-page-container {
  background-color: #fff;
}

.skin-vector-2022 .vector-page-toolbar-container {
  border-bottom-color: var(--isu-gold);
}

/* MOBILE ADJUSTMENTS */

@media (max-width: 720px) {

  .mw-body #firstHeading,
  .mw-body .mw-first-heading {
    font-size: 1.8em;
  }

  .mw-parser-output h2 {
    font-size: 1.4em;
  }

  .mw-parser-output .infobox {
    max-width: 100%;
  }
}

/* END ISU GLOBAL THEME */