MediaWiki:Common.css: Difference between revisions

From Arcis Wiki
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 24: Line 24:
}
}


/* Add support for two columns
/* Display two columns (dependent on screen size) */
.twocol {
@media (min-width: 700px) {
  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 {
   .multicol {
     column-count: 2;
     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;
  }
}