MediaWiki:Timeless.css: Difference between revisions
No edit summary Tag: Reverted |
Tag: Undo |
||
(18 intermediate revisions by the same user not shown) | |||
Line 38: | Line 38: | ||
/* 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 "page-tools" située à l'intérieur de "mw-related-navigation" */ | |||
.mw-related-navigation #page-tools { | |||
display: none; | |||
} | } |
Latest revision as of 10:31, 18 June 2024
/* 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 "page-tools" située à l'intérieur de "mw-related-navigation" */
.mw-related-navigation #page-tools {
display: none;
}