MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 1: Line 1:
/* Стиль кнопки */
.gameplay-buttons {
.button {
     display: flex;
     background-color: #3F3F3F;
     flex-wrap: wrap;
     color: #FFFFFF; /* Цвет текста на кнопке */
     gap: 10px;
     padding: 10px 20px; /* Отступы внутри кнопки */
     justify-content: center; /* Центрирует кнопки по горизонтали */
    border: none; /* Убираем границы */
     margin: 20px 0;
    border-radius: 5px; /* Скругление углов */
     text-align: center; /* Выравнивание текста по центру */
     display: inline-block; /* Для корректного отображения кнопки */
    text-decoration: none; /* Убираем подчеркивание ссылки */
    font-size: 16px; /* Размер шрифта */
    transition: background-color 0.3s ease; /* Плавный переход цвета при наведении */
}
}


.button:hover {
.gameplay-button {
     background-color: #5C5C5C; /* Цвет кнопки при наведении */
    display: inline-block;
    padding: 10px 20px;
     background-color: #1b1b1b; /* Темный фон, как на wiki */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
    font-weight: bold;
    text-align: center;
}
}


.gameplay-button:hover {
    background-color: #ffa500; /* Цвет при наведении, как на wiki */
    transform: scale(1.05);
}


/* Градиент снизу вверх для всех строк таблицы */
/* Градиент снизу вверх для всех строк таблицы */

Navigation menu