Différences entre les versions de « MediaWiki:Common.css »
Aller à la navigation
Aller à la recherche
Ligne 45 : | Ligne 45 : | ||
line-height: 1.1em; | line-height: 1.1em; | ||
color: #000; | color: #000; | ||
} | |||
div { | |||
display: block; | |||
} | } | ||
Version du 7 mars 2022 à 16:13
/* Le CSS placé ici sera appliqué à tous les habillages. */ .infobox { background: #eee; border: 1px solid #aaa; float: right; margin: 0 0 1em 1em; padding: 1em; width: 400px; } .infobox-title { font-size: 2em; text-align: center; } .infobox-image { text-align: center; } .infobox th { text-align: right; vertical-align: top; width: 120px; } .infobox td { vertical-align: top; } .infobox_v2 { background: #f9f9f9; color: #000; font-size: 90%; line-height: 1.2em; float: right; clear: right; margin: 0 0 0.5em 1em; width: 400px; border: 1px solid #aaa; border-spacing: 5px; } .infobox_v2 .entete { height: 43px; vertical-align: middle; text-align: center; font-size: 140%; font-weight: bolder; line-height: 1.1em; color: #000; } div { display: block; } div.infobox_v3 { background: #f9f9f9; color: #000; padding: 5px; width: 25em; border: 1px solid #aaa; clear: right; float: right; font-size: 0.9em; line-height: 1.4; margin: 0 0 0.5em 1em; max-width: 325px; word-wrap: break-word; } .infobox_v3 .entete { display: table; height: 45px; width: 100%; font-weight: bold; text-align: center; font-size: 1.4em; line-height: 1.1; margin-bottom: 10px; background-color: #dfedff; } .infobox_v3 .images { text-align: center; display: flex; justify-content: space-around; align-items: center; }