Дополнительные действия
DarkMuse (обсуждение | вклад) Нет описания правки |
DarkMuse (обсуждение | вклад) Нет описания правки |
||
| Строка 62: | Строка 62: | ||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
width: 100px; | |||
height: 60px; | |||
margin-top: 10px; | margin-top: 10px; | ||
align-items: center; | align-items: center; | ||
| Строка 68: | Строка 69: | ||
border: 1px solid #455d7bba; | border: 1px solid #455d7bba; | ||
position: relative; | position: relative; | ||
} | |||
.heroes-panel__hero-card span { | |||
width: 100%; | |||
height: 100%; | |||
} | } | ||
Версия от 18:43, 23 сентября 2024
/* Размещённый здесь CSS будет применяться ко всем темам оформления */
.navigation-card-main {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
flex-wrap: wrap;
}
.navigation-card {
width: 150px;
display: flex;
align-items: center;
flex-direction: column;
justify-content: center;
margin-top: 10px;
}
.navigation-card:not(:last-child) {
margin-right: 10px;
}
.navigation-card__image {
width: 100%;
height: 100%;
}
.navigation-card__image img {
object-fit: contain;
width: 100%;
height: 100%;
}
.heroes-panel {
display: flex;
flex-direction: column;
align-items: center;
justify-content:center;
}
.heroes-panel__category {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
max-width: 600px;
}
.heroes-panel__category-list {
display: flex;
align-items: center;
justify-content: center;
list-style: none;
flex-wrap: wrap;
}
.heroes-panel__category-list li:not(:last-child) {
margin-right: 10px;
}
.heroes-panel__hero-card {
display: flex;
flex-direction: column;
width: 100px;
height: 60px;
margin-top: 10px;
align-items: center;
justify-content: center;
border: 1px solid #455d7bba;
position: relative;
}
.heroes-panel__hero-card span {
width: 100%;
height: 100%;
}
.heroes-panel__hero-card img {
width: 100%;
height: 100%;
}
.heroes-panel__hero-card__title {
position: absolute;
}