Przejdź do zawartości

MediaWiki:Vector-2022.css: Różnice pomiędzy wersjami

Z Horyzont Zdarzeń
Nie podano opisu zmian
Znacznik: Wycofane
Nie podano opisu zmian
 
(Nie pokazano 42 pośrednich wersji utworzonych przez tego samego użytkownika)
Linia 1: Linia 1:
/* === Styl DarkVector dla Vector 2022 === */
/* ========================================================= */
/* ======================= SPIS SEKCJI ===================== */
/* ========================================================= */
/*
1. GLOBAL DARK VECTOR
2. LINKI
3. SIDEBAR
4. NAGŁÓWEK
5. WYSZUKIWARKA
6. FOOTER
7. FORMULARZE
8. NAGŁÓWKI TREŚCI
9. PASKI VECTOR
10. KOMUNIKATY
11. PRZYCISKI
12. WIKIEDITOR
13. SCROLL TOP BUTTON
14. KARTY / CARD GRID
15. NAV GRID
16. PORTALE
17. PNG FIX
18. MSCALENDAR
*/
/* ========================================================= */
/* ===================== KONIEC SPISU ====================== */
/* ========================================================= */
 
 
 
/* ========================================================= */
/* ================= GLOBAL DARK VECTOR START ============== */
/* ========================================================= */


/* --- Tło i tekst --- */
.skin-vector-2022,
.skin-vector-2022,
.skin-vector-2022 body {
.skin-vector-2022 body {
Linia 8: Linia 38:
}
}


/* --- Linki --- */
/* ========================================================= */
/* ================== GLOBAL DARK VECTOR END =============== */
/* ========================================================= */
 
 
 
/* ========================================================= */
/* ======================== LINKI START ==================== */
/* ========================================================= */
 
.skin-vector-2022 a {
.skin-vector-2022 a {
     color: #ffcc66 !important;
     color: #ffcc66 !important;
}
}
.skin-vector-2022 a:visited {
.skin-vector-2022 a:visited {
     color: #d4aa00 !important;
     color: #d4aa00 !important;
}
}
.skin-vector-2022 a.new {
.skin-vector-2022 a.new {
     color: #ff6666 !important;
     color: #ff6666 !important;
}
}


/* --- Sidebar (lewe menu) --- */
/* ========================================================= */
/* ========================= LINKI END ===================== */
/* ========================================================= */
 
 
 
/* ========================================================= */
/* ======================= SIDEBAR START =================== */
/* ========================================================= */
 
.skin-vector-2022 .mw-sidebar {
.skin-vector-2022 .mw-sidebar {
     background-color: #1a1a1a !important;
     background-color: #1a1a1a !important;
Linia 25: Linia 75:
}
}


/* --- Nagłówek górny (logo + user bar) --- */
/* ========================================================= */
.skin-vector-2022 .vector-header-container {
/* ======================== SIDEBAR END ==================== */
/* ========================================================= */
 
 
 
/* ========================================================= */
/* ======================= NAGŁÓWEK START ================== */
/* ========================================================= */
 
.skin-vector-2022 .mw-header,
.skin-vector-2022 #mw-head {
     background-color: #1a1a1a !important;
     background-color: #1a1a1a !important;
     border-bottom: 1px solid #444 !important;
     color: #cccccc !important;
}
}


/* --- Pasek wyszukiwania --- */
/* ========================================================= */
.skin-vector-2022 .vector-search-box-container {
/* ======================== NAGŁÓWEK END =================== */
    background-color: #1a1a1a !important;
/* ========================================================= */
}
 
 
 
/* ========================================================= */
/* ===================== WYSZUKIWARKA START ================ */
/* ========================================================= */
 
.skin-vector-2022 .vector-search-box,
.skin-vector-2022 .vector-search-box,
.skin-vector-2022 .vector-search-box input {
.skin-vector-2022 .vector-search-box input {
Linia 41: Linia 107:
}
}


/* --- Pasek pod wyszukiwarką / kontener nagłówka --- */
/* ========================================================= */
.skin-vector-2022 .mw-header-container {
/* ====================== WYSZUKIWARKA END ================= */
    background-color: #1a1a1a !important;
/* ========================================================= */
    border-bottom: 1px solid #444444 !important;
}


/* --- Pasek tytułu strony --- */
.skin-vector-2022 .vector-page-titlebar {
    background-color: #1a1a1a !important;
}


/* --- Pasek zakładek strony (Czytaj, Edytuj, Historia) --- */
.skin-vector-2022 .vector-page-toolbar-container {
    background-color: #1a1a1a !important;
    border-bottom: 1px solid #444 !important;
}
.skin-vector-2022 .vector-page-toolbar {
    background-color: transparent !important;
}


/* --- Pasek narzędzi użytkownika --- */
/* ========================================================= */
.skin-vector-2022 .vector-user-links {
/* ========================= FOOTER START ================== */
    background-color: #1a1a1a !important;
/* ========================================================= */
}


/* --- Footer --- */
.skin-vector-2022 .mw-footer {
.skin-vector-2022 .mw-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
     background-color: #1a1a1a !important;
     background-color: #1a1a1a !important;
     color: #cccccc !important;
     color: #cccccc !important;
    border-top: 1px solid #444;
    font-size: 13px;
}
}


/* --- Logo MediaWiki w stopce --- */
/* ========================================================= */
#footer-poweredbyico {
/* ========================== FOOTER END =================== */
    padding-right: 10px;
/* ========================================================= */
    margin-top: 5px;
 
    opacity: 0.6;
 
    align-self: center;
 
}
/* ========================================================= */
#footer-poweredbyico:hover {
/* ======================== FORMULARZE START =============== */
    opacity: 1;
/* ========================================================= */
}


/* --- Pola edycji i formularze --- */
.skin-vector-2022 input,
.skin-vector-2022 input,
.skin-vector-2022 textarea,
.skin-vector-2022 textarea,
Linia 99: Linia 140:
}
}


/* --- Nagłówki --- */
/* ========================================================= */
/* ========================= FORMULARZE END ================ */
/* ========================================================= */
 
 
 
/* ========================================================= */
/* ===================== NAGŁÓWKI TREŚCI START ============= */
/* ========================================================= */
 
.skin-vector-2022 h1,
.skin-vector-2022 h1,
.skin-vector-2022 h2,
.skin-vector-2022 h2,
Linia 107: Linia 157:
}
}


/* --- Bloki komunikatów --- */
/* ========================================================= */
/* ====================== NAGŁÓWKI TREŚCI END ============== */
/* ========================================================= */
 
 
 
/* ========================================================= */
/* ======================= PASKI VECTOR START ============== */
/* ========================================================= */
 
.skin-vector-2022 .vector-user-links {
    background-color: #1a1a1a !important;
}
 
.skin-vector-2022 .vector-page-toolbar {
    background-color: #1a1a1a !important;
}
 
/* ========================================================= */
/* ======================== PASKI VECTOR END =============== */
/* ========================================================= */
 
 
 
/* ========================================================= */
/* ======================== KOMUNIKATY START =============== */
/* ========================================================= */
 
.skin-vector-2022 .mw-message-box {
.skin-vector-2022 .mw-message-box {
     background-color: #333333 !important;
     background-color: #333333 !important;
Linia 114: Linia 191:
}
}


/* === Stylizacja przycisków === */
/* ========================================================= */
/* ========================= KOMUNIKATY END ================ */
/* ========================================================= */
 
 
 
/* ========================================================= */
/* ========================= PRZYCISKI START =============== */
/* ========================================================= */
 
.skin-vector-2022 .mw-ui-button,
.skin-vector-2022 .mw-ui-button,
.skin-vector-2022 .oo-ui-buttonElement-button {
.skin-vector-2022 .oo-ui-buttonElement-button {
Linia 122: Linia 208:
     box-shadow: none !important;
     box-shadow: none !important;
}
}
.skin-vector-2022 .mw-ui-button:hover,
.skin-vector-2022 .mw-ui-button:hover,
.skin-vector-2022 .oo-ui-buttonElement-button:hover {
.skin-vector-2022 .oo-ui-buttonElement-button:hover {
Linia 127: Linia 214:
     color: #000000 !important;
     color: #000000 !important;
}
}
.skin-vector-2022 .oo-ui-flaggedElement-primary .oo-ui-buttonElement-button {
.skin-vector-2022 .oo-ui-flaggedElement-primary .oo-ui-buttonElement-button {
     background-color: #ffcc66 !important;
     background-color: #ffcc66 !important;
     color: #2b2b2b !important;
     color: #2b2b2b !important;
}
}
.skin-vector-2022 .oo-ui-flaggedElement-primary .oo-ui-buttonElement-button:hover {
.skin-vector-2022 .oo-ui-flaggedElement-primary .oo-ui-buttonElement-button:hover {
     background-color: #e6b800 !important;
     background-color: #e6b800 !important;
Linia 136: Linia 225:
}
}


/* === Styl WikiEditor === */
/* ========================================================= */
/* ========================== PRZYCISKI END ================ */
/* ========================================================= */
 
 
 
/* ========================================================= */
/* ========================= WIKIEDITOR START ============== */
/* ========================================================= */
 
.skin-vector-2022 .mw-edittoolbar,
.skin-vector-2022 .mw-edittoolbar,
.skin-vector-2022 .wikiEditor-ui-toolbar,
.skin-vector-2022 .wikiEditor-ui-toolbar,
Linia 145: Linia 243:
     border: none !important;
     border: none !important;
}
}
.skin-vector-2022 .wikiEditor-ui-toolbar .group input,
.skin-vector-2022 .wikiEditor-ui-toolbar .group input,
.skin-vector-2022 .wikiEditor-ui-toolbar .tool-select {
.skin-vector-2022 .wikiEditor-ui-toolbar .tool-select {
Linia 151: Linia 250:
     border: 1px solid #444 !important;
     border: 1px solid #444 !important;
}
}
.skin-vector-2022 .wikiEditor-ui-toolbar .tool {
.skin-vector-2022 .wikiEditor-ui-toolbar .tool {
     background-color: #2b2b2b !important;
     background-color: #2b2b2b !important;
     color: #e0e0e0 !important;
     color: #e0e0e0 !important;
}
}
.skin-vector-2022 .wikiEditor-ui-toolbar .tool:hover,
.skin-vector-2022 .wikiEditor-ui-toolbar .tool:hover,
.skin-vector-2022 .wikiEditor-ui-toolbar .tool:focus {
.skin-vector-2022 .wikiEditor-ui-toolbar .tool:focus {
Linia 160: Linia 261:
     color: #ffffff !important;
     color: #ffffff !important;
}
}
.skin-vector-2022 .wikiEditor-ui-toolbar .tabs span,
.skin-vector-2022 .wikiEditor-ui-toolbar .tabs span,
.skin-vector-2022 .wikiEditor-ui-toolbar .sections span {
.skin-vector-2022 .wikiEditor-ui-toolbar .sections span {
     color: #cccccc !important;
     color: #cccccc !important;
}
}
.skin-vector-2022 .wikiEditor-ui-toolbar .tool img {
.skin-vector-2022 .wikiEditor-ui-toolbar .tool img {
     filter: brightness(0.8) invert(0.9);
     filter: brightness(0.8) invert(0.9);
}
}


/* === Nowy, elegancki i dobrze ustawiony przycisk powrotu na górę === */
/* ========================================================= */
/* ========================== WIKIEDITOR END =============== */
/* ========================================================= */
 
 
 
/* ========================================================= */
/* ===================== SCROLL TOP BUTTON START =========== */
/* ========================================================= */
 
#scrollTopBtn {
#scrollTopBtn {
     display: none;
     display: none;
     position: fixed;
     position: fixed;
     bottom: 40px; /* domyślnie bezpiecznie ponad stopką */
     bottom: 100px;
     left: 30px;
     left: 40px;
     z-index: 9999;
     z-index: 9999;
     width: 40px;
     width: 60px;
     height: 40px;
     height: 60px;
     background-color: #ffcc66;
     background: radial-gradient(circle at center, #ffcc66, #e6b800);
     color: #1a1a1a;
     color: #1a1a1a;
     border: none;
     border: none;
     border-radius: 8px;
     border-radius: 50%;
     box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
     box-shadow: 0 0 10px rgba(255, 204, 102, 0.6);
     font-size: 22px;
     font-size: 28px;
     cursor: pointer;
     cursor: pointer;
     transition: all 0.3s ease;
     transition: bottom 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.8;
}
 
#scrollTopBtn:hover {
    transform: scale(1.15);
    box-shadow: 0 0 20px rgba(255, 204, 102, 0.8);
    opacity: 1;
}
 
/* ========================================================= */
/* ====================== SCROLL TOP BUTTON END ============ */
/* ========================================================= */
 
 
 
/* ========================================================= */
/* ===================== KARTY / CARD GRID START =========== */
/* ========================================================= */
 
.card-grid {
     display: flex;
     display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1400px;
    margin: 30px auto;
    --neon: #00ff99;
}
.card {
    width: 180px;
    display: flex;
    flex-direction: column;
     align-items: center;
     align-items: center;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    color: #ccc;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}
/* Czyści link MediaWiki wewnątrz kart */
.card a,
.card .image,
.card .mw-file-description,
.expo-card a,
.expo-card .image,
.expo-card .mw-file-description {
    display: block !important;
    line-height: 0 !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
/* PORTRETY */
/* MediaWiki daje klasę portrait-card-img na span, nie bezpośrednio na img */
/* PORTRETY */
/* MediaWiki daje klasę portrait-card-img na span, nie bezpośrednio na img */
.portrait-card-img {
    width: 180px !important;
    height: 270px !important;
    display: block !important;
    overflow: hidden !important;
    background: #111111 !important;
    border: 2px solid #333333 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}
.portrait-card-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    display: block !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.portrait-card-img:hover {
    transform: scale(1.05);
    border-color: var(--neon) !important;
    box-shadow:
        0 0 15px var(--neon),
        0 0 25px var(--neon) !important;
}
/* EXPO */
.expo-grid {
    display: flex;
    flex-wrap: wrap;
     justify-content: center;
     justify-content: center;
     padding: 0;
     gap: 35px;
 
    max-width: 1400px;
    margin: 30px auto;
 
    --neon: #00ff99;
}
 
.expo-card {
    width: 260px;
 
    display: flex;
    flex-direction: column;
    align-items: center;
 
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    color: #ccc;
 
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}
}


#scrollTopBtn:hover {
/* MediaWiki daje klasę expo-card-img na span, nie bezpośrednio na img */
     background-color: #e6b800;
 
     transform: translateY(-2px) scale(1.05);
.expo-card-img {
     box-shadow: 0 4px 12px rgba(255, 204, 102, 0.6);
    width: 240px !important;
 
    display: block !important;
    overflow: hidden !important;
 
    background: transparent !important;
 
    border: 2px solid #333333 !important;
    border-radius: 8px !important;
 
    box-shadow: none !important;
 
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}
 
.expo-card-img img {
    width: 100% !important;
    height: auto !important;
 
    object-fit: contain !important;
    display: block !important;
 
    background: transparent !important;
 
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
 
    padding: 0 !important;
    margin: 0 !important;
}
 
.expo-card-img:hover {
     transform: scale(1.05);
 
    border-color: var(--neon) !important;
 
    box-shadow:
        0 0 15px var(--neon),
        0 0 25px var(--neon) !important;
}
 
/* PODPISY */
 
.card-label,
.expo-label {
    margin-top: 10px;
    min-height: 38px;
    line-height: 1.4;
}
 
/* ========================================================= */
/* ====================== KARTY / CARD GRID END ============ */
/* ========================================================= */
 
 
 
/* ========================================================= */
/* ========================= NAV GRID START ================ */
/* ========================================================= */
 
.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    justify-items: center;
    align-items: center;
    margin: 30px 0;
 
    --neon: #00ff99;
}
 
.nav-tile img {
    width: 100px;
    height: 100px;
    object-fit: cover;
 
    border: 2px solid var(--neon);
    border-radius: 12px;
 
    box-shadow: 0 0 8px var(--neon);
 
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}
 
.nav-tile img:hover {
     transform: scale(1.07);
    box-shadow: 0 0 15px var(--neon);
}
 
/* ========================================================= */
/* ========================== NAV GRID END ================= */
/* ========================================================= */
 
 
 
/* ========================================================= */
/* ========================= PORTALE START ================= */
/* ========================================================= */
 
.portal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-content: center;
    margin: 30px 0;
 
    --neon: #00ff99;
}
 
.portal-tile {
    border: 2px solid var(--neon);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 10px var(--neon);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
 
.portal-tile:hover {
    transform: scale(1.02);
 
     box-shadow:
        0 0 20px var(--neon),
        0 0 30px var(--neon);
}
 
.portal-tile img {
    width: 100%;
    height: auto;
    display: block;
}
 
/* ========================================================= */
/* ========================== PORTALE END ================== */
/* ========================================================= */
 
 
 
/* ========================================================= */
/* ========================== PNG FIX START ================ */
/* ========================================================= */
/*
Nie dotyka PNG wewnątrz kart i expo.
*/
 
.skin-vector-2022 .mw-parser-output img[src$=".png"]:not(.mw-file-element) {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
 
/* ========================================================= */
/* =========================== PNG FIX END ================= */
/* ========================================================= */
 
 
 
/* ========================================================= */
/* ======================== MSCALENDAR START =============== */
/* ========================================================= */
 
.mscal-entry {
    color: #000000 !important;
}
 
.ui-dialog input,
.ui-dialog select,
.ui-dialog textarea {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #888 !important;
}
 
/* ========================================================= */
/* ========================= MSCALENDAR END ================ */
/* ========================================================= */
 
/* ========================================================= */
/* ======================= CLUB LOGO FIX START ============= */
/* ========================================================= */
 
span.club-logo,
span.club-logo a,
span.club-logo img,
.club-logo,
.club-logo a,
.club-logo img {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}
 
span.club-logo {
    display: block !important;
    text-align: center !important;
}
}


/* Dostosowanie rozmiaru i pozycji SVG */
span.club-logo img {
#scrollTopBtn svg {
     display: block !important;
     width: 20px;
     margin: 0 auto !important;
    height: 20px;
     stroke: #1a1a1a;
}
}
/* ========================================================= */
/* ======================== CLUB LOGO FIX END ============== */
/* ========================================================= */

Aktualna wersja na dzień 13:19, 15 maj 2026

/* ========================================================= */
/* ======================= SPIS SEKCJI ===================== */
/* ========================================================= */
/*
1. GLOBAL DARK VECTOR
2. LINKI
3. SIDEBAR
4. NAGŁÓWEK
5. WYSZUKIWARKA
6. FOOTER
7. FORMULARZE
8. NAGŁÓWKI TREŚCI
9. PASKI VECTOR
10. KOMUNIKATY
11. PRZYCISKI
12. WIKIEDITOR
13. SCROLL TOP BUTTON
14. KARTY / CARD GRID
15. NAV GRID
16. PORTALE
17. PNG FIX
18. MSCALENDAR
*/
/* ========================================================= */
/* ===================== KONIEC SPISU ====================== */
/* ========================================================= */



/* ========================================================= */
/* ================= GLOBAL DARK VECTOR START ============== */
/* ========================================================= */

.skin-vector-2022,
.skin-vector-2022 body {
    background-color: #2b2b2b !important;
    color: #cccccc !important;
}

/* ========================================================= */
/* ================== GLOBAL DARK VECTOR END =============== */
/* ========================================================= */



/* ========================================================= */
/* ======================== LINKI START ==================== */
/* ========================================================= */

.skin-vector-2022 a {
    color: #ffcc66 !important;
}

.skin-vector-2022 a:visited {
    color: #d4aa00 !important;
}

.skin-vector-2022 a.new {
    color: #ff6666 !important;
}

/* ========================================================= */
/* ========================= LINKI END ===================== */
/* ========================================================= */



/* ========================================================= */
/* ======================= SIDEBAR START =================== */
/* ========================================================= */

.skin-vector-2022 .mw-sidebar {
    background-color: #1a1a1a !important;
    border-right: none !important;
}

/* ========================================================= */
/* ======================== SIDEBAR END ==================== */
/* ========================================================= */



/* ========================================================= */
/* ======================= NAGŁÓWEK START ================== */
/* ========================================================= */

.skin-vector-2022 .mw-header,
.skin-vector-2022 #mw-head {
    background-color: #1a1a1a !important;
    color: #cccccc !important;
}

/* ========================================================= */
/* ======================== NAGŁÓWEK END =================== */
/* ========================================================= */



/* ========================================================= */
/* ===================== WYSZUKIWARKA START ================ */
/* ========================================================= */

.skin-vector-2022 .vector-search-box,
.skin-vector-2022 .vector-search-box input {
    background-color: #333333 !important;
    color: #ffffff !important;
}

/* ========================================================= */
/* ====================== WYSZUKIWARKA END ================= */
/* ========================================================= */



/* ========================================================= */
/* ========================= FOOTER START ================== */
/* ========================================================= */

.skin-vector-2022 .mw-footer {
    background-color: #1a1a1a !important;
    color: #cccccc !important;
}

/* ========================================================= */
/* ========================== FOOTER END =================== */
/* ========================================================= */



/* ========================================================= */
/* ======================== FORMULARZE START =============== */
/* ========================================================= */

.skin-vector-2022 input,
.skin-vector-2022 textarea,
.skin-vector-2022 select {
    background-color: #333333 !important;
    color: #ffffff !important;
    border: 1px solid #555555;
}

/* ========================================================= */
/* ========================= FORMULARZE END ================ */
/* ========================================================= */



/* ========================================================= */
/* ===================== NAGŁÓWKI TREŚCI START ============= */
/* ========================================================= */

.skin-vector-2022 h1,
.skin-vector-2022 h2,
.skin-vector-2022 h3,
.skin-vector-2022 h4 {
    color: #ffcc66 !important;
}

/* ========================================================= */
/* ====================== NAGŁÓWKI TREŚCI END ============== */
/* ========================================================= */



/* ========================================================= */
/* ======================= PASKI VECTOR START ============== */
/* ========================================================= */

.skin-vector-2022 .vector-user-links {
    background-color: #1a1a1a !important;
}

.skin-vector-2022 .vector-page-toolbar {
    background-color: #1a1a1a !important;
}

/* ========================================================= */
/* ======================== PASKI VECTOR END =============== */
/* ========================================================= */



/* ========================================================= */
/* ======================== KOMUNIKATY START =============== */
/* ========================================================= */

.skin-vector-2022 .mw-message-box {
    background-color: #333333 !important;
    border: 1px solid #555555;
    color: #ffffff !important;
}

/* ========================================================= */
/* ========================= KOMUNIKATY END ================ */
/* ========================================================= */



/* ========================================================= */
/* ========================= PRZYCISKI START =============== */
/* ========================================================= */

.skin-vector-2022 .mw-ui-button,
.skin-vector-2022 .oo-ui-buttonElement-button {
    background-color: #ffcc66 !important;
    color: #2b2b2b !important;
    border: none !important;
    box-shadow: none !important;
}

.skin-vector-2022 .mw-ui-button:hover,
.skin-vector-2022 .oo-ui-buttonElement-button:hover {
    background-color: #e6b800 !important;
    color: #000000 !important;
}

.skin-vector-2022 .oo-ui-flaggedElement-primary .oo-ui-buttonElement-button {
    background-color: #ffcc66 !important;
    color: #2b2b2b !important;
}

.skin-vector-2022 .oo-ui-flaggedElement-primary .oo-ui-buttonElement-button:hover {
    background-color: #e6b800 !important;
    color: #000000 !important;
}

/* ========================================================= */
/* ========================== PRZYCISKI END ================ */
/* ========================================================= */



/* ========================================================= */
/* ========================= WIKIEDITOR START ============== */
/* ========================================================= */

.skin-vector-2022 .mw-edittoolbar,
.skin-vector-2022 .wikiEditor-ui-toolbar,
.skin-vector-2022 .wikiEditor-ui-toolbar .tabs,
.skin-vector-2022 .wikiEditor-ui-toolbar .sections,
.skin-vector-2022 .wikiEditor-ui-toolbar .group {
    background-color: #1b1b1b !important;
    border: none !important;
}

.skin-vector-2022 .wikiEditor-ui-toolbar .group input,
.skin-vector-2022 .wikiEditor-ui-toolbar .tool-select {
    background-color: #2b2b2b !important;
    color: #e0e0e0 !important;
    border: 1px solid #444 !important;
}

.skin-vector-2022 .wikiEditor-ui-toolbar .tool {
    background-color: #2b2b2b !important;
    color: #e0e0e0 !important;
}

.skin-vector-2022 .wikiEditor-ui-toolbar .tool:hover,
.skin-vector-2022 .wikiEditor-ui-toolbar .tool:focus {
    background-color: #3a3a3a !important;
    color: #ffffff !important;
}

.skin-vector-2022 .wikiEditor-ui-toolbar .tabs span,
.skin-vector-2022 .wikiEditor-ui-toolbar .sections span {
    color: #cccccc !important;
}

.skin-vector-2022 .wikiEditor-ui-toolbar .tool img {
    filter: brightness(0.8) invert(0.9);
}

/* ========================================================= */
/* ========================== WIKIEDITOR END =============== */
/* ========================================================= */



/* ========================================================= */
/* ===================== SCROLL TOP BUTTON START =========== */
/* ========================================================= */

#scrollTopBtn {
    display: none;
    position: fixed;
    bottom: 100px;
    left: 40px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle at center, #ffcc66, #e6b800);
    color: #1a1a1a;
    border: none;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 204, 102, 0.6);
    font-size: 28px;
    cursor: pointer;
    transition: bottom 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.8;
}

#scrollTopBtn:hover {
    transform: scale(1.15);
    box-shadow: 0 0 20px rgba(255, 204, 102, 0.8);
    opacity: 1;
}

/* ========================================================= */
/* ====================== SCROLL TOP BUTTON END ============ */
/* ========================================================= */



/* ========================================================= */
/* ===================== KARTY / CARD GRID START =========== */
/* ========================================================= */

.card-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;

    max-width: 1400px;
    margin: 30px auto;

    --neon: #00ff99;
}

.card {
    width: 180px;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
    font-weight: bold;
    font-size: 14px;
    color: #ccc;

    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Czyści link MediaWiki wewnątrz kart */
.card a,
.card .image,
.card .mw-file-description,
.expo-card a,
.expo-card .image,
.expo-card .mw-file-description {
    display: block !important;
    line-height: 0 !important;

    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;

    padding: 0 !important;
    margin: 0 !important;
}

/* PORTRETY */
/* MediaWiki daje klasę portrait-card-img na span, nie bezpośrednio na img */

/* PORTRETY */
/* MediaWiki daje klasę portrait-card-img na span, nie bezpośrednio na img */

.portrait-card-img {
    width: 180px !important;
    height: 270px !important;

    display: block !important;
    overflow: hidden !important;

    background: #111111 !important;

    border: 2px solid #333333 !important;
    border-radius: 8px !important;

    box-shadow: none !important;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.portrait-card-img img {
    width: 100% !important;
    height: 100% !important;

    object-fit: cover !important;
    object-position: center top !important;

    display: block !important;

    background: transparent !important;

    border: none !important;
    outline: none !important;
    box-shadow: none !important;

    padding: 0 !important;
    margin: 0 !important;
}

.portrait-card-img:hover {
    transform: scale(1.05);

    border-color: var(--neon) !important;

    box-shadow:
        0 0 15px var(--neon),
        0 0 25px var(--neon) !important;
}

/* EXPO */

.expo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 35px;

    max-width: 1400px;
    margin: 30px auto;

    --neon: #00ff99;
}

.expo-card {
    width: 260px;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
    font-weight: bold;
    font-size: 14px;
    color: #ccc;

    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* MediaWiki daje klasę expo-card-img na span, nie bezpośrednio na img */

.expo-card-img {
    width: 240px !important;

    display: block !important;
    overflow: hidden !important;

    background: transparent !important;

    border: 2px solid #333333 !important;
    border-radius: 8px !important;

    box-shadow: none !important;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.expo-card-img img {
    width: 100% !important;
    height: auto !important;

    object-fit: contain !important;
    display: block !important;

    background: transparent !important;

    border: none !important;
    outline: none !important;
    box-shadow: none !important;

    padding: 0 !important;
    margin: 0 !important;
}

.expo-card-img:hover {
    transform: scale(1.05);

    border-color: var(--neon) !important;

    box-shadow:
        0 0 15px var(--neon),
        0 0 25px var(--neon) !important;
}

/* PODPISY */

.card-label,
.expo-label {
    margin-top: 10px;
    min-height: 38px;
    line-height: 1.4;
}

/* ========================================================= */
/* ====================== KARTY / CARD GRID END ============ */
/* ========================================================= */



/* ========================================================= */
/* ========================= NAV GRID START ================ */
/* ========================================================= */

.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    justify-items: center;
    align-items: center;
    margin: 30px 0;

    --neon: #00ff99;
}

.nav-tile img {
    width: 100px;
    height: 100px;
    object-fit: cover;

    border: 2px solid var(--neon);
    border-radius: 12px;

    box-shadow: 0 0 8px var(--neon);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.nav-tile img:hover {
    transform: scale(1.07);
    box-shadow: 0 0 15px var(--neon);
}

/* ========================================================= */
/* ========================== NAV GRID END ================= */
/* ========================================================= */



/* ========================================================= */
/* ========================= PORTALE START ================= */
/* ========================================================= */

.portal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-content: center;
    margin: 30px 0;

    --neon: #00ff99;
}

.portal-tile {
    border: 2px solid var(--neon);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 10px var(--neon);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.portal-tile:hover {
    transform: scale(1.02);

    box-shadow:
        0 0 20px var(--neon),
        0 0 30px var(--neon);
}

.portal-tile img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================================================= */
/* ========================== PORTALE END ================== */
/* ========================================================= */



/* ========================================================= */
/* ========================== PNG FIX START ================ */
/* ========================================================= */
/*
Nie dotyka PNG wewnątrz kart i expo.
*/

.skin-vector-2022 .mw-parser-output img[src$=".png"]:not(.mw-file-element) {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ========================================================= */
/* =========================== PNG FIX END ================= */
/* ========================================================= */



/* ========================================================= */
/* ======================== MSCALENDAR START =============== */
/* ========================================================= */

.mscal-entry {
    color: #000000 !important;
}

.ui-dialog input,
.ui-dialog select,
.ui-dialog textarea {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #888 !important;
}

/* ========================================================= */
/* ========================= MSCALENDAR END ================ */
/* ========================================================= */

/* ========================================================= */
/* ======================= CLUB LOGO FIX START ============= */
/* ========================================================= */

span.club-logo,
span.club-logo a,
span.club-logo img,
.club-logo,
.club-logo a,
.club-logo img {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

span.club-logo {
    display: block !important;
    text-align: center !important;
}

span.club-logo img {
    display: block !important;
    margin: 0 auto !important;
}

/* ========================================================= */
/* ======================== CLUB LOGO FIX END ============== */
/* ========================================================= */