Шаблон:ТаблицаРолей/Роль/styles.css: различия между версиями
Материал из FIRE STATION WIKI
Дополнительные действия
Нет описания правки |
Нет описания правки Метка: отменено |
||
| Строка 4: | Строка 4: | ||
flex-direction: column; | flex-direction: column; | ||
max-width: 400px; | max-width: 400px; | ||
min-width: | min-width: 130px; | ||
padding: 2px; | padding: 2px; | ||
border-radius: 6px; | border-radius: 6px; | ||
| Строка 30: | Строка 30: | ||
} | } | ||
.card_imageRole { | .card_imageRole { | ||
height: 100%; | height: 100%; | ||
| Строка 37: | Строка 36: | ||
justify-content: center; | justify-content: center; | ||
background-color: transparent; | background-color: transparent; | ||
} | |||
.card_imageRole img { | |||
width: 100% !important; | |||
height: auto !important; | |||
max-width: 128px; | |||
object-fit: contain; | |||
} | } | ||
Версия от 18:37, 22 июня 2026
/* Основные стили карточки */
.cardRole {
display: flex;
flex-direction: column;
max-width: 400px;
min-width: 130px;
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;
}
.card_imageRole img {
width: 100% !important;
height: auto !important;
max-width: 128px;
object-fit: contain;
}
.fixed_imageRole {
padding: 0 64px;
}