MediaWiki:Common.css: различия между версиями
Страница интерфейса MediaWiki
Дополнительные действия
Mohooks (обсуждение | вклад) Нет описания правки |
Mohooks (обсуждение | вклад) Нет описания правки |
||
Строка 20: | Строка 20: | ||
.infobox-title { | .infobox-title { | ||
margin-top: 5px; | |||
font-size: 1em; | font-size: 1em; | ||
background-color: #5485E8; | background-color: #5485E8; | ||
font-weight: 600; | font-weight: 600; | ||
text-align: center; | text-align: center; | ||
border-radius: | border-radius: 10px; | ||
color: aliceblue; | color: aliceblue; | ||
} | } |
Версия от 10:37, 17 июля 2025
.infobox {
background: #eee;
border: 1px solid #aaa;
float: right;
margin: 0 0 1em 1em;
padding: 1em;
width: 400px;
border-radius: 7px;
color: #000;
}
@media (prefers-color-scheme: dark) {
.infobox {
background: #2a2a2a;
border: 1px solid #555;
color: #f0f0f0;
}
}
.infobox-title {
margin-top: 5px;
font-size: 1em;
background-color: #5485E8;
font-weight: 600;
text-align: center;
border-radius: 10px;
color: aliceblue;
}
.infobox-image {
text-align: center;
}
.infobox-table th {
width: 100%;
text-align: left;
}
.infobox-table td {
vertical-align: top;
}