MediaWiki:Timeless.css: Difference between revisions

From Resistance in Belgium
No edit summary
No edit summary
Line 93: Line 93:
#content h6 {
#content h6 {
     font-size: 1.1rem !important;
     font-size: 1.1rem !important;
}
} */

Revision as of 05:58, 6 May 2023

/* All CSS here will be loaded for users of the Timeless skin */


/* Modifier police du titre en haut à gauche + légèrement augmenté la taille */
#p-logo-text a {
        padding: 0.1em 1em 0.2em;
        color: #18407f;
        font-family: 'Raleway Bold', 'Linux Libertine', 'Liberation Serif','Nimbus Roman','Noto Serif','Times',serif;
        font-variant: small-caps;
        font-size: 1.95em;
        display: block
}

/* modifier couleurs des lignes en haut de page pour les adapter à la charte graphique */
.color-left { background: #1e437e;}
.color-middle { background:#148f67;}
.color-right { background: #3bae4d;}



/* Top bar font modernization */
#mw-header *,
#mw-site-navigation *,
#mw-related-navigation *  { font-family: 'Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Noto Sans','Helvetica Neue','Helvetica',sans-serif  }

/* Avoid cutting off letters with descenders: g,j,p,q,y */
#personal h2 span {
    height: 1.5em;
    position:relative;
    bottom:0.1em
}

/* Triangle position patch */
#personal h2::after {
   position: relative;
   bottom: 0.5em;
}


/* Modifier la couleurs des liens
.mw-body-content a:visited { color: #24569f !IMPORTANT; }
.mw-body-content a.new:link { color: #3aae4d !IMPORTANT; }
.mw-body-content a.new:visited { color: #a55858 !IMPORTANT; }




/* Changer la famille de polices */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700&family=Roboto:wght@300;400;700&display=swap');

body {
    font-family: 'Roboto', sans-serif !important;
    font-size: 1rem !important;
}

/* Changes the default font used for MediaWiki headings to Montserrat: 
#content h1, 
#content h2,
#content h3,
#content h4,
#content h5,
#content h6,
 {
    color: #CCCCCC !important;
    font-family:  'Raleway Bold', 'Linux Libertine', 'Liberation Serif','Nimbus Roman','Noto Serif','Times',serif;
}

#content h1, 
#content h2 {
    border-bottom: 1px solid #a2a9b1 !important;
}

#content h1 {
    font-size: 2.1rem !important;
}

#content h2 {
    font-size: 1.6rem !important;
}

#content h3 {
    font-size: 1.4rem !important;
}

#content h4 {
    font-size: 1.3rem !important;
}

#content h5 {
    font-size: 1.2rem !important;
}

#content h6 {
    font-size: 1.1rem !important;
} */