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

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

Материал из FIRE STATION WIKI
Отмена версии 18986, сделанной Fire Helper (обсуждение)
Метки: отмена отменено
м Откат правок Fire Helper (обсуждение) к последней версии Mr. Samuel
Метка: откат
Строка 5: Строка 5:
     max-width: 400px;
     max-width: 400px;
     min-width: 190px;
     min-width: 190px;
     padding: 8px;  
     padding: 2px;
     border-radius: 8px;  
     border-radius: 6px;
    min-height: 36px;
     box-sizing: border-box;
     box-sizing: border-box;
     height: 100%;
     height: 100%;
    background-color: #ffffff;
    border: 1px solid #2d3748;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
}


 
/* Заголовок карточки */
.card_headerRole {
.card_headerRole {
    background-color: #3b427a;
     border-radius: 3px;
     border-radius: 6px;  
     text-align: center;
     text-align: center;
    padding: 6px 4px;
}
}


.card_header_titleRole {
.card_header_titleRole {
     padding: 0 4px;
     padding: 0 3px;
}
}


.card_header_titleRole p {
.card_header_titleRole p {
     margin: 0;
     margin: 6px 0;
    font-size: 14px;
    font-weight: 600;
}
}


.title_textRole {
.title_textRole {
     color: #ffffff;  
     color: white;
}
}


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


.fixed_imageRole {
.fixed_imageRole {
     width: 100%;
     padding: 0 64px;
    display: flex;
    justify-content: center;
}
 
.card_imageRole img {
    object-fit: contain;
    height: auto;
    max-height: 80px;
    max-width: 100%;
    image-rendering: pixelated;
    transition: transform 0.2s ease-in-out;
}
 
 
.cardRole:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-color: #4c51bf;
}
 
.cardRole:hover .card_imageRole img {
    transform: scale(1.15);
}
}

Версия от 20:38, 27 июня 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;
}