Олёша Вики ищет редакторов/модераторов/писателей статей. Обращаться к Администратору
MediaWiki:Common.css: различия между версиями
Материал из Олёша Вики
L27001 (обсуждение | вклад) Нет описания правки |
L27001 (обсуждение | вклад) мНет описания правки |
||
| Строка 23: | Строка 23: | ||
.infobox th { | .infobox th { | ||
text-align: left; | text-align: left; | ||
width: 120px; | width: 120px; | ||
} | } | ||
.infobox td { | .infobox td, .infobox th { | ||
vertical-align: top; | vertical-align: top; | ||
padding: 0.5em 0.3em; | padding: 0.5em 0.3em; | ||
border-top: 1px solid black; | |||
} | |||
.infobox td:last-child, .infobox th:last-child { | |||
border-bottom: 1px solid black; | |||
} | } | ||
Версия от 19:43, 24 января 2023
/* Размещённый здесь CSS будет применяться ко всем темам оформления */
#p-logo-text a { padding: 0.1em 0.3em 0.2em; }
.infobox {
background: #eee;
border: 1px solid #aaa;
float: right;
margin: 0 0 1em 1em;
padding: 1em;
width: 400px;
}
.infobox-title {
font-weight: bold;
font-size: 2em;
text-align: center;
}
.infobox-image {
text-align: center;
}
.infobox table {
margin-top: 15px;
}
.infobox th {
text-align: left;
width: 120px;
}
.infobox td, .infobox th {
vertical-align: top;
padding: 0.5em 0.3em;
border-top: 1px solid black;
}
.infobox td:last-child, .infobox th:last-child {
border-bottom: 1px solid black;
}
