MediaWiki:Common.css: Difference between revisions
Content deleted Content added
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
Line 1,094:
margin-bottom: 2em;
}
table.wikitable td {
table.wikitable caption {
text-align: left;
Line 1,114:
table.wikitable > * > tr:first-child > th,
table.wikitable > * > tr:first-child > td { border-top: 1px solid var(--wt-rule); }
table.wikitable > * > tr:has(> th):has(+ tr > td) > th { border-bottom: 1px solid var(--
table.wikitable > * > tr:last-child > td,
table.wikitable > * > tr:last-child > th { border-bottom: 1px solid var(--wt-rule); }
Line 1,271:
against each marker's own font-size) */
/* section 11's table palette,
is the infobox's
infobox's title underline. That header rule is the ONE strong line; every
--wt-border: var(--ed-hairline); /* interior cell lines == infobox border (#e7e2db) */
--wt-rule: var(--ed-hairline
--wt-edge: var(--wt-border); /* ONE hairline tone for interior edges */
--wt-th-bg: #
--wt-th-text: var(--ed-secondary); /* header label color == infobox label */▼
▲ --wt-th-text: var(--ed-secondary);
}
Line 1,360 ⟶ 1,359:
/* ── The table BLOCK ──
1. A WHITE card (#fff) matching the infobox surface; in a FINTABLE the
2. Full frame in --wt-rule. Sides: the RIGHT rail is a plain
border on the last-column cells. On a NEUTRAL table the LEFT
Line 1,378 ⟶ 1,377:
table.wikitable,
table.wikitable td,
table.wikitable caption { background-color:
table.wikitable > tbody > tr:hover > td { background-color: #f2ede5; }
/* the frozen first column carries its own paper bg (below) at higher
Line 1,389 ⟶ 1,388:
table.wikitable.fintable td:first-child,
table.wikitable:has(.col, .col-wide) td:first-child {
background-color:
}
table.wikitable.fintable th:first-child,
| |||