MediaWiki:Common.css: Difference between revisions
(changement fonts) |
No edit summary |
||
Line 35: | Line 35: | ||
/* Modifier la couleurs des liens | /* Modifier la couleurs des liens */ | ||
.mw-body-content a:visited { color: #24569f !IMPORTANT; } | .mw-body-content a:visited { color: #24569f !IMPORTANT; } | ||
.mw-body-content a.new:link { color: #3aae4d !IMPORTANT; } | .mw-body-content a.new:link { color: #3aae4d !IMPORTANT; } | ||
Line 43: | Line 43: | ||
/* Changer la famille de polices | /* 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'); | @import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;700&family=Roboto:wght@300;400;700&display=swap'); | ||
Line 51: | Line 51: | ||
} | } | ||
/* Changes the default font used for MediaWiki headings to | /* Changes the default font used for MediaWiki headings to Oswald */ | ||
#content h1, | #content h1, | ||
#content h2, | #content h2, | ||
Line 60: | Line 60: | ||
{ | { | ||
color: #158f68 !important; | color: #158f68 !important; | ||
font-family: | text-transform: capitalize; | ||
font-family: 'Oswald', 'Montserrat', serif !important; | |||
} | } | ||
#content h1, | /* #content h1, | ||
#content h2 { | #content h2 { | ||
border-bottom: 1px solid #a2a9b1 !important; | border-bottom: 1px solid #a2a9b1 !important; |
Revision as of 10:31, 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 Oswald */
#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6,
{
color: #158f68 !important;
text-transform: capitalize;
font-family: 'Oswald', 'Montserrat', serif !important;
}
/* #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;
} */