MediaWiki:Common.css

From Tibia Idle wiki

Revision as of 13:54, 26 June 2025 by Admin (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* NOWOCZESNE TABELKI WIKI */

.wikitable {
    background: #23272e !important;      /* ciemne tło */
    color: #f7fafc !important;           /* jasny tekst */
    border-radius: 12px !important;      /* zaokrąglenie rogów */
    overflow: hidden !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);
    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: #283040 !important;      /* lekko ciemniejszy header */
    color: #4fd1c5 !important;           /* akcentowany tytuł */
    font-weight: 700 !important;
    letter-spacing: 0.03em;
    border-bottom: 2px solid #4fd1c5 !important;
}

.wikitable tr {
    transition: background 0.15s;
}

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

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

.wikitable a, .wikitable a:visited {
    color: #f686a0 !important;           /* akcentowane linki */
    text-decoration: underline dotted;
    transition: color 0.2s;
}
.wikitable a:hover {
    color: #f9e46b !important;
}

/* Zaokrąglone rogi 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; }