MediaWiki:Common.css

From Tibia Idle wiki

Revision as of 13:56, 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.
/* 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; }