Дополнительные действия
Замечание: Возможно, после публикации вам придётся очистить кэш своего браузера, чтобы увидеть изменения.
- Firefox / Safari: Удерживая клавишу Shift, нажмите на панели инструментов Обновить либо нажмите Ctrl+F5 или Ctrl+R (⌘+R на Mac)
- Google Chrome: Нажмите Ctrl+Shift+R (⌘+Shift+R на Mac)
- Internet Explorer / Edge: Удерживая Ctrl, нажмите Обновить либо нажмите Ctrl+F5
- Opera: Нажмите Ctrl+F5.
/* Размещённый здесь 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,
.items-panel{
display: flex;
flex-direction: column;
align-items: center;
justify-content:center;
}
.heroes-panel__category,
.items-panel__category{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
max-width: 1000px;
}
.heroes-panel__category-title,
.items-panel__category-title{
display: flex;
align-items: center;
}
.heroes-panel__category-title span[typeof="mw:File"],
.items-panel__category-title span[typeof="mw:File"]{
margin-right: 5px;
width: 40px;
height: 35px;
}
.heroes-panel__category-title span,
.items-panel__category-title span{
display: flex;
}
.heroes-panel__category-title span[typeof="mw:File"] span,
.items-panel__category-title span[typeof="mw:File"] span{
width: 100%;
height: 100%;
}
.heroes-panel__category-title img,
.items-panel__category-title img{
width: 100%;
height: 100%;
object-fit: fill;
}
.heroes-panel__category-block,
.items-panel__category-block{
display: flex;
align-items: flex-start;
width: 100%;
}
.heroes-panel__category-list,
.items-panel__category-list {
display: flex;
align-items: center;
justify-content: flex-start;
list-style: none;
flex-wrap: wrap;
width: 33%;
}
.items-panel__category-block-child {
display: flex;
flex-direction: column;
align-items: center;
width: 30%;
}
.items-panel__category-block-child:not(:nth-child(4n)) {
margin-right: 10px;
}
.items-panel__category-header-title {
font-size: 18px;
}
.items-panel__category-block-child .items-panel__category-list {
width: 100%;
margin: 0;
}
.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),
.items-panel__category-list li:nth-child(4n+1),
.items-panel__category-list li:nth-child(4n+2),
.items-panel__category-list li:nth-child(4n+3){
margin-right: 10px;
}
.heroes-panel__category-list li:last-child,
.items-panel__category-list li:last-child{
margin-right: 0px;
}
.heroes-panel__hero-card,
.items-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'],
.items-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,
.items-panel__hero-card span[typeof='mw:File'] a{
width: 100%;
height: 100%;
}
.heroes-panel__hero-card span[typeof='mw:File']:hover,
.items-panel__hero-card span[typeof='mw:File']:hover {
border-color: #00f7d5;
border-width: 1px;
}
.heroes-panel__hero-card span,
.items-panel__hero-card span {
display: flex;
width: 100%;
}
.heroes-panel__hero-card img,
.items-panel__hero-card img {
width: 100%;
height: 100%;
object-fit: fill;
border-radius: 10px;
}
.heroes-panel__hero-card__title a,
.items-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 {
display: flex;
justify-content: center;
align-items: center;
text-align: center;
font-weight: bold;
font-size: 120%;
margin-bottom: 5px;
}
.hero-info-image {
margin-right: 10px;
width: 50px;
height: 50px;
}
.hero-info-image p {
margin: 0;
}
.hero-info-text {
margin: 0;
}
.hero-attributes {
text-align: center;
display: flex;
justify-content: space-evenly;
margin-bottom: 10px;
}
.hero-attributes-items {
width: 30%;
display: flex;
flex-direction: column;
align-items: center;
}
.hero-attributes-items-image {
width: 50px;
height: 50px;
}
.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;
}
.ability-stats-item-title {
font-weight: 700;
}