|
|
| Ligne 328 : |
Ligne 328 : |
| .mw-body-content .FichePNJNL.fiche-pnj-animal .bandeau-pnj b { | | .mw-body-content .FichePNJNL.fiche-pnj-animal .bandeau-pnj b { |
| color: #7A5C26 !important; | | color: #7A5C26 !important; |
| }
| |
|
| |
| Le CSS dans `MediaWiki:Mobile.css` est peut-être tout simplement pas chargé. C'est un problème de configuration fréquent — certaines installations MediaWiki ne chargent pas `Mobile.css` automatiquement.
| |
|
| |
| Peux-tu vérifier : va sur `https://nephilim-rpg.com/index.php?title=MediaWiki:Mobile.css` — la page existe-t-elle et contient-elle bien le CSS ?
| |
|
| |
| Si oui, essayons une autre approche : remettre tout dans `MediaWiki:Common.css` avec un `@media` :
| |
|
| |
|
| |
| /* ================================================= */
| |
| /* Affichage mobile — Pleine largeur */
| |
| /* ================================================= */
| |
| @media screen and (max-width: 768px) {
| |
|
| |
| .FichePNJNL {
| |
| float: none !important;
| |
| width: 100% !important;
| |
| max-width: 100% !important;
| |
| margin: 0 0 1em 0 !important;
| |
| }
| |
|
| |
| .contexte-scenario {
| |
| float: none !important;
| |
| width: 100% !important;
| |
| max-width: 100% !important;
| |
| margin: 0 0 1em 0 !important;
| |
| }
| |
| } | | } |
|
| |
|