Дополнительные действия
DarkMuse (обсуждение | вклад) Нет описания правки |
DarkMuse (обсуждение | вклад) Нет описания правки |
||
| Строка 1: | Строка 1: | ||
/* Размещённый здесь CSS будет применяться ко всем темам оформления */ | /* Размещённый здесь 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 { | .heroes-panel { | ||
display: flex; | display: flex; | ||
Версия от 17:38, 21 сентября 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;
margin-top: 10px;
align-items: center;
justify-content: center;
border: 1px solid #455d7bba;
position: relative;
}
.heroes-panel__hero-card img {
width: 100%;
height: 100%;
}
.heroes-panel__hero-card__title {
position: absolute;
}