Шаблон:ТаблицаРолей/Роль/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: | padding: 2px; | ||
border-radius: | border-radius: 6px; | ||
min-height: 36px; | |||
box-sizing: border-box; | box-sizing: border-box; | ||
height: 100%; | height: 100%; | ||
} | } | ||
/* Заголовок карточки */ | |||
.card_headerRole { | .card_headerRole { | ||
border-radius: 3px; | |||
border-radius: | |||
text-align: center; | text-align: center; | ||
} | } | ||
.card_header_titleRole { | .card_header_titleRole { | ||
padding: 0 | padding: 0 3px; | ||
} | } | ||
.card_header_titleRole p { | .card_header_titleRole p { | ||
margin: 0 | margin: 6px 0; | ||
} | } | ||
.title_textRole { | .title_textRole { | ||
color: | color: white; | ||
} | } | ||
/* Область изображения */ | |||
.card_imageRole { | .card_imageRole { | ||
height: 100%; | |||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
justify-content: center; | justify-content: center; | ||
background-color: transparent; | background-color: transparent; | ||
} | } | ||
.fixed_imageRole { | .fixed_imageRole { | ||
padding: 0 64px; | |||
} | } | ||
Версия от 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;
}