MediaWiki:Common.css: Difference between revisions

From Arcis Wiki
mNo edit summary
No edit summary
 
(33 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 to any page using the following code:
/* Remove the page title from specific pages */
<div class="toc">
body.page-Main_Page h1#firstHeading {
    <h2>Table of Contents</h2>
     display: none !important;
    <div class="toc-content">
}
        __TOC__
body.page-Palette h1#firstHeading {
    </div>
     display: none !important;
</div>
*/
.toc {
     border: 1px solid #ccc;
    padding: 5px;
     width: 100%;
}
}


.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;
  }
}