MediaWiki:Common.css: Difference between revisions

From Resistance in Belgium
No edit summary
(changement fonts)
Line 32: Line 32:
           display: none;  
           display: none;  
         } */
         } */
/* 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=Oswald: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: #158f68 !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;
} */

Revision as of 10:23, 18 June 2024

/* CSS placed here will be applied to all skins */



/* Ce qui suit permet de masquer les éléments d'édition aux visiteurs anonymes et de les garder visibles pour les utilisateurs enregistrés via MediaWiki:Group-user.css. Cf. démo ici : https://wikiteq.com/post/how-hide-elements-anonymous-users-mediawiki */

/*  #p-views { 
           display: none; 
        }
  #p-namespaces { 
           display: none; 
        }
  #p-Wikibase { 
           display: none; 
        }
  #p-pagemisc {
    display: none;
}
  #personal {
    display: none;
}
  #page-tools {
    display: none;
} */

  

/*   #p-pagemisc { 
           display: none; 
        }
 #sidebar-inner { 
           display: none; 
        } */



/* 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=Oswald: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: #158f68 !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;
} */