MediaWiki:Common.css
Замечание: Возможно, после публикации вам придётся очистить кэш своего браузера, чтобы увидеть изменения.
- Firefox / Safari: Удерживая клавишу Shift, нажмите на панели инструментов Обновить либо нажмите Ctrl+F5 или Ctrl+R (⌘+R на Mac)
- Google Chrome: Нажмите Ctrl+Shift+R (⌘+Shift+R на Mac)
- Edge: Удерживая Ctrl, нажмите Обновить либо нажмите Ctrl+F5
- Opera: Нажмите Ctrl+F5.
/* Контейнер */
.hj-chaos-container {
margin-bottom: 1.5em;
}
/* Ряд вкладок */
.hj-chaos-tabs {
display: flex;
border: 1px solid #555;
border-bottom: none;
border-radius: 6px 6px 0 0;
overflow: hidden;
}
/* Кнопки-вкладки как большие карточки */
.hj-chaos-tab-button {
flex: 1 1 0;
padding: 10px 14px;
cursor: pointer;
display: flex;
flex-direction: column;
justify-content: center;
gap: 4px;
background: #191919;
border-right: 1px solid #555;
}
.hj-chaos-tab-button:last-child {
border-right: none;
}
/* Заголовок и подзаголовок внутри кнопки */
.hj-chaos-tab-title {
font-weight: bold;
font-size: 1em;
}
.hj-chaos-tab-desc {
font-size: 0.85em;
opacity: 0.9;
}
/* Базовые цвета вкладок (не активные) */
.hj-chaos-tab-button[data-chaos="overview"] { background: #222833; }
.hj-chaos-tab-button[data-chaos="calm"] { background: #1e2b20; }
.hj-chaos-tab-button[data-chaos="medium"] { background: #2b2615; }
.hj-chaos-tab-button[data-chaos="high"] { background: #2b1818; }
/* Активная вкладка — более яркая и подсвеченная */
.hj-chaos-tab-button.active[data-chaos="overview"] {
background: #2f3b4d;
}
.hj-chaos-tab-button.active[data-chaos="calm"] {
background: #234526;
}
.hj-chaos-tab-button.active[data-chaos="medium"] {
background: #5c4716;
}
.hj-chaos-tab-button.active[data-chaos="high"] {
background: #5c1f1f;
}
/* Контент под вкладками */
.hj-chaos-block {
display: none;
padding: 16px 18px;
border: 1px solid #555;
border-top: none;
border-radius: 0 0 6px 6px;
background: #111;
}
/* Активный блок */
.hj-chaos-block.active {
display: block;
}
/* Фон под контентом подкрашиваем под режим */
.hj-chaos-block[data-chaos="overview"] {
background: #2f3b4d;
}
.hj-chaos-block[data-chaos="calm"] {
background: #101c11;
}
.hj-chaos-block[data-chaos="medium"] {
background: #181209;
}
.hj-chaos-block[data-chaos="high"] {
background: #190808;
}
/* Заголовок внутри блока */
.hj-chaos-block h2 {
margin-top: 0;
}