Дополнительные действия
DarkMuse (обсуждение | вклад) Нет описания правки |
DarkMuse (обсуждение | вклад) Нет описания правки |
||
| Строка 44: | Строка 44: | ||
align-items: center; | align-items: center; | ||
justify-content: center; | justify-content: center; | ||
max-width: | max-width: 1000px; | ||
} | } | ||
| Строка 71: | Строка 71: | ||
height: 100%; | height: 100%; | ||
object-fit: fill; | object-fit: fill; | ||
} | |||
.heroes-panel__category-block { | |||
display: flex; | |||
width: 100%; | |||
} | } | ||
| Строка 79: | Строка 84: | ||
list-style: none; | list-style: none; | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
width: | width: 33%; | ||
} | } | ||
Версия от 20:30, 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: 1000px;
}
.heroes-panel__category-title {
display: flex;
align-items: center;
}
.heroes-panel__category-title span[typeof="mw:File"] {
margin-right: 5px;
width: 40px;
height: 35px;
}
.heroes-panel__category-title span {
display: flex;
}
.heroes-panel__category-title span[typeof="mw:File"] span {
width: 100%;
height: 100%;
}
.heroes-panel__category-title img {
width: 100%;
height: 100%;
object-fit: fill;
}
.heroes-panel__category-block {
display: flex;
width: 100%;
}
.heroes-panel__category-list {
display: flex;
align-items: center;
justify-content: center;
list-style: none;
flex-wrap: wrap;
width: 33%;
}
.heroes-panel__category-list li:not(:last-child) {
margin-right: 10px;
}
.heroes-panel__hero-card {
display: flex;
flex-direction: column;
width: 60px;
height: 100%;
margin-top: 10px;
align-items: center;
justify-content: center;
position: relative;
}
.heroes-panel__hero-card span[typeof='mw:File'] {
border: 2px solid #242329;
border-radius: 10px;
height: 50px;
}
.heroes-panel__hero-card span[typeof='mw:File'] a {
width: 100%;
height: 100%;
}
.heroes-panel__hero-card span[typeof='mw:File']:hover {
border-color: #00f7d5;
border-width: 1px;
}
.heroes-panel__hero-card span {
display: flex;
width: 100%;
}
.heroes-panel__hero-card img {
width: 100%;
height: 100%;
object-fit: fill;
border-radius: 10px;
}
.heroes-panel__hero-card__title a {
font-size: 11px;
font-weight: 600;
color: #38323d;
}