MediaWiki:Tables.css: Difference between revisions
Jump to navigation
Jump to search
Salty Nori (talk | contribs) No edit summary |
m (table structure start) Tag: Replaced |
||
| (16 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
/* | /** Table Systems **/ | ||
. | .wikitable, .scheduletable { | ||
width: auto; | |||
min-width: 300px; | |||
margin: 1.5em auto; | |||
border-collapse: collapse; | |||
border: 1px solid var(--theme-border-color); | |||
background-color: var(--card-bg-main, #fff); | |||
border-radius: 4px; | |||
} | } | ||
. | .wikitable > tr > th, .wikitable > * > tr > th { | ||
background-color: var(--gold-accent) !important; | |||
color: #1a2a2a !important; | |||
padding: 0.5em 1em; | |||
} | } | ||
/* Schedule Specific Positioning */ | |||
.scheduletable td:first-child { | |||
width: 150px !important; | |||
font-weight: 600; | |||
background-color: rgba(56, 178, 172, 0.08); | |||
border-right: 2px solid var(--teal-300); | |||
/* | |||
*/ | |||
. | |||
} | } | ||
Latest revision as of 11:54, 25 March 2026
/** Table Systems **/
.wikitable, .scheduletable {
width: auto;
min-width: 300px;
margin: 1.5em auto;
border-collapse: collapse;
border: 1px solid var(--theme-border-color);
background-color: var(--card-bg-main, #fff);
border-radius: 4px;
}
.wikitable > tr > th, .wikitable > * > tr > th {
background-color: var(--gold-accent) !important;
color: #1a2a2a !important;
padding: 0.5em 1em;
}
/* Schedule Specific Positioning */
.scheduletable td:first-child {
width: 150px !important;
font-weight: 600;
background-color: rgba(56, 178, 172, 0.08);
border-right: 2px solid var(--teal-300);
}