MediaWiki:Common.css

From Speedsolving.com Wiki
Revision as of 15:08, 21 October 2026 by Maintenance script (talk | contribs) (Community plan D10 (2026-10-21): match the wiki header to the forum)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */
body.page-Main_Page li#ca-delete { display:none!important; }

@media only screen and (max-width: 600px) {
    .infobox-template {
        float: none !important;
        margin: 0 auto 1em !important;
        max-width: 100%;
    }
}

/* 2026-10-21 community plan D10: the Main Page boxes as cards (white, 1px border, rounded,
   forum-blue top rule). The page's own inline styles are overridden here so the wikitext is untouched.
   Revert: restore the previous revision of this page. */
body.page-Main_Page .mw-parser-output > p:has(> br:only-child) { display: none; }
body.page-Main_Page .mw-parser-output > table[style] { width: 100% !important; border-collapse: separate; border-spacing: 0; margin-bottom: 1em; }
body.page-Main_Page .mw-parser-output > table[style] > tbody > tr > td[style] {
	float: none !important;
	display: flow-root;
	width: auto !important;
	min-width: 0 !important;
	background: #fff !important;
	color: #202122;
	border: 1px solid #d6dbe3 !important;
	border-top: 4px solid #2f6cad !important;
	border-radius: 6px;
	padding: 1.25em 1.5em !important;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
body.page-Main_Page .mw-parser-output td[style] > div > strong[style] { font-size: 1.5em !important; line-height: 1.2; display: block; margin-bottom: 0.4em; }
body.page-Main_Page .mw-parser-output td[style] > div[style] { font-size: 1em !important; }
@media only screen and (max-width: 600px) {
	body.page-Main_Page .mw-parser-output > table[style] > tbody > tr > td[style] { padding: 1em !important; }
	body.page-Main_Page .mw-parser-output td[style] > div > strong[style] { font-size: 1.25em !important; }
}