Przejdź do zawartości

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

Z Horyzont Zdarzeń
Anulowanie wersji 4027 autorstwa Lockey (dyskusja)
Znacznik: Anulowanie edycji
Nie podano opisu zmian
Linia 1: Linia 1:
```css
/* ========================================================= */
/* === 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 9: Linia 38:
}
}


/* --- Linki --- */
/* ========================================================= */
/* ================== GLOBAL DARK VECTOR END =============== */
/* ========================================================= */
 
 
 
/* ========================================================= */
/* ======================== LINKI START ==================== */
/* ========================================================= */
 
.skin-vector-2022 a {
.skin-vector-2022 a {
     color: #ffcc66 !important;
     color: #ffcc66 !important;
Linia 22: Linia 60:
}
}


/* --- 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 28: Linia 75:
}
}


/* --- Nagłówek --- */
/* ========================================================= */
/* ======================== SIDEBAR END ==================== */
/* ========================================================= */
 
 
 
/* ========================================================= */
/* ======================= NAGŁÓWEK START ================== */
/* ========================================================= */
 
.skin-vector-2022 .mw-header,
.skin-vector-2022 .mw-header,
.skin-vector-2022 #mw-head {
.skin-vector-2022 #mw-head {
Linia 35: Linia 91:
}
}


/* --- Pasek wyszukiwania --- */
/* ========================================================= */
/* ======================== NAGŁÓWEK END =================== */
/* ========================================================= */
 
 
 
/* ========================================================= */
/* ===================== 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 42: Linia 107:
}
}


/* --- Footer --- */
/* ========================================================= */
/* ====================== WYSZUKIWARKA END ================= */
/* ========================================================= */
 
 
 
/* ========================================================= */
/* ========================= FOOTER START ================== */
/* ========================================================= */
 
.skin-vector-2022 .mw-footer {
.skin-vector-2022 .mw-footer {
     background-color: #1a1a1a !important;
     background-color: #1a1a1a !important;
Linia 48: Linia 122:
}
}


/* --- Pola edycji i formularze --- */
/* ========================================================= */
/* ========================== FOOTER END =================== */
/* ========================================================= */
 
 
 
/* ========================================================= */
/* ======================== FORMULARZE START =============== */
/* ========================================================= */
 
.skin-vector-2022 input,
.skin-vector-2022 input,
.skin-vector-2022 textarea,
.skin-vector-2022 textarea,
Linia 57: Linia 140:
}
}


/* --- Nagłówki --- */
/* ========================================================= */
.skin-vector-2022 h1,  
/* ========================= FORMULARZE END ================ */
.skin-vector-2022 h2,  
/* ========================================================= */
.skin-vector-2022 h3,  
 
 
 
/* ========================================================= */
/* ===================== NAGŁÓWKI TREŚCI START ============= */
/* ========================================================= */
 
.skin-vector-2022 h1,
.skin-vector-2022 h2,
.skin-vector-2022 h3,
.skin-vector-2022 h4 {
.skin-vector-2022 h4 {
     color: #ffcc66 !important;
     color: #ffcc66 !important;
}
}


/* --- Pasek narzędzi użytkownika --- */
/* ========================================================= */
/* ====================== NAGŁÓWKI TREŚCI END ============== */
/* ========================================================= */
 
 
 
/* ========================================================= */
/* ======================= PASKI VECTOR START ============== */
/* ========================================================= */
 
.skin-vector-2022 .vector-user-links {
.skin-vector-2022 .vector-user-links {
     background-color: #1a1a1a !important;
     background-color: #1a1a1a !important;
}
}


/* --- Pasek zakładek artykułu --- */
.skin-vector-2022 .vector-page-toolbar {
.skin-vector-2022 .vector-page-toolbar {
     background-color: #1a1a1a !important;
     background-color: #1a1a1a !important;
}
}


/* --- Bloki komunikatów --- */
/* ========================================================= */
/* ======================== 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 82: Linia 191:
}
}


/* === Stylizacja przycisków === */
/* ========================================================= */
/* ========================= KOMUNIKATY END ================ */
/* ========================================================= */
 
 
 
/* ========================================================= */
/* ========================= PRZYCISKI START =============== */
/* ========================================================= */


/* --- Główne przyciski --- */
.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 93: Linia 209:
}
}


/* --- Efekt najechania kursorem --- */
.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 100: Linia 215:
}
}


/* --- Przycisk "Zapisz stronę" --- */
.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;
Linia 106: Linia 220:
}
}


/* --- Efekt najechania na "Zapisz stronę" --- */
.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 112: Linia 225:
}
}


/* === Styl WikiEditor (pasek narzędzi edytora) === */
/* ========================================================= */
/* ========================== 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 148: Linia 270:
     filter: brightness(0.8) invert(0.9);
     filter: brightness(0.8) invert(0.9);
}
}
/* ========================================================= */
/* ========================== WIKIEDITOR END =============== */
/* ========================================================= */
/* ========================================================= */
/* ===================== SCROLL TOP BUTTON START =========== */
/* ========================================================= */


#scrollTopBtn {
#scrollTopBtn {
Linia 174: Linia 306:
}
}


/* ===== KARTY EXPO ===== */
/* ========================================================= */
/* ====================== SCROLL TOP BUTTON END ============ */
/* ========================================================= */
 
 
 
/* ========================================================= */
/* ===================== KARTY / CARD GRID START =========== */
/* ========================================================= */
/*
Użycie w artykule:
 
<div class="card-grid" style="--neon: #ffcc66;">
  ...
</div>
 
Kolor ramek i poświaty ustawiasz w artykule przez --neon.
CSS jest tylko szablonem.
*/


.card-grid {
.card-grid {
Linia 182: Linia 332:
     gap: 30px;
     gap: 30px;
     margin: 30px 0;
     margin: 30px 0;
    /* Domyślny kolor, jeśli nie podasz własnego w artykule */
    --neon: #00ff99;
}
}


Linia 193: Linia 346:
     font-size: 14px;
     font-size: 14px;
     color: #ccc;
     color: #ccc;
    --neon: #00ff99;
}
}


.card img {
.card img,
.card-img {
     width: 100%;
     width: 100%;
     height: auto;
     height: auto;
     display: block;
     display: block;


     border: 2px solid var(--neon);
     border: 2px solid var(--neon) !important;
     border-radius: 8px;
     border-radius: 8px;
     box-shadow: 0 0 10px var(--neon);
     box-shadow: 0 0 10px var(--neon) !important;


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


.card img:hover {
.card img:hover,
.card-img:hover {
     transform: scale(1.05);
     transform: scale(1.05);
     box-shadow:
     box-shadow:
         0 0 20px var(--neon),
         0 0 20px var(--neon),
         0 0 30px var(--neon);
         0 0 30px var(--neon) !important;
}
}


Linia 221: Linia 376:
}
}


/* ===== NAV GRID ===== */
/* ========================================================= */
/* ====================== KARTY / CARD GRID END ============ */
/* ========================================================= */
 
 
 
/* ========================================================= */
/* ========================= NAV GRID START ================ */
/* ========================================================= */


.nav-grid {
.nav-grid {
  display: grid;
    display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
    gap: 20px;
  justify-items: center;
    justify-items: center;
  align-items: center;
    align-items: center;
  margin: 30px 0;
    margin: 30px 0;
 
    /* Domyślny kolor kafelków nawigacji */
    --neon: #00ff99;
}
}


.nav-tile img {
.nav-tile img {
  width: 100px;
    width: 100px;
  height: 100px;
    height: 100px;
  object-fit: cover;
    object-fit: cover;
  border-radius: 12px;
    border-radius: 12px;
  box-shadow: 0 0 8px #00ff99;
    box-shadow: 0 0 8px var(--neon);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
}


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


/* ===== PORTALE ===== */
/* ========================================================= */
/* ========================== NAV GRID END ================= */
/* ========================================================= */
 
 
 
/* ========================================================= */
/* ========================= PORTALE START ================= */
/* ========================================================= */


.portal-grid {
.portal-grid {
  display: grid;
    display: grid;
  grid-template-columns: repeat(2, 1fr);
    grid-template-columns: repeat(2, 1fr);
  gap: 20px;
    gap: 20px;
  justify-content: center;
    justify-content: center;
  margin: 30px 0;
    margin: 30px 0;
 
    /* Domyślny kolor portali */
    --neon: #00ff99;
}
}


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


.portal-tile:hover {
.portal-tile:hover {
  transform: scale(1.02);
    transform: scale(1.02);
  box-shadow: 0 0 20px var(--neon), 0 0 30px var(--neon);
    box-shadow:
        0 0 20px var(--neon),
        0 0 30px var(--neon);
}
}


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


/* Usuń tło i obramowania z obrazków PNG */
/* ========================================================= */
.skin-vector-2022 img[src$=".png"],
/* ========================== PORTALE END ================== */
.skin-vector-2022 .mw-parser-output img[src$=".png"] {
/* ========================================================= */
 
 
 
/* ========================================================= */
/* ========================== PNG FIX START ================ */
/* ========================================================= */
/*
Naprawa PNG:
usuwa tło, ramki i cienie ze zwykłych obrazków PNG,
ALE NIE dotyka obrazków w kartach .card-img.
 
Dzięki temu PNG w card-grid nadal mają ramki i poświatę.
*/
 
.skin-vector-2022 img[src$=".png"]:not(.card-img),
.skin-vector-2022 .mw-parser-output img[src$=".png"]:not(.card-img) {
     background: transparent !important;
     background: transparent !important;
     border: none !important;
     border: none !important;
Linia 286: Linia 480:
}
}


/* ===== MsCalendar – tylko poprawa czytelności pól i tekstu ===== */
/* ========================================================= */
/* =========================== PNG FIX END ================= */
/* ========================================================= */
 
 
 
/* ========================================================= */
/* ======================== MSCALENDAR START =============== */
/* ========================================================= */


/* Tekst wydarzeń w komórkach kalendarza */
.mscal-entry {
.mscal-entry {
     color: #000000 !important;
     color: #000000 !important;
}
}


/* Okno dodawania / edycji wydarzenia – czytelne pola */
.ui-dialog input,
.ui-dialog input,
.ui-dialog select,
.ui-dialog select,
Linia 301: Linia 501:
     border: 1px solid #888 !important;
     border: 1px solid #888 !important;
}
}
```
 
/* ========================================================= */
/* ========================= MSCALENDAR END ================ */
/* ========================================================= */

Wersja z 11:54, 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 =========== */
/* ========================================================= */
/*
Użycie w artykule:

<div class="card-grid" style="--neon: #ffcc66;">
  ...
</div>

Kolor ramek i poświaty ustawiasz w artykule przez --neon.
CSS jest tylko szablonem.
*/

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

    /* Domyślny kolor, jeśli nie podasz własnego w artykule */
    --neon: #00ff99;
}

.card {
    width: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    color: #ccc;
}

.card img,
.card-img {
    width: 100%;
    height: auto;
    display: block;

    border: 2px solid var(--neon) !important;
    border-radius: 8px;
    box-shadow: 0 0 10px var(--neon) !important;

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

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

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

.card-label {
    margin-top: 8px;
}

/* ========================================================= */
/* ====================== 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;

    /* Domyślny kolor kafelków nawigacji */
    --neon: #00ff99;
}

.nav-tile img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    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;

    /* Domyślny kolor portali */
    --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 ================ */
/* ========================================================= */
/*
Naprawa PNG:
usuwa tło, ramki i cienie ze zwykłych obrazków PNG,
ALE NIE dotyka obrazków w kartach .card-img.

Dzięki temu PNG w card-grid nadal mają ramki i poświatę.
*/

.skin-vector-2022 img[src$=".png"]:not(.card-img),
.skin-vector-2022 .mw-parser-output img[src$=".png"]:not(.card-img) {
    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 ================ */
/* ========================================================= */