« MediaWiki:Common.css » : différence entre les versions
Page de l’interface de MediaWiki
Autres actions
Aucun résumé des modifications Balise : Révoqué |
Encadrés (.encadre, attention, perle) : style dans tous les thèmes |
||
| (67 versions intermédiaires par 2 utilisateurs non affichées) | |||
| Ligne 1 : | Ligne 1 : | ||
.last-modified { | |||
display: none; | display: none; | ||
} | |||
.citizen-footer__bottom { | |||
display: none !important; | |||
} | } | ||
. | .noprint { | ||
display: none !important; | |||
} | |||
.citizen-dropdown-summary { | |||
display: none; | display: none; | ||
} | } | ||
/* Ne plus avoir le téléverser sur menu hamburger */ | |||
display: none; | |||
} | #t-upload { display: none !important; } | ||
/* Date modified */ | /* Date modified */ | ||
| Ligne 15 : | Ligne 21 : | ||
display: none !important; | display: none !important; | ||
} | } | ||
/* | /* Wrapper parent pour images normales adaptatives sur mobile */ | ||
.mobile-responsive { | .mobile-responsive-wrapper { | ||
display: block; | |||
max-width: 100%; | |||
box-sizing: border-box; | |||
} | |||
/* L'image elle-même */ | |||
.mobile-responsive-wrapper img { | |||
max-width: 100%; | |||
height: auto; | |||
display: block; | |||
} | |||
/* Séparations */ | |||
.mw-parser-output h2 { | |||
border-bottom: 2px solid #5b8fa8; | |||
padding-bottom: 6px; | |||
margin-bottom: 12px; | |||
} | |||
.mw-parser-output h3 { | |||
border-bottom: 1px solid #5b8fa8; | |||
padding-bottom: 4px; | |||
margin-bottom: 10px; | |||
} | |||
/* Boutons */ | |||
.mw-parser-output a .guide-button { | |||
display: block; | |||
padding: 22px; | |||
background: #cdd8e3; | |||
border: 1px solid #b0c0d0; | |||
border-radius: 12px; | |||
text-align: center; | |||
font-weight: 600; | |||
font-size: 18px; | |||
margin: 14px auto; | |||
max-width: 700px; | |||
color: #1a2a3a !important; | |||
text-decoration: none !important; | |||
transition: all 0.15s ease; | |||
box-shadow: 0 1px 3px rgba(80, 110, 140, 0.15); | |||
} | |||
.mw-parser-output a:hover .guide-button { | |||
background: #bccad8; | |||
border-color: #9ab0c8; | |||
color: #1a2a3a !important; | |||
transform: translateY(-2px); | |||
box-shadow: 0 4px 10px rgba(80, 110, 140, 0.25); | |||
} | |||
/* Sections pliables Citizen */ | |||
.citizen-section-indicator { | |||
display: none !important; | |||
} | |||
.citizen-section-heading { | |||
cursor: default !important; | |||
pointer-events: none !important; | |||
} | } | ||
.citizen-section-heading a { | |||
pointer-events: auto !important; | |||
cursor: pointer !important; | |||
} | } | ||
/* Pus de boutons sur la sidebar pour changer les couleurs du site */ | |||
. | .citizen-preferences-dropdown { | ||
display: none !important; | |||
} | } | ||
/* | |||
/* Toutes les images automatiquement responsives */ | |||
img { | |||
max-width: 100%; | |||
height: auto; | |||
} | } | ||
.mobile-responsive-wrapper img { | |||
max-width: 100%; | |||
height: auto; | |||
display: block; | |||
} | } | ||
/* ===== Encadrés (tous les thèmes, y compris Vector) : <div class="encadre"> (normal), <div class="encadre attention">, <div class="encadre perle"> ===== | |||
Le texte reste dans la page (modifiable avec l'éditeur visuel : gras, retours à la ligne). Les étiquettes sont ajoutées ici. */ | |||
.mw-parser-output .encadre { width: fit-content; max-width: 100%; box-sizing: border-box; margin: 0 0 12px; padding: 4px 10px; border-left: 4px solid #5b8fa8; background: #e4eff6; border-radius: 3px; } | |||
.mw-parser-output .encadre > :first-child { margin-top: .3em; } | |||
.mw-parser-output .encadre > :last-child { margin-bottom: .3em; } | |||
.mw-parser-output .encadre.attention { border-left-color: #c98a1e; background: #fbf1de; } | |||
.mw-parser-output .encadre.perle { border-left-color: #3f9a6a; background: #e5f3ec; } | |||
.mw-parser-output .encadre:is(.attention, .perle)::before { display: block; margin: .3em 0 2px; font-size: .72em; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; } | |||
.mw-parser-output .encadre.attention::before { content: "Attention"; color: #9a6a12; } | |||
.mw-parser-output .encadre.perle::before { content: "Perle clinique"; color: #2f7a52; } | |||
Dernière version du 29 octobre 2026 à 15:53
.last-modified {
display: none;
}
.citizen-footer__bottom {
display: none !important;
}
.noprint {
display: none !important;
}
.citizen-dropdown-summary {
display: none;
}
/* Ne plus avoir le téléverser sur menu hamburger */
#t-upload { display: none !important; }
/* Date modified */
.page-info {
display: none !important;
}
/* Wrapper parent pour images normales adaptatives sur mobile */
.mobile-responsive-wrapper {
display: block;
max-width: 100%;
box-sizing: border-box;
}
/* L'image elle-même */
.mobile-responsive-wrapper img {
max-width: 100%;
height: auto;
display: block;
}
/* Séparations */
.mw-parser-output h2 {
border-bottom: 2px solid #5b8fa8;
padding-bottom: 6px;
margin-bottom: 12px;
}
.mw-parser-output h3 {
border-bottom: 1px solid #5b8fa8;
padding-bottom: 4px;
margin-bottom: 10px;
}
/* Boutons */
.mw-parser-output a .guide-button {
display: block;
padding: 22px;
background: #cdd8e3;
border: 1px solid #b0c0d0;
border-radius: 12px;
text-align: center;
font-weight: 600;
font-size: 18px;
margin: 14px auto;
max-width: 700px;
color: #1a2a3a !important;
text-decoration: none !important;
transition: all 0.15s ease;
box-shadow: 0 1px 3px rgba(80, 110, 140, 0.15);
}
.mw-parser-output a:hover .guide-button {
background: #bccad8;
border-color: #9ab0c8;
color: #1a2a3a !important;
transform: translateY(-2px);
box-shadow: 0 4px 10px rgba(80, 110, 140, 0.25);
}
/* Sections pliables Citizen */
.citizen-section-indicator {
display: none !important;
}
.citizen-section-heading {
cursor: default !important;
pointer-events: none !important;
}
.citizen-section-heading a {
pointer-events: auto !important;
cursor: pointer !important;
}
/* Pus de boutons sur la sidebar pour changer les couleurs du site */
.citizen-preferences-dropdown {
display: none !important;
}
/* Toutes les images automatiquement responsives */
img {
max-width: 100%;
height: auto;
}
.mobile-responsive-wrapper img {
max-width: 100%;
height: auto;
display: block;
}
/* ===== Encadrés (tous les thèmes, y compris Vector) : <div class="encadre"> (normal), <div class="encadre attention">, <div class="encadre perle"> =====
Le texte reste dans la page (modifiable avec l'éditeur visuel : gras, retours à la ligne). Les étiquettes sont ajoutées ici. */
.mw-parser-output .encadre { width: fit-content; max-width: 100%; box-sizing: border-box; margin: 0 0 12px; padding: 4px 10px; border-left: 4px solid #5b8fa8; background: #e4eff6; border-radius: 3px; }
.mw-parser-output .encadre > :first-child { margin-top: .3em; }
.mw-parser-output .encadre > :last-child { margin-bottom: .3em; }
.mw-parser-output .encadre.attention { border-left-color: #c98a1e; background: #fbf1de; }
.mw-parser-output .encadre.perle { border-left-color: #3f9a6a; background: #e5f3ec; }
.mw-parser-output .encadre:is(.attention, .perle)::before { display: block; margin: .3em 0 2px; font-size: .72em; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.mw-parser-output .encadre.attention::before { content: "Attention"; color: #9a6a12; }
.mw-parser-output .encadre.perle::before { content: "Perle clinique"; color: #2f7a52; }