MediaWiki:Common.css: відмінності між версіями

Матеріал з darnytsa_hero
Перейти до навігації Перейти до пошуку
Немає опису редагування
Сторінка очищена
Мітка: Очищення
Рядок 1: Рядок 1:
/* Стиль для сторінок з зображеннями */
body:has(img[src*="/images/"]) {
    background: black !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
}


body:has(img[src*="/images/"]) img {
    max-width: 95% !important;
    max-height: 95% !important;
    object-fit: contain !important;
}

Версія за 05:42, 24 вересня 2025