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 32: Line 32:
/* -------------- */
/* -------------- */


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


/* GapSans Bold (headings) */
@font-face {
@font-face {
   font-family: 'GapSans';
   font-family: 'GapSans';
   src: url('/fonts/GapSansBold.ttf') format('truetype');
   src: url('/fonts/GapSans/GapSansBold.ttf') format('truetype'),
      url('/fonts/GapSans/GapSansBold.woff2') format('woff2');
   font-weight: bold;
   font-weight: bold;
   font-style: normal;
   font-style: normal;
Line 54: Line 60:
/* Body / main content */
/* Body / main content */
body, .mw-body {
body, .mw-body {
   font-family: 'Cotham', sans-serif;
   font-family: 'Ronzino', sans-serif;
  font-weight: normal;
}
}


Line 61: Line 68:
.mw-headline {
.mw-headline {
   font-family: 'GapSans', sans-serif;
   font-family: 'GapSans', sans-serif;
   font-weight: bold; /* uses your Bold file */
   font-weight: bold;
}
}

Revision as of 15:22, 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;
}
/* -------------- */

@font-face {
  font-family: 'Ronzino';
  src: url('/fonts/Ronzino/Ronzino-Regular.otf') format('opentype'),
       url('/fonts/Ronzino/Ronzino-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Ronzino';
  src: url('/fonts/Ronzino/Ronzino-Medium.otf') format('opentype'),
       url('/fonts/Ronzino/Ronzino-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

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

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

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