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

Материал из Ганджавики
Перейти к навигации Перейти к поиску
Нет описания правки
Нет описания правки
 
Строка 10: Строка 10:
     height: auto !important; /* Maintain aspect ratio */
     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; }