MediaWiki:Timeless.css

From Resistance in Belgium
Revision as of 16:47, 15 February 2024 by Adminagr (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* 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;
} */



/* Masquer la section "Tools" de la barre latérale */
#other-languages {
    display: none;
}


/* Masquer la section "Tools" de la barre latérale pour tous les utilisateurs */
#site-tools {
    display: none;
}

/* Afficher la section "Tools" de la barre latérale pour les utilisateurs du groupe "administrator" ou "editor" */
body.user-in-group-sysop #site-tools {
    display: block;
}


/* Masquer la section "Tools" de la barre latérale pour tous les utilisateurs */
#sidebar-inner {
    display: none;
}