MediaWiki:Common.css: Różnice pomiędzy wersjami

Z Oświetleniowo
Przejdź do nawigacji Przejdź do wyszukiwania
Nie podano opisu zmian
Znacznik: Wycofane
Nie podano opisu zmian
Znacznik: Wycofane
Linia 7: Linia 7:
}
}


/* Ciemny motyw przez odwrócenie kolorów */
/* Prosty ciemny motyw przez odwrócenie kolorów */
* {
html {
     background-color: #1a1a1a !important;
     filter: invert(1) hue-rotate(180deg) !important;
     color: #ffffff !important;
     background-color: white !important;
    border-color: #666666 !important;
}
}


/* Główne tła stron */
/* Przywróć naturalne kolory obrazków */
body,
img,
#content,
video,
.mw-body,
iframe,
.mw-page-container {
.svg,
    background-color: #1a1a1a !important;
.mw-logo-wordmark {
    color: #ffffff !important;
     filter: invert(1) hue-rotate(180deg) !important;
}
 
/* Nagłówki */
h1, h2, h3, h4, h5, h6 {
    color: #ffffff !important;
}
 
/* Linki */
a {
    color: #66b3ff !important;
}
 
a:visited {
    color: #b366ff !important;
}
 
a:hover {
    color: #99ccff !important;
}
 
/* Tabele */
table {
    background-color: #2d2d2d !important;
    color: #ffffff !important;
}
 
th, td {
    background-color: #2d2d2d !important;
    color: #ffffff !important;
    border-color: #555555 !important;
}
 
/* Formularze i inputy */
input, textarea, select {
    background-color: #2d2d2d !important;
    color: #ffffff !important;
    border: 1px solid #555555 !important;
}
 
/* Przyciski */
button, .mw-ui-button {
    background-color: #333333 !important;
    color: #ffffff !important;
    border: 1px solid #555555 !important;
}
 
button:hover, .mw-ui-button:hover {
    background-color: #444444 !important;
}
 
/* Nawigacja */
#mw-navigation,
#mw-panel,
#p-logo {
    background-color: #252525 !important;
}
 
/* Stopka */
#footer {
    background-color: #252525 !important;
    color: #cccccc !important;
}
 
/* Kody i bloki kodu */
code, pre {
    background-color: #2a2a2a !important;
    color: #e6e6e6 !important;
    border: 1px solid #444444 !important;
}
 
/* Cytaty */
blockquote {
    background-color: #2a2a2a !important;
    color: #cccccc !important;
    border-left: 3px solid #555555 !important;
}
 
/* Obrazki - zmniejszenie jasności */
img {
     filter: brightness(0.8) !important;
}
 
/* Specjalne klasy MediaWiki */
.vector-menu-content,
.vector-menu-tabs {
    background-color: #252525 !important;
}
 
.vector-menu-tabs li {
    background-color: #252525 !important;
}
 
.vector-menu-tabs li a {
    color: #ffffff !important;
}
 
.vector-menu-tabs li.selected {
    background-color: #333333 !important;
}
 
/* Dla edytora */
.mw-editfont-monospace,
.mw-editfont-sans-serif,
.mw-editfont-serif {
    background-color: #1e1e1e !important;
    color: #ffffff !important;
}
 
/* Dla specjalnych stron */
.catlinks {
    background-color: #2a2a2a !important;
    color: #ffffff !important;
}
}

Wersja z 22:15, 28 wrz 2025

/* Umieszczony tutaj kod CSS zostanie zastosowany we wszystkich skórkach */

/* Wyłącza klikalność banera WikidataPageBanner */
.wpb-topbanner a {
    pointer-events: none;
    cursor: default;
}

/* Prosty ciemny motyw przez odwrócenie kolorów */
html {
    filter: invert(1) hue-rotate(180deg) !important;
    background-color: white !important;
}

/* Przywróć naturalne kolory obrazków */
img,
video,
iframe,
.svg,
.mw-logo-wordmark {
    filter: invert(1) hue-rotate(180deg) !important;
}