MediaWiki:Common.css: Difference between revisions
From Arcis Wiki
No edit summary |
No edit summary Tag: Reverted |
||
| Line 9: | Line 9: | ||
} | } | ||
/* Use class="wikitable timeline" to apply | /* Use class="wikitable timeline" to apply | ||
.timeline table { | .timeline table { | ||
border: none; | border: none; | ||
| Line 16: | Line 16: | ||
.timeline tr { | .timeline tr { | ||
border: none; | border: none; | ||
} | |||
*/ | |||
.timeline table { | |||
border: 1px solid black; /* Outer border for the entire table */ | |||
border-collapse: collapse; /* Ensures borders are consistent */ | |||
} | |||
.timeline tr td, | |||
.timeline tr th { | |||
border-left: 1px solid black; /* Keeps left border */ | |||
border-right: 1px solid black; /* Keeps right border */ | |||
} | |||
.timeline tr:first-child th, | |||
.timeline tr:last-child td { | |||
border-top: 1px solid black; /* Top border for the first row */ | |||
border-bottom: 1px solid black; /* Bottom border for the last row */ | |||
} | } | ||
Revision as of 19:45, 28 October 2024
/* CSS placed here will be applied to all skins */
/* Remove the page title from specific pages */
body.page-Main_Page h1#firstHeading {
display: none !important;
}
body.page-Palette h1#firstHeading {
display: none !important;
}
/* Use class="wikitable timeline" to apply
.timeline table {
border: none;
}
.timeline tr td,
.timeline tr {
border: none;
}
*/
.timeline table {
border: 1px solid black; /* Outer border for the entire table */
border-collapse: collapse; /* Ensures borders are consistent */
}
.timeline tr td,
.timeline tr th {
border-left: 1px solid black; /* Keeps left border */
border-right: 1px solid black; /* Keeps right border */
}
.timeline tr:first-child th,
.timeline tr:last-child td {
border-top: 1px solid black; /* Top border for the first row */
border-bottom: 1px solid black; /* Bottom border for the last row */
}