MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Superadmin (talk | contribs) No edit summary |
Superadmin (talk | contribs) No edit summary |
||
| Line 43: | Line 43: | ||
word-break: normal; | word-break: normal; | ||
} | } | ||
/* Access Quests table tuning (matches iRO look) */ | |||
table.wikitablec.access-quests th:nth-child(1), | |||
table.wikitablec.access-quests td:nth-child(1) { width: 22%; } | |||
table.wikitablec.access-quests th:nth-child(2), | |||
table.wikitablec.access-quests td:nth-child(2) { width: 20%; } | |||
table.wikitablec.access-quests th:nth-child(3), | |||
table.wikitablec.access-quests td:nth-child(3) { width: 14%; } | |||
table.wikitablec.access-quests th:nth-child(4), | |||
table.wikitablec.access-quests td:nth-child(4) { width: 12%; text-align: center; } | |||
table.wikitablec.access-quests th:nth-child(5), | |||
table.wikitablec.access-quests td:nth-child(5) { width: 22%; } | |||
table.wikitablec.access-quests th:nth-child(6), | |||
table.wikitablec.access-quests td:nth-child(6) { width: 10%; } | |||
Revision as of 20:25, 26 January 2026
/* iRO-like tables */
table.wikitablec,
table.wikitable {
border-collapse: collapse;
width: 100%;
background: #fff;
}
/* Header */
table.wikitablec th,
table.wikitable th {
background: #f2f2f2;
border: 1px solid #a2a9b1;
padding: 6px 8px;
font-size: 90%;
white-space: nowrap; /* iRO-like headers */
}
/* Cells */
table.wikitablec td,
table.wikitable td {
border: 1px solid #a2a9b1;
padding: 6px 8px;
vertical-align: top;
font-size: 90%;
}
/* Sortable icon spacing */
table.sortable th {
cursor: pointer;
}
/* Row hover (subtle) */
table.wikitablec tr:hover td,
table.wikitable tr:hover td {
background: #f9f9f9;
}
/* Keep text readable, but don't force aggressive breaking */
table.wikitablec td,
table.wikitable td {
overflow-wrap: normal;
word-break: normal;
}
/* Access Quests table tuning (matches iRO look) */
table.wikitablec.access-quests th:nth-child(1),
table.wikitablec.access-quests td:nth-child(1) { width: 22%; }
table.wikitablec.access-quests th:nth-child(2),
table.wikitablec.access-quests td:nth-child(2) { width: 20%; }
table.wikitablec.access-quests th:nth-child(3),
table.wikitablec.access-quests td:nth-child(3) { width: 14%; }
table.wikitablec.access-quests th:nth-child(4),
table.wikitablec.access-quests td:nth-child(4) { width: 12%; text-align: center; }
table.wikitablec.access-quests th:nth-child(5),
table.wikitablec.access-quests td:nth-child(5) { width: 22%; }
table.wikitablec.access-quests th:nth-child(6),
table.wikitablec.access-quests td:nth-child(6) { width: 10%; }