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

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

Страница интерфейса MediaWiki
Нет описания правки
Нет описания правки
Строка 160: Строка 160:
.ability-card {
.ability-card {
   border: 1px solid #1c4669;
   border: 1px solid #1c4669;
  background-color: #00000026;
   border-radius: 8px;
   border-radius: 8px;
   padding: 10px;
   padding: 10px;

Версия от 15:06, 13 октября 2024

/* Размещённый здесь CSS будет применяться ко всем темам оформления */
img {
	width: 100%;
	height: 100%;
}

.mw-headline {
	padding-bottom: 10px;
	border-bottom: 1px solid #000000;
}

.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;
	align-items: flex-start;
	width: 100%;
}

.heroes-panel__category-list {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    list-style: none;
    flex-wrap: wrap;
    width: 33%;
}

.heroes-panel__category-list li:nth-child(4n+1),
.heroes-panel__category-list li:nth-child(4n+2),
.heroes-panel__category-list li:nth-child(4n+3) {
	margin-right: 10px;
}

.heroes-panel__category-list li:last-child {
	margin-right: 0px;
}

.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;
    transition: border-color 0.3s ease-in-out, border-width 0.3s ease-in-out;
}

.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;
}

.stat-row-text {
	margin: 5px 0;
}

.ability-card {
  border: 1px solid #1c4669;
  border-radius: 8px;
  padding: 10px;
  width: 600px;
  font-family: Arial, sans-serif;
}

.ability-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #444;
  padding-bottom: 5px;
}

.ability-top-info {
    display: flex;
    align-items: center;
}

.ability-top-info-icon {
	margin-right: 10px;
}

.ability-top-info-name p {
	font-size: 18px;
	font-weight: 600;
	line-height: 24px;
}

.ability-bottom-info {
	display: flex;
	justify-content: space-evenly;
	width: 100%;
}

.ability-type-title,
.ability-type-text {
    font-size: 14px;
    line-height: 18px;
    color: #787b80;
}

.ability-type-title,
.ability-target-title, 
.damage-type-title {
	font-weight: 600;
}

.ability-target-title,
.ability-target-text {
    font-size: 14px;
    line-height: 18px;
    color: #0b9600;	
}

.damage-type-title,
.damage-type-text {
    font-size: 14px;
    line-height: 18px;
    color: #787b80;		
}

.ability-icon {
  display: flex;
  align-items: center;
}

.ability-icon div {
  margin-right: 10px;
}

.ability-name {
  font-size: 24px;
  font-weight: bold;
}

.ability-type,
.ability-target,
.damage-type {
  padding: 5px 10px;
  border-radius: 5px;
}

.ability-description {
  margin-top: 10px;
}

.ability-stats {
  margin-top: 10px;
}

.additional-info {
  margin-top: 10px;
}

.additional-info strong {
  display: block;
  margin-bottom: 5px;
}

.herobox {
  width: 300px;
  border: 1px solid #1c4669;
  padding: 10px;
  margin: 10px;
  float: right;
}

.hero-info {
  text-align: center;
  font-weight: bold;
  font-size: 120%;
  margin-bottom: 10px;
}

.hero-attributes {
  text-align: center;
  display: flex;
  justify-content: space-evenly;
  margin-bottom: 10px;
}

.hero-stats, .hero-extra-stats {
  font-size: 90%;
  border-top: 1px solid grey;
  padding-top: 10px;
}

.stat-row {
  display: flex;
  justify-content: space-between;
}

.items-actions .items-actions-list {
	display: flex;
	flex-direction: column;
	margin: 20px 0;
	list-style: none;
	
}

.items-actions-list-item {
	display: flex;
	align-items: center;
}

.items-actions-list-item:not(:last-child) {
	margin-bottom: 10px;
}

.items-actions-list-item-image {
	display: flex;
	margin-right: 10px;
	width: 40px;
	height: 40px;
}

.items-actions-list-item-text {
	display: flex;
	max-width: 500px;
}