< Шаблон:ТаблицаРолей | Роль
Нет описания правки |
Нет описания правки |
||
Строка 1: | Строка 1: | ||
/* Основные стили карточки */ | /* Основные стили карточки */ | ||
. | .cardRole { | ||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
Строка 14: | Строка 14: | ||
/* Заголовок карточки */ | /* Заголовок карточки */ | ||
. | .card_headerRole { | ||
background-color: #465298; | background-color: #465298; | ||
border-radius: 3px; | border-radius: 3px; | ||
Строка 20: | Строка 20: | ||
} | } | ||
. | .card_header_titleRole { | ||
padding: 0 3px; | padding: 0 3px; | ||
} | } | ||
. | .card_header_titleRole p { | ||
margin: 6px 0; | margin: 6px 0; | ||
} | } | ||
. | .title_textRole { | ||
color: white; | color: white; | ||
} | } | ||
/* Область изображения */ | /* Область изображения */ | ||
. | .card_imageRole { | ||
height: 100%; | height: 100%; | ||
display: flex; | display: flex; | ||
Строка 41: | Строка 41: | ||
} | } | ||
. | .fixed_imageRole { | ||
padding: 0 64px; | padding: 0 64px; | ||
} | } |
Версия от 19:45, 29 июля 2025
/* Основные стили карточки */
.cardRole {
display: flex;
flex-direction: column;
max-width: 400px;
min-width: 190px;
border: 1px solid #465298;
padding: 2px;
border-radius: 6px;
min-height: 36px;
box-sizing: border-box;
width: min-content;
}
/* Заголовок карточки */
.card_headerRole {
background-color: #465298;
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;
}