Skip to content
Extraits de code Groupes Projets
Valider 2bda1004 rédigé par cerdic's avatar cerdic
Parcourir les fichiers

Minipres plus robuste quand il y a plusieurs blocs dans la page (travaux, plugin dev avec un dump)

parent 2a75323f
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -30,12 +30,12 @@ html, body { height: 100%; } ...@@ -30,12 +30,12 @@ html, body { height: 100%; }
.quitter_fenetre a { display: block; width: 1.5em; height: 1.5em; background: url(images/fermer-16.png) no-repeat right center; color: #fff; text-indent: -999em; } .quitter_fenetre a { display: block; width: 1.5em; height: 1.5em; background: url(images/fermer-16.png) no-repeat right center; color: #fff; text-indent: -999em; }
@media (min-width: 640px) { @media (min-width: 640px) {
body { display: flex; padding: 2em; } body.minipres { display: flex; padding: 2em; flex-direction: column; justify-content: center; align-items: center;}
#minipres { margin: auto; width: 580px;border: 1px solid #DB1762;border-radius: 8px;padding: 2em 2em 1.5em 2em;overflow: hidden;} #minipres { margin: 6em auto; width: 580px;border: 1px solid #DB1762;border-radius: 8px;padding: 2em 2em 1.5em 2em;overflow: hidden;}
#minipres h1 {margin-top: -2em;margin-left: -2em;margin-right: -2em;padding: 0.8em;font-size: 1.1em;color: white;background: #DB1762;} #minipres h1 {margin-top: -2em;margin-left: -2em;margin-right: -2em;padding: 0.8em;font-size: 1.1em;color: white;background: #DB1762;}
} }
@media (max-width: 640px) { @media (max-width: 640px) {
body {padding: 1.5em;} body.minipres {padding: 1.5em;}
#minipres {width: auto;max-width: 25em;background: transparent;} #minipres {width: auto;max-width: 25em;background: transparent;}
#etapes, #infos_etapes {display: none;} #etapes, #infos_etapes {display: none;}
} }
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter