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

Материал из Ганджавики
Перейти к навигации Перейти к поиску
мНет описания правки
Метка: отменено
Нет описания правки
 
(не показаны 4 промежуточные версии 2 участников)
Строка 1: Строка 1:
/* Размещённый здесь CSS будет применяться ко всем темам оформления */
/* Размещённый здесь CSS будет применяться ко всем темам оформления */
body.page-Заглавная_страница.action-view h1.firstHeading, body.page-Заглавная_страница.action-submit h1.firstHeading { display: none; }
body.page-Заглавная_страница.action-view h1.firstHeading, body.page-Заглавная_страница.action-submit h1.firstHeading { display: none; }
table.wikitable {
table.wikitable tr:nth-child(2n-1) {
background-color: #f5fff5; /* цвет фона таблиц */
background-color: #f5fff5; /* цвет фона нечётных строк таблиц */
}
table.wikitable tr th {
background-color: #deffde; /* цвет фона заголовка таблиц */
    border-color: #339933; /* цвет рамок заголовка таблиц */
}
table.wikitable tr td {
    border-color: #339933; /* цвет рамок строк таблиц */
}
}
table.wikitable tr:nth-child(2n-1) {
table.dpl td a > img, table.dpl td noscript > img { /* Override default image styles for DPL tables */
background-color: #edf9ed; /* цвет фона нечётных строк таблиц */
    max-width: none !important; /* Disable max-width */
    min-width: 24px !important; /* Set a minimum width */
    width: auto !important; /* Allow natural scaling */
    height: auto !important; /* Maintain aspect ratio */
}
}
.noautonum .tocnumber { display: none; }

Текущая версия от 00:51, 10 апреля 2025

/* Размещённый здесь CSS будет применяться ко всем темам оформления */
body.page-Заглавная_страница.action-view h1.firstHeading, body.page-Заглавная_страница.action-submit h1.firstHeading { display: none; }
table.wikitable tr:nth-child(2n-1) {
	background-color: #f5fff5;  /* цвет фона нечётных строк таблиц */
}
table.dpl td a > img, table.dpl td noscript > img { /* Override default image styles for DPL tables */
    max-width: none !important; /* Disable max-width */
    min-width: 24px !important; /* Set a minimum width */
    width: auto !important; /* Allow natural scaling */
    height: auto !important; /* Maintain aspect ratio */
}
.noautonum .tocnumber { display: none; }