(Добавление стиля для инфобоксов) |
(Загрузка стилей для инфобокса) |
||
Строка 30: | Строка 30: | ||
} | } | ||
infobox { | /* Общий стиль для инфобокса */ | ||
.infobox { | |||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
Строка 41: | Строка 42: | ||
border: solid #000 6px; | border: solid #000 6px; | ||
background: #000; | background: #000; | ||
} | |||
.inf-title { | |||
padding: 2px 4px; | |||
background-color: #eee; | |||
text-align: center; | |||
font-size: 1.8em; | |||
} | |||
.inf-row { | |||
display: flex; | |||
flex-direction: row; | |||
flex-wrap: nowrap; | |||
align-items: center; | |||
padding: 6px 6px; | |||
background-color: #363d49; | |||
} | |||
.inf-label { | |||
flex: 1 2 35%; | |||
text-align: left; | |||
font-size: 1.05em; | |||
font-weight: bold; | |||
} | |||
.inf-data { | |||
flex: 3 1 65%; | |||
padding-left: 6px; | |||
text-align: left; | |||
} | |||
.inf-header { | |||
padding: 2px 4px; | |||
text-align: center; | |||
font-size: 1.2em; | |||
font-weight: bold; | |||
background-color: #424a57; | |||
} | } |
Версия от 21:47, 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;
}
.inf-title {
padding: 2px 4px;
background-color: #eee;
text-align: center;
font-size: 1.8em;
}
.inf-row {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
align-items: center;
padding: 6px 6px;
background-color: #363d49;
}
.inf-label {
flex: 1 2 35%;
text-align: left;
font-size: 1.05em;
font-weight: bold;
}
.inf-data {
flex: 3 1 65%;
padding-left: 6px;
text-align: left;
}
.inf-header {
padding: 2px 4px;
text-align: center;
font-size: 1.2em;
font-weight: bold;
background-color: #424a57;
}