MediaWiki:Common.css: Difference between revisions

From Tibia Idle wiki

No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 24: Line 24:
     letter-spacing: 0.02em;
     letter-spacing: 0.02em;
     border-bottom: 2px solid #3182ce !important;
     border-bottom: 2px solid #3182ce !important;
}
.wikitable a, .wikitable a:visited {
    color: #e55353 !important;  /* możesz wybrać dowolny kolor */
    text-decoration: none !important;
    transition: color 0.2s;
}
.wikitable a:hover {
    color: #f9a602 !important;
    text-decoration: none !important;
}
}



Revision as of 13:57, 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 a, .wikitable a:visited {
    color: #e55353 !important;  /* możesz wybrać dowolny kolor */
    text-decoration: none !important;
    transition: color 0.2s;
}
.wikitable a:hover {
    color: #f9a602 !important;
    text-decoration: none !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; }