Увага: Після публікування слід очистити кеш браузера, щоб побачити зміни.

  • Firefox / Safari: тримайте Shift, коли натискаєте Оновити, або натисніть Ctrl-F5 чи Ctrl-Shift-R (⌘-R на Apple Mac)
  • Google Chrome: натисніть Ctrl-Shift-R (⌘-Shift-R на Apple Mac)
  • Edge: тримайте Ctrl, коли натискаєте Оновити, або натисніть Ctrl-F5.
/* =========================
   Повна темна тема для MediaWiki 1.44 (Vector)
   ========================= */

/* =========================
   Фон сторінки та шапка
   ========================= */
html, body, .mw-body {
    background-color: #121212;
    color: #ffffff;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100%;
}

#mw-head {
    background-color: #1a1a1a;
    color: #ffffff;
}

#mw-head h1, #mw-head h2 {
    color: #ffcc00;
}

/* =========================
   Панелі навігації
   ========================= */
#p-personal, #p-navigation, #p-tb, #p-lang, #p-cactions {
    background-color: #1a1a1a;
    color: #ffffff;
}

#p-personal a, #p-navigation a, #p-tb a, #p-lang a, #p-cactions a {
    color: #ffffff;
}

#p-personal a:hover, #p-navigation a:hover, #p-tb a:hover,
#p-lang a:hover, #p-cactions a:hover {
    text-decoration: underline;
}
/* =========================
   Приховати вкладку Інструменти для неавторизованих користувачів
   ========================= */
body:not(.logged-in) #p-tb {
    display: none !important;
}
/* =========================
   Приховати бічні блоки для незареєстрованих користувачів
   ========================= */
body:not(.logged-in) #p-navigation,
body:not(.logged-in) #p-specialpages {
    display: none !important;
}


/* =========================
   Вкладки сторінки
   ========================= */
#ca-nstab-main, #ca-nstab-talk, #ca-view, #ca-edit, #ca-viewsource, #ca-history {
    background-color: #1c1c1c !important;
    border: 1px solid #333;
    border-radius: 4px 4px 0 0;
}

#ca-nstab-main a,
#ca-nstab-talk a,
#ca-view a,
#ca-edit a,
#ca-viewsource a,
#ca-history a {
    color: #ffffff !important;
    text-decoration: none;
    padding: 4px 10px;
    display: inline-block;
    background-color: #1c1c1c !important;
    box-shadow: none !important;
    outline: none !important;
    border-radius: 4px 4px 0 0;
}

/* Hover / Focus / Active для вкладок */
#ca-nstab-main a:hover,
#ca-nstab-talk a:hover,
#ca-view a:hover,
#ca-edit a:hover,
#ca-viewsource a:hover,
#ca-history a:hover,
#ca-nstab-main a:focus,
#ca-nstab-talk a:focus,
#ca-view a:focus,
#ca-edit a:focus,
#ca-viewsource a:focus,
#ca-history a:focus,
#ca-nstab-main a:active,
#ca-nstab-talk a:active,
#ca-view a:active,
#ca-edit a:active,
#ca-viewsource a:active,
#ca-history a:active {
    background-color: #2a2a2a !important;
    color: #ffcc00 !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Активна вкладка */
#ca-nstab-main.mw-selected a,
#ca-nstab-talk.mw-selected a,
#ca-view.mw-selected a,
#ca-edit.mw-selected a,
#ca-viewsource.mw-selected a,
#ca-history.mw-selected a {
    background-color: #2a2a2a !important;
    color: #ffcc00 !important;
    font-weight: bold;
    box-shadow: none !important;
    outline: none !important;
}

/* Vector специфіка */
.mw-vectorTabs a,
.mw-vectorTabs a:focus,
.mw-vectorTabs a:active {
    background-color: #1c1c1c !important;
    color: #ffffff !important;
    box-shadow: none !important;
    outline: none !important;
}

/* =========================
   Основний контент
   ========================= */
.mw-parser-output {
    background-color: #1c1c1c;
    padding: 20px;
    border-radius: 6px;
}

p, li, span, a {
    color: #ffffff;
    text-decoration: none;
}

p a:hover, li a:hover, span a:hover {
    color: #ffcc00;
    text-decoration: underline;
}

/* Таблиці */
.mw-parser-output table {
    border: 1px solid #555;
    background-color: #1c1c1c;
    color: #ffffff;
}

.mw-parser-output th {
    background-color: #2a2a2a;
    color: #ffcc00;
    padding: 6px;
}

.mw-parser-output td {
    background-color: #1c1c1c;
    padding: 6px;
}

/* =========================
   Кнопки та форми
   ========================= */
button, input[type="submit"], input[type="button"] {
    background-color: #333 !important;
    border: 1px solid #555 !important;
    color: #ffffff !important;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: none !important;
    outline: none !important;
}

button:hover, button:focus, button:active,
input[type="submit"]:hover, input[type="submit"]:focus, input[type="submit"]:active,
input[type="button"]:hover, input[type="button"]:focus, input[type="button"]:active {
    background-color: #444 !important;
    color: #ffcc00 !important;
    box-shadow: none !important;
    outline: none !important;
}

/* =========================
   Підвал сайту
   ========================= */
#footer {
    background-color: #121212;
    color: #888;
    padding: 10px;
}

/* =========================
   Приховати вкладки для неавторизованих користувачів
   ========================= */
body:not(.logged-in) #ca-nstab-talk,   /* Обговорення вкладка поряд із Головна */
body:not(.logged-in) #ca-talk,         /* Вкладка праворуч від Головна (Vector) */
body:not(.logged-in) #ca-viewsource,
body:not(.logged-in) #ca-history {
    display: none !important;
}

/* =========================
   Режим доступності для темної теми
   ========================= */

/* Основний контент */
body.accessibility-mode-dark .mw-body,
body.accessibility-mode-dark .mw-parser-output {
    background-color: #ffffff !important; /* світлий фон для контенту */
    color: #000000 !important;            /* чорний текст */
    font-size: 18px !important;
    line-height: 1.8 !important;
}

/* Посилання в контенті */
body.accessibility-mode-dark .mw-parser-output a {
    color: #1a73e8 !important;
    font-weight: bold !important;
}

body.accessibility-mode-dark .mw-parser-output a:hover,
body.accessibility-mode-dark .mw-parser-output a:focus {
    color: #ff6600 !important;
    outline: 3px solid #ff6600 !important;
}

/* Форми та кнопки в контенті */
body.accessibility-mode-dark .mw-parser-output button,
body.accessibility-mode-dark .mw-parser-output input[type="submit"],
body.accessibility-mode-dark .mw-parser-output input[type="button"],
body.accessibility-mode-dark .mw-parser-output select,
body.accessibility-mode-dark .mw-parser-output textarea {
    font-size: 16px !important;
    padding: 10px !important;
    border: 2px solid #000 !important;
    border-radius: 6px !important;
    background-color: #ffffff !important;
    color: #000000 !important;
}

/* Чіткі фокуси */
body.accessibility-mode-dark .mw-parser-output a:focus,
body.accessibility-mode-dark button:focus,
body.accessibility-mode-dark input:focus {
    outline: 3px solid #ff6600 !important;
    outline-offset: 2px;
}

/* Активні вкладки сторінки */
body.accessibility-mode-dark #ca-nstab-main.mw-selected a,
body.accessibility-mode-dark #ca-nstab-talk.mw-selected a,
body.accessibility-mode-dark #ca-edit.mw-selected a,
body.accessibility-mode-dark #ca-viewsource.mw-selected a,
body.accessibility-mode-dark #ca-history.mw-selected a {
    background-color: #0000ff !important;
    color: #ffffff !important;
    font-weight: bold !important;
}

/* =========================
   Меню, шапка та бокові панелі залишаються темними
   ========================= */
body.accessibility-mode-dark #mw-panel,
body.accessibility-mode-dark #p-personal,
body.accessibility-mode-dark #p-navigation,
body.accessibility-mode-dark #p-tb,
body.accessibility-mode-dark #p-lang,
body.accessibility-mode-dark #p-cactions,
body.accessibility-mode-dark #mw-head {
    background-color: #1a1a1a !important; /* темний фон */
    color: #e0e0e0 !important;            /* світлий текст меню */
}