Différences entre versions de « MediaWiki:Common.css »
De Wikimatica
(Page créée avec « →Le CSS placé ici sera appliqué à tous les habillages. : .infobox { background-color: #ffff00; border: 2px solid #008600; float: right; margin: 0 0 1em 1em; padding:… ») |
|||
| Ligne 1 : | Ligne 1 : | ||
/* Le CSS placé ici sera appliqué à tous les habillages. */ | /* Le CSS placé ici sera appliqué à tous les habillages. */ | ||
.infobox { | .infobox { | ||
| − | background | + | background: #eee; |
| − | border: | + | border: 1px solid #aaa; |
| − | float: right; | + | float: right; |
| − | margin: 0 0 1em 1em; | + | margin: 0 0 1em 1em; |
| − | padding: 1em; | + | padding: 1em; |
| − | width: 400px; | + | width: 400px; |
| − | } | + | } |
.infobox-title { | .infobox-title { | ||
| − | + | font-size: 2em; | |
| − | font-size: | + | text-align: center; |
| − | text-align: center; | + | } |
| − | + | .infobox-image { | |
| + | text-align: center; | ||
} | } | ||
| − | .infobox | + | .infobox th { |
| − | + | text-align: right; | |
| − | + | vertical-align: top; | |
| − | + | width: 120px; | |
} | } | ||
| − | .infobox | + | .infobox td { |
| − | + | vertical-align: top; | |
| − | |||
} | } | ||
Version du 1 octobre 2020 à 03:25
/* 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;
}