« MediaWiki:Common.js » : différence entre les versions
Apparence
Aucun résumé des modifications |
Aucun résumé des modifications Balise : Révoqué |
||
| Ligne 8 : | Ligne 8 : | ||
*/ | */ | ||
/* Ensemble : logo + liens Accueil et Devoirs */ | |||
.aecfc-brand { | |||
display: flex; | |||
align-items: center; | |||
flex: 0 0 auto; | |||
min-width: max-content; | |||
} | |||
/* Logo graphique uniquement */ | |||
.aecfc-brand .aecfc-logo-link { | |||
display: flex !important; | |||
align-items: center; | |||
flex: 0 0 auto !important; | |||
width: auto !important; | |||
height: auto !important; | |||
margin: 0 !important; | |||
position: static !important; | |||
inset: auto !important; | |||
z-index: auto !important; | |||
pointer-events: auto !important; | |||
} | |||
/* Les deux liens à droite du logo */ | |||
.aecfc-text-links { | |||
display: flex; | |||
flex-direction: column; | |||
align-items: flex-start; | |||
justify-content: center; | |||
margin-left: 14px; | |||
white-space: nowrap; | |||
position: relative; | |||
z-index: 10; | |||
} | |||
/* Accueil : texte principal */ | |||
.aecfc-accueil-link, | |||
.aecfc-accueil-link:visited { | |||
color: #287676; | |||
font-size: 25px; | |||
font-weight: 700; | |||
line-height: 1.15; | |||
text-decoration: none; | |||
pointer-events: auto; | |||
} | |||
/* Devoirs : texte secondaire */ | |||
.aecfc-devoirs-link, | |||
.aecfc-devoirs-link:visited { | |||
color: #3366cc; | |||
font-size: 16px; | |||
font-weight: 500; | |||
line-height: 1.25; | |||
text-decoration: none; | |||
margin-top: 3px; | |||
pointer-events: auto; | |||
} | |||
.aecfc-accueil-link:hover, | |||
.aecfc-devoirs-link:hover { | |||
text-decoration: underline; | |||
} | |||
Version du 2 juillet 2026 à 16:46
/* Tout JavaScript présent ici sera exécuté par tous les utilisateurs à chaque chargement de page.
$(function () {
$('a.mw-wiki-logo, a.mw-logo')
.attr('href', 'Accueil')
.attr('title', 'Retour a l'accueil');
});
*/
/* Ensemble : logo + liens Accueil et Devoirs */
.aecfc-brand {
display: flex;
align-items: center;
flex: 0 0 auto;
min-width: max-content;
}
/* Logo graphique uniquement */
.aecfc-brand .aecfc-logo-link {
display: flex !important;
align-items: center;
flex: 0 0 auto !important;
width: auto !important;
height: auto !important;
margin: 0 !important;
position: static !important;
inset: auto !important;
z-index: auto !important;
pointer-events: auto !important;
}
/* Les deux liens à droite du logo */
.aecfc-text-links {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: center;
margin-left: 14px;
white-space: nowrap;
position: relative;
z-index: 10;
}
/* Accueil : texte principal */
.aecfc-accueil-link,
.aecfc-accueil-link:visited {
color: #287676;
font-size: 25px;
font-weight: 700;
line-height: 1.15;
text-decoration: none;
pointer-events: auto;
}
/* Devoirs : texte secondaire */
.aecfc-devoirs-link,
.aecfc-devoirs-link:visited {
color: #3366cc;
font-size: 16px;
font-weight: 500;
line-height: 1.25;
text-decoration: none;
margin-top: 3px;
pointer-events: auto;
}
.aecfc-accueil-link:hover,
.aecfc-devoirs-link:hover {
text-decoration: underline;
}