Открыть меню
Переключить меню настроек
Открыть персональное меню
Вы не представились системе
Ваш IP-адрес будет виден всем, если вы внесёте какие-либо изменения.

Шаблон:ТаблицаРолей/Роль/styles.css: различия между версиями

Материал из FIRE STATION WIKI
Нет описания правки
Нет описания правки
Строка 43: Строка 43:
}
}
.card_imageRole img {
.card_imageRole img {
     object-fit: contain;
     object-fit: contain;  
    height: auto !important;
     transition: transform 0.2s ease-in-out;  
    max-height: 85px;
     transition: transform 0.2s ease-in-out;
}
}


Строка 54: Строка 52:


.cardRole:hover .card_imageRole img {
.cardRole:hover .card_imageRole img {
     transform: scale(1.7);  
     transform: scale(1.7);
}
}

Версия от 19:38, 23 июня 2026

/* Основные стили карточки */
.cardRole {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    min-width: 190px;
    padding: 2px;
    border-radius: 6px;
    min-height: 36px;
    box-sizing: border-box;
    height: 100%;
}

/* Заголовок карточки */
.card_headerRole {
    border-radius: 3px;
    text-align: center;
}

.card_header_titleRole {
    padding: 0 3px;
}

.card_header_titleRole p {
    margin: 6px 0;
}

.title_textRole {
    color: white;
}

/* Область изображения */
.card_imageRole {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
}

.fixed_imageRole {
    padding: 0 64px;
}
.card_imageRole img {
    object-fit: contain; 
    transition: transform 0.2s ease-in-out; 
}

.cardRole:hover {
    z-index: 100;
}

.cardRole:hover .card_imageRole img {
    transform: scale(1.7);
}