Jump to content

MediaWiki:Common.css: Difference between revisions

From www.ReeltoReel.nl Wiki
No edit summary
No edit summary
Line 1: Line 1:
/* ==================================================== */
/* ========================================================= */
/* File: MediaWiki:Common.css                           */
/* MediaWiki:Common.css                                     */
/* Description : Clean reset voor breedte en font-weight */
/* Koppeling met huisstijl (handmatige extractie uit stijl.css) */
/* 10 feb 2026: 1.0 - pvdm - Schone start zonder externe import. */
/* ========================================================= */
/* 10 feb 2026: 1.1 - Gemini - Layout-fix voor volledige breedte en vetter font. */
/* ==================================================== */


/* 1. FORCEER VOLLEDIGE BREEDTE (Vector 2022) */
/* 1. FONT DEFINITIES (Overgenomen uit stijl.css) */
/* Dit heft de beperking op die de tekst in het midden van het scherm houdt */
/* Let op: deze paden werken alleen als de fonts op de wiki-server
  op exact dezelfde locatie staan (/fonts/...) */
@font-face {
    font-family: "Yanone Kaffeesatz";
    src:url('/fonts/yanone.woff') format('woff');
}
@font-face {
    font-family: 'RoGSanSrfStd-UB';
    src:url('/fonts/RoGSanSrfStd-UB.ttf.woff') format('woff');
}
 
/* 2. LAYOUT BREEDTE (De fix die werkte) */
:root {
:root {
     --max-width-content: 100% !important;
     --max-width-content: 100% !important;
     --max-width-page: 100% !important;
     --max-width-page: 100% !important;
}
.mw-page-container, .mw-content-container {
    max-width: none !important;
}
/* 3. BASIS TEKST EN PARAGRAFEN */
body, #content, .mw-body-content p, .mw-body-content li {
    font-family: 'Yanone Kaffeesatz', sans-serif !important;
    font-size: 20px !important; /* Conform stijl.css */
    font-weight: 600 !important; /* Verhoogd van 400 naar 600 voor de gewenste dikte */
    color: #333;
    line-height: 1.6;
}
}


.mw-page-container {
/* 4. KOPPEN (H1 t/m H5 conform stijl.css) */
     max-width: none !important;
h1, h2, h3, h4, h5, #firstHeading {
     padding: 0 20px !important; /* Een kleine ademruimte aan de randen */
    font-family: 'RoGSanSrfStd-UB', sans-serif !important;
     color: #333 !important;
     font-weight: 900 !important; /* Extreem vet conform stijl.css */
    letter-spacing: 0px;
    border-bottom: none;
}
}


.mw-content-container {
/* Specifieke groottes en lijnen per kopniveau */
     max-width: none !important;
h1, #firstHeading {  
     width: 100% !important;
     font-size: 2.2em !important;  
     border-bottom: 2px solid #999 !important;
    padding-bottom: 5px;
    margin-bottom: 20px;
}
}


/* 2. FONT EN LEESBAARHEID */
h2 { font-size: 1.8em !important; }
/* We maken de tekst dikker (vetter) zoals gevraagd */
h3 { font-size: 1.5em !important; }
body, p, li, #content {
h4 { font-size: 1.3em !important; }
    font-weight: 600 !important; /* 600 is Semi-Bold, verhoog naar 700 voor echt vet */
 
     font-size: 1.05em;
/* 5. ACCENTEN */
     line-height: 1.6;
strong {
     font-weight: 900 !important;  
     color: #CC0000 !important; /* De rode kleur voor vette tekst uit stijl.css */
}
}


/* 3. KOPPEN (Placeholder voor jouw stijl) */
/* 6. OPSCHONEN WIKI-INTERFACE */
/* Hieronder kun je de specifieke kleuren/fonts uit je stijl.css plakken */
#content {
h1, h2, h3, #firstHeading {
     background: transparent !important;
     font-weight: 800 !important;
     box-shadow: none !important;
     border-bottom: 2px solid #333; /* Tijdelijke lijn voor structuur */
     border: none !important;
     margin-top: 1em;
}
}

Revision as of 20:21, 10 February 2026

/* ========================================================= */
/* MediaWiki:Common.css                                      */
/* Koppeling met huisstijl (handmatige extractie uit stijl.css) */
/* ========================================================= */

/* 1. FONT DEFINITIES (Overgenomen uit stijl.css) */
/* Let op: deze paden werken alleen als de fonts op de wiki-server 
   op exact dezelfde locatie staan (/fonts/...) */
@font-face {
    font-family: "Yanone Kaffeesatz";
    src:url('/fonts/yanone.woff') format('woff');
}
@font-face {
    font-family: 'RoGSanSrfStd-UB';
    src:url('/fonts/RoGSanSrfStd-UB.ttf.woff') format('woff');
}

/* 2. LAYOUT BREEDTE (De fix die werkte) */
:root {
    --max-width-content: 100% !important;
    --max-width-page: 100% !important;
}
.mw-page-container, .mw-content-container {
    max-width: none !important;
}

/* 3. BASIS TEKST EN PARAGRAFEN */
body, #content, .mw-body-content p, .mw-body-content li {
    font-family: 'Yanone Kaffeesatz', sans-serif !important;
    font-size: 20px !important; /* Conform stijl.css */
    font-weight: 600 !important; /* Verhoogd van 400 naar 600 voor de gewenste dikte */
    color: #333;
    line-height: 1.6;
}

/* 4. KOPPEN (H1 t/m H5 conform stijl.css) */
h1, h2, h3, h4, h5, #firstHeading {
    font-family: 'RoGSanSrfStd-UB', sans-serif !important;
    color: #333 !important;
    font-weight: 900 !important; /* Extreem vet conform stijl.css */
    letter-spacing: 0px;
    border-bottom: none;
}

/* Specifieke groottes en lijnen per kopniveau */
h1, #firstHeading { 
    font-size: 2.2em !important; 
    border-bottom: 2px solid #999 !important; 
    padding-bottom: 5px;
    margin-bottom: 20px;
}

h2 { font-size: 1.8em !important; }
h3 { font-size: 1.5em !important; }
h4 { font-size: 1.3em !important; }

/* 5. ACCENTEN */
strong { 
    font-weight: 900 !important; 
    color: #CC0000 !important; /* De rode kleur voor vette tekst uit stijl.css */
}

/* 6. OPSCHONEN WIKI-INTERFACE */
#content {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}