MediaWiki:Common.css: Difference between revisions
From Tibia Idle wiki
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
| Line 15: | Line 15: | ||
font-size: 16px; | font-size: 16px; | ||
color: #212529; | color: #212529; | ||
} | |||
.wikitable th, .wikitable td { | |||
padding: 14px 16px; | |||
text-align: left; | |||
vertical-align: middle; | |||
} | |||
.wikitable th { | |||
background: #f6f8fa; | |||
font-weight: 600; | |||
letter-spacing: 0.03em; | |||
border-bottom: 2px solid #e5e7eb; | |||
} | |||
.wikitable tr { | |||
transition: background 0.15s; | |||
} | |||
.wikitable tr:nth-child(even) td { | |||
background: #fafbfc; | |||
} | |||
.wikitable tr:hover td { | |||
background: #f0f6ff; | |||
} | |||
.wikitable img { | |||
vertical-align: middle; | |||
width: 36px; | |||
height: 36px; | |||
border-radius: 8px; | |||
box-shadow: 0 2px 6px rgba(0,0,0,0.06); | |||
} | |||
.wikitable a { | |||
color: #1976d2; | |||
text-decoration: none; | |||
transition: color 0.2s; | |||
} | |||
.wikitable a:hover { | |||
color: #e53935; | |||
text-decoration: underline; | |||
} | } | ||
Revision as of 17:22, 25 June 2025
/* Nowoczesny wygląd tabeli */
.wikitable, .wikitable th, .wikitable td {
border: none;
border-collapse: separate;
border-spacing: 0;
}
.wikitable {
margin: 1em 0;
width: 100%;
background: #fff;
border-radius: 14px;
box-shadow: 0 4px 24px 0 rgba(0,0,0,0.09);
overflow: hidden;
font-size: 16px;
color: #212529;
}
.wikitable th, .wikitable td {
padding: 14px 16px;
text-align: left;
vertical-align: middle;
}
.wikitable th {
background: #f6f8fa;
font-weight: 600;
letter-spacing: 0.03em;
border-bottom: 2px solid #e5e7eb;
}
.wikitable tr {
transition: background 0.15s;
}
.wikitable tr:nth-child(even) td {
background: #fafbfc;
}
.wikitable tr:hover td {
background: #f0f6ff;
}
.wikitable img {
vertical-align: middle;
width: 36px;
height: 36px;
border-radius: 8px;
box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.wikitable a {
color: #1976d2;
text-decoration: none;
transition: color 0.2s;
}
.wikitable a:hover {
color: #e53935;
text-decoration: underline;
}