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

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

Страница интерфейса MediaWiki
Новая страница: «→‎Размещённый здесь CSS будет применяться ко всем темам оформления: .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; justif...»
 
Нет описания правки
Строка 31: Строка 31:
flex-direction: column;
flex-direction: column;
width: 100px;
width: 100px;
margin-top: 10px;
align-items: center;
align-items: center;
justify-content: center;
justify-content: center;

Версия от 17:31, 21 сентября 2024

/* Размещённый здесь CSS будет применяться ко всем темам оформления */
.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;
}