MediaWiki:Common.css: Difference between revisions

From Arcis Wiki
No edit summary
No edit summary
Line 24: Line 24:
}
}


/* Add support for two columns */
/* Add support for two columns
.twocol {
.twocol {
   column-count: 2;
   column-count: 2;
   column-gap: 2em;
   column-gap: 2em;
}
*/
/* Default: single column (mobile-first) */
.multicol {
  column-count: 1;
  column-gap: 2em;
}
/* Switch to two columns on wider screens */
@media (min-width: 800px) {
  .multicol {
    column-count: 2;
  }
}
}

Revision as of 23:48, 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;
}

/* Add support for two columns
.twocol {
  column-count: 2;
  column-gap: 2em;
}
*/

/* Default: single column (mobile-first) */
.multicol {
  column-count: 1;
  column-gap: 2em;
}

/* Switch to two columns on wider screens */
@media (min-width: 800px) {
  .multicol {
    column-count: 2;
  }
}