Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css

MediaWiki interface page
Revision as of 15:17, 28 July 2025 by Ladybug (talk | contribs)

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.
/* CODE FOR I/M/D PROGRAM PAGE*/
/* Base pill style */
.class-block {
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 0.3em;
  padding: 0.2em 0.5em;
  margin: 0.2em;
  color: #000;
}

/* Program‑line background colors (20% opacity) */
.class-conceptualisation     { background: rgba(255, 235,  59, 0.2); }  /* yellow */
.class-researchreflection    { background: rgba( 76, 175,  80, 0.2); }  /* green  */
.class-creativetech          { background: rgba(233,  30,  99, 0.2); }  /* pink   */
.class-visualisationmaterial { background: rgba(156,  39, 176, 0.2); }  /* purple */
.class-professionalisation   { background: rgba( 33, 150, 243, 0.2); }  /* blue   */
.class-academywide           { background: rgba(255, 165,   0, 0.2); }  /* orange */

/* Table spacing */
.wikitable.semesters-overview,
.wikitable.programlines-overview {
  border-collapse: separate;
  border-spacing: 0.5em;
}

.wikitable.semesters-overview th,
.wikitable.programlines-overview th {
  padding: 0.5em;
  text-align: center;
}
/* -------------- */


/* fonts loading */

/* GapSans for headings */
@font-face {
  font-family: 'GapSans';
  src: url('/fonts/GapSans/GapSansBold.ttf')   format('truetype');
  font-weight: bold;
  font-style: normal;
}

/* Cotham for body text */
@font-face {
  font-family: 'Cotham';
  src: url('/fonts/Cotham/CothamSans.otf') format('otf');
  font-weight: normal;
  font-style: normal;
}