MediaWiki:Common.css: различия между версиями
Перейти к навигации
Перейти к поиску
GW349581 (обсуждение | вклад) мНет описания правки Метки: с мобильного устройства из мобильной версии через расширенный мобильный режим |
Нет описания правки |
||
| Строка 3: | Строка 3: | ||
table.wikitable tr:nth-child(2n-1) { | table.wikitable tr:nth-child(2n-1) { | ||
background-color: #f5fff5; /* цвет фона нечётных строк таблиц */ | 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 */ | |||
} | } | ||
Версия от 15:23, 27 февраля 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 */
}