MediaWiki:Common.css: Difference between revisions
From Tibia Idle wiki
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
Line 1: | Line 1: | ||
/* | /* NOWOCZESNA, JASNA TABELA WIKI */ | ||
.wikitable { | .wikitable { | ||
background: # | background: #fff !important; | ||
color: # | color: #23272e !important; | ||
border-radius: 12px !important; | 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. | 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: # | background: #f7fafc !important; /* bardzo jasny szary header */ | ||
color: # | color: #3182ce !important; /* akcent niebieski */ | ||
font-weight: 700 !important; | font-weight: 700 !important; | ||
letter-spacing: 0. | letter-spacing: 0.02em; | ||
border-bottom: 2px solid # | border-bottom: 2px solid #3182ce !important; | ||
} | } | ||
Line 31: | Line 31: | ||
.wikitable tr:nth-child(even) { | .wikitable tr:nth-child(even) { | ||
background: # | background: #f5f6fa !important; /* lekki pasek co drugi wiersz */ | ||
} | } | ||
.wikitable tr:nth-child(odd) { | .wikitable tr:nth-child(odd) { | ||
background: # | background: #fff !important; | ||
} | } | ||
.wikitable tr:hover { | .wikitable tr:hover { | ||
background: # | background: #e3eafc !important; /* efekt po najechaniu */ | ||
} | } | ||
.wikitable a, .wikitable a:visited { | .wikitable a, .wikitable a:visited { | ||
color: # | 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: # | 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: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; }