Открыть меню
Открыть персональное меню
Вы не представились системе
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: различия между версиями

Страница интерфейса MediaWiki
Нет описания правки
Нет описания правки
Строка 72: Строка 72:


.heroes-panel__hero-card span[typeof='mw:File'] {
.heroes-panel__hero-card span[typeof='mw:File'] {
border: 1px solid #455d7bba;
    border: 2px solid #242329;
    border-radius: 10px;
    height: 50px;
}
}


Строка 78: Строка 80:
display: flex;
display: flex;
width: 100%;
width: 100%;
height: 50px;
}
}



Версия от 19:00, 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;
	position: relative;
}

.heroes-panel__hero-card span[typeof='mw:File'] {
    border: 2px solid #242329;
    border-radius: 10px;
    height: 50px;
}

.heroes-panel__hero-card span {
	display: flex;
	width: 100%;
}

.heroes-panel__hero-card img {
	width: 100%;
	height: 100%;
	object-fit: fill;
}

.heroes-panel__hero-card__title a {
	font-size: 11px;
	font-weight: 600;
	color: #38323d;
}