Олёша Вики ищет редакторов/модераторов/писателей статей. Обращаться к Администратору

MediaWiki:Common.css: различия между версиями

Материал из Олёша Вики
м width: 100% для .infobox table
мНет описания правки
Строка 34: Строка 34:
.infobox tr:last-child td, .infobox tr:last-child th {
.infobox tr:last-child td, .infobox tr:last-child th {
     border-bottom: 1px solid black;
     border-bottom: 1px solid black;
}
.mw-wiki-logo {
background-size: contain;
}
}

Версия от 12:42, 18 ноября 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: 1.7em;
    text-align: center;
    margin-bottom: 10px;
}
.infobox-image {
    text-align: center;
}
.infobox table {
	margin-top: 15px;
	width: 100%;
}
.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 tr:last-child td, .infobox tr:last-child th {
    border-bottom: 1px solid black;
}

.mw-wiki-logo {
	background-size: contain;
}