(Редактирование общего стиля таблиц) |
(Добавление стиля для инфобоксов) |
||
Строка 28: | Строка 28: | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
background-position: right; | background-position: right; | ||
} | |||
infobox { | |||
display: flex; | |||
flex-direction: column; | |||
flex-wrap: nowrap; | |||
float: right; | |||
width: 318px; | |||
border: solid #000 6px; | |||
background: #000; | |||
} | } |
Версия от 21:38, 23 марта 2024
/* Временный общий импорт стиля для шаблона */
@import "/index.php?ctype=text/css&action=raw&title=MediaWiki:Extra.css";
/* Чередование строк в таблице */
.skin-citizen-dark .alternation tr:nth-child(even) {
background-color: #ffffff1a;
}
.skin-citizen-light .alternation tr:nth-child(even) {
background-color: #0000001a;
}
/* Общий стиль таблиц статей */
.citizen-table-wrapper td {
padding: 6px 4px;
}
/* Костыль с использованием image url для Шаблона:Заголовок */
.home-header:before {
content: "";
position: absolute;
top: 1rem;
bottom: 4.75rem;
left: 0;
right: 0;
opacity: 0.1;
background-image: url("https://wiki.adventurestation.space/images/4/40/LOGO.png");
background-repeat: no-repeat;
background-position: right;
}
infobox {
display: flex;
flex-direction: column;
flex-wrap: nowrap;
float: right;
width: 318px;
border: solid #000 6px;
background: #000;
}