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: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 34: Line 34:


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


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


/* Cotham for body text */
/* Body / main content */
@font-face {
body, .mw-body {
   font-family: 'Cotham';
   font-family: 'Cotham', sans-serif;
  src: url('/fonts/Cotham/CothamSans.otf') format('otf');
}
   font-weight: normal;
 
  font-style: normal;
/* All wiki headings */
   font-display: swap;
h1, h2, h3, h4, h5, h6,
.mw-headline {
   font-family: 'GapSans', sans-serif;
   font-weight: bold; /* uses your Bold file */
}
}

Revision as of 15:20, 28 July 2025

/* 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 */
/* Cotham (body text) */
@font-face {
  font-family: 'Cotham';
  src: url('/fonts/CothamSans.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

/* Body / main content */
body, .mw-body {
  font-family: 'Cotham', sans-serif;
}

/* All wiki headings */
h1, h2, h3, h4, h5, h6,
.mw-headline {
  font-family: 'GapSans', sans-serif;
  font-weight: bold;  /* uses your Bold file */
}