MediaWiki:Common.css: Difference between revisions

From Arcis Wiki
No edit summary
Tag: Reverted
No edit summary
 
(10 intermediate revisions by the same user not shown)
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;
    vertical-align: top;
}
}
*/


.timeline table {
/* Add small caps support */
border: none;
.mw-parser-output .smallcaps {
    border: 1px solid black;  /* Outer border for the entire table */
font-variant: small-caps;
    border-collapse: collapse; /* Ensures borders are consistent */
}
 
.timeline tr td,
.timeline tr th {
border: none;
    border-left: 1px solid black;  /* Keeps left border */
    border-right: 1px solid black; /* Keeps right border */
}
}


.timeline tr:first-child th,
/* Display two columns (dependent on screen size) */
.timeline tr:last-child td {
@media (min-width: 700px) {
     border-top: 1px solid black;   /* Top border for the first row */
  .multicol {
    border-bottom: 1px solid black; /* Bottom border for the last row */
     column-count: 2;
  }
}
}

Latest revision as of 23:52, 18 January 2026

/* 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;
    vertical-align: top;
}

/* Add small caps support */
.mw-parser-output .smallcaps {
	font-variant: small-caps;
}

/* Display two columns (dependent on screen size) */
@media (min-width: 700px) {
  .multicol {
    column-count: 2;
  }
}