|
|
| (2 révisions intermédiaires par un autre utilisateur non affichées) |
| Ligne 1 : |
Ligne 1 : |
| − | {{LoadJavascript|Script=modal}}
| + | <div style="background-color: #fff8dc; border-left: 5px solid #ffcc00; margin: 10px 0; overflow: hidden;"> |
| − | <div class="modalContainer" {{#if:{{{Center|}}}|style="margin: 0 auto;"}}> | + | <div style="margin: 10px;"> |
| − | <div class="button" {{#if:{{{buttonStyle|}}}|style="{{{buttonStyle}}}"}}>{{{1}}}</div>
| + | <div style="color: #d2691e; font-size: 16px; margin: 8px 0;">💡 '''Remarque'''</div> |
| − | <div class="modal" style="z-index: 101;"> | + | {{{1|Je suis une remarque.}}} |
| − | <div class="modal-content" style="{{#if:{{{overflow|}}}|overflow-y: visible;|overflow-y: auto;}} {{#switch:{{{Largeur|1}}} | |
| − | |1=max-width: 800px; width: 90%;
| |
| − | |2=width: fit-content; max-width: 85%;
| |
| − | |3=width: min-content; max-width: 85%; min-width: min(300px, 80%);
| |
| − | }} padding: {{#if:{{{Haut|}}}|10px|50px}} 10px 10px 10px; {{#if:{{{Hauteur|}}}|max-height: 85%;}} {{#if:{{{Flex|}}}|display: flex; flex-direction: column;}}"><span class="close" style="padding: 0; line-height: 40px; width: 40px; text-align: center; font-size: 32px; user-select: none;">×</span>{{{2}}}</div>
| |
| | </div> | | </div> |
| | </div> | | </div> |
| − | <noinclude>
| |
| − | Utilisé dans les modèles [[Modèle:Objets/ObjetsSpeciaux]], [[Modèle:Monstres]] et [[Modèle:Compétences]]
| |
| − | [[Catégorie:Nouveaux modèles]]
| |
| − | </noinclude>
| |