MediaWiki:Common.css: Difference between revisions

From Tibia Idle wiki

No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 1: Line 1:
/* NOWOCZESNE TABELKI WIKI */
/* NOWOCZESNA, JASNA TABELA WIKI */


.wikitable {
.wikitable {
     background: #23272e !important;     /* ciemne tło */
     background: #fff !important;
     color: #f7fafc !important;           /* jasny tekst */
     color: #23272e !important;
     border-radius: 12px !important;     /* zaokrąglenie rogów */
     border-radius: 12px !important;
     overflow: hidden !important;
     overflow: hidden !important;
     border: none !important;
     border: none !important;
     box-shadow: 0 4px 24px rgba(0,0,0,0.08), 0 1.5px 6px rgba(79,209,197,0.08);
     box-shadow: 0 4px 24px rgba(0,0,0,0.07);
     margin: 32px auto !important;
     margin: 32px auto !important;
     width: 98% !important;
     width: 98% !important;
Line 19: Line 19:


.wikitable th {
.wikitable th {
     background: #283040 !important;     /* lekko ciemniejszy header */
     background: #f7fafc !important;         /* bardzo jasny szary header */
     color: #4fd1c5 !important;           /* akcentowany tytuł */
     color: #3182ce !important;             /* akcent niebieski */
     font-weight: 700 !important;
     font-weight: 700 !important;
     letter-spacing: 0.03em;
     letter-spacing: 0.02em;
     border-bottom: 2px solid #4fd1c5 !important;
     border-bottom: 2px solid #3182ce !important;
}
}


Line 31: Line 31:


.wikitable tr:nth-child(even) {
.wikitable tr:nth-child(even) {
     background: #262d39 !important;     /* delikatny pasek co drugi wiersz */
     background: #f5f6fa !important;         /* lekki pasek co drugi wiersz */
}
}
.wikitable tr:nth-child(odd) {
.wikitable tr:nth-child(odd) {
     background: #23272e !important;
     background: #fff !important;
}
}


.wikitable tr:hover {
.wikitable tr:hover {
     background: #1e242c !important;     /* efekt po najechaniu */
     background: #e3eafc !important;         /* efekt po najechaniu */
}
}


.wikitable a, .wikitable a:visited {
.wikitable a, .wikitable a:visited {
     color: #f686a0 !important;           /* akcentowane linki */
     color: #e55353 !important;             /* lekki czerwony link */
     text-decoration: underline dotted;
     text-decoration: underline dotted;
     transition: color 0.2s;
     transition: color 0.2s;
}
}
.wikitable a:hover {
.wikitable a:hover {
     color: #f9e46b !important;
     color: #f9a602 !important;             /* złoty po najechaniu */
}
}


/* Zaokrąglone rogi tylko na rogach tabeli */
/* Zaokrąglenie rogów tylko na rogach tabeli */
.wikitable th:first-child { border-top-left-radius: 12px !important; }
.wikitable th:first-child { border-top-left-radius: 12px !important; }
.wikitable th:last-child { border-top-right-radius: 12px !important; }
.wikitable th:last-child { border-top-right-radius: 12px !important; }
.wikitable tr:last-child td:first-child { border-bottom-left-radius: 12px !important; }
.wikitable tr:last-child td:first-child { border-bottom-left-radius: 12px !important; }
.wikitable tr:last-child td:last-child { border-bottom-right-radius: 12px !important; }
.wikitable tr:last-child td:last-child { border-bottom-right-radius: 12px !important; }

Revision as of 13:56, 26 June 2025

/* NOWOCZESNA, JASNA TABELA WIKI */

.wikitable {
    background: #fff !important;
    color: #23272e !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    border: none !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    margin: 32px auto !important;
    width: 98% !important;
}

.wikitable th, .wikitable td {
    padding: 12px 16px !important;
    border: none !important;
    vertical-align: middle !important;
}

.wikitable th {
    background: #f7fafc !important;         /* bardzo jasny szary header */
    color: #3182ce !important;              /* akcent niebieski */
    font-weight: 700 !important;
    letter-spacing: 0.02em;
    border-bottom: 2px solid #3182ce !important;
}

.wikitable tr {
    transition: background 0.15s;
}

.wikitable tr:nth-child(even) {
    background: #f5f6fa !important;         /* lekki pasek co drugi wiersz */
}
.wikitable tr:nth-child(odd) {
    background: #fff !important;
}

.wikitable tr:hover {
    background: #e3eafc !important;         /* efekt po najechaniu */
}

.wikitable a, .wikitable a:visited {
    color: #e55353 !important;              /* lekki czerwony link */
    text-decoration: underline dotted;
    transition: color 0.2s;
}
.wikitable a:hover {
    color: #f9a602 !important;              /* złoty po najechaniu */
}

/* Zaokrąglenie rogów tylko na rogach tabeli */
.wikitable th:first-child { border-top-left-radius: 12px !important; }
.wikitable th:last-child { border-top-right-radius: 12px !important; }
.wikitable tr:last-child td:first-child { border-bottom-left-radius: 12px !important; }
.wikitable tr:last-child td:last-child { border-bottom-right-radius: 12px !important; }