MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 8: Line 8:
     cursor: pointer;
     cursor: pointer;
     transition: all 0.2s ease;
     transition: all 0.2s ease;
    /* Добавляем внутренние отступы */
    padding: 5px; /* Отступы со всех сторон */
    box-sizing: border-box; /* Учитываем padding в размерах */
     /* Фоновое изображение */
     /* Фоновое изображение */
     background-image: url('your-image.png');
     background-image: url('your-image.png');
     background-size: cover; /* Изображение покрывает всю площадь */
     background-size: 80%; /* Уменьшаем размер фона, чтобы были отступы */
     background-position: center center; /* Явно центрируем по обеим осям */
     background-position: center center; /* Центрируем */
     background-repeat: no-repeat; /* Убираем повторение изображения */
     background-repeat: no-repeat; /* Без повторения */
    background-clip: content-box; /* Фон не выходит за пределы padding */
}
}


Navigation menu

Help

Help Image

Here's pages that you can help us to get more information about them.

Stand with Ukraine

Ukrainian Flag