MediaWiki:Common.css: Difference between revisions

From Arcis Wiki
Created page with "→‎CSS placed here will be applied to all skins: →‎Add collapsible table of contents: .toc { border: 1px solid #ccc; padding: 5px; width: 100%; } .toc h2 { cursor: pointer; } .toc-content { display: none; padding: 5px; } .toc-expanded .toc-content { display: block; }"
 
No edit summary
 
(34 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */


/* Add collapsible table of contents */
/* Remove the page title from specific pages */
.toc {
body.page-Main_Page h1#firstHeading {
     border: 1px solid #ccc;
     display: none !important;
    padding: 5px;
}
     width: 100%;
body.page-Palette h1#firstHeading {
     display: none !important;
}
}


.toc h2 {
/* Use class="wikitable timeline" to apply */
     cursor: pointer;
.timeline table {
     border: none;
}
.timeline tr td,
.timeline tr {
    border: none;
    vertical-align: top;
}
}


.toc-content {
/* Add small caps support */
    display: none;
.mw-parser-output .smallcaps {
    padding: 5px;
font-variant: small-caps;
}
}


.toc-expanded .toc-content {
/* Display two columns (dependent on screen size) */
     display: block;
@media (min-width: 700px) {
  .multicol {
     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;
  }
}