MediaWiki:Common.css: различия между версиями
Материал из Tattoo wiki
Строка 15: | Строка 15: | ||
.infobox-subtitle { | .infobox-subtitle { | ||
font-size: 1em; | font-size: 1em; | ||
− | text-align: | + | text-align: center; |
background-color: #fff00; | background-color: #fff00; | ||
} | } | ||
.infobox-image { | .infobox-image { | ||
− | text-align: | + | text-align: center; |
background-color: #ffff00; | background-color: #ffff00; | ||
+ | } | ||
+ | .infobox th { | ||
+ | text-align: right; | ||
+ | vertical-align: top; | ||
+ | width: 120px; | ||
+ | } | ||
+ | .infobox td { | ||
+ | vertical-align: top; | ||
} | } |
Версия 10:26, 15 июля 2019
.infobox { background-color: #eee; border: 1px solid #aaa; float: right; margin: 0 0 1em 1em; padding: 1em; } .infobox-title { border: 1px solid #000000; font-size: 1.5em; text-align: center; background-color: #ff0000; } .infobox-subtitle { font-size: 1em; text-align: center; background-color: #fff00; } .infobox-image { text-align: center; background-color: #ffff00; } .infobox th { text-align: right; vertical-align: top; width: 120px; } .infobox td { vertical-align: top; }