MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* CODE FOR I/M/D PROGRAM PAGE*/ | |||
/* Base pill style */ | /* Base pill style */ | ||
.class-block { | .class-block { | ||
| Line 28: | Line 29: | ||
padding: 0.5em; | padding: 0.5em; | ||
text-align: center; | 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; | |||
} | } | ||
Revision as of 15:17, 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 */
/* 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;
}