Дополнительные действия
DarkMuse (обсуждение | вклад) Нет описания правки |
DarkMuse (обсуждение | вклад) Нет описания правки |
||
| Строка 44: | Строка 44: | ||
align-items: center; | align-items: center; | ||
justify-content: center; | justify-content: center; | ||
max-width: | max-width: 1200px; | ||
} | } | ||
| Строка 53: | Строка 53: | ||
list-style: none; | list-style: none; | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
width: 100%; | |||
} | } | ||
| Строка 62: | Строка 63: | ||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
width: | width: 120px; | ||
height: | height: 100%; | ||
margin-top: 10px; | margin-top: 10px; | ||
align-items: center; | align-items: center; | ||
| Строка 72: | Строка 73: | ||
.heroes-panel__hero-card span { | .heroes-panel__hero-card span { | ||
display: flex; | |||
width: 100%; | width: 100%; | ||
height: | height: 50px; | ||
} | } | ||
| Строка 79: | Строка 81: | ||
width: 100%; | width: 100%; | ||
height: 100%; | height: 100%; | ||
object-fit: fill; | |||
} | } | ||
.heroes-panel__hero-card__title { | .heroes-panel__hero-card__title { | ||
} | } | ||
Версия от 18:54, 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: 1200px;
}
.heroes-panel__category-list {
display: flex;
align-items: center;
justify-content: center;
list-style: none;
flex-wrap: wrap;
width: 100%;
}
.heroes-panel__category-list li:not(:last-child) {
margin-right: 10px;
}
.heroes-panel__hero-card {
display: flex;
flex-direction: column;
width: 120px;
height: 100%;
margin-top: 10px;
align-items: center;
justify-content: center;
border: 1px solid #455d7bba;
position: relative;
}
.heroes-panel__hero-card span {
display: flex;
width: 100%;
height: 50px;
}
.heroes-panel__hero-card img {
width: 100%;
height: 100%;
object-fit: fill;
}
.heroes-panel__hero-card__title {
}