MediaWiki:Common.css: Difference between revisions

From LDraw.org Wiki
Jump to navigation Jump to search
No edit summary
(Added .noautonum .tocnumber to suppress the auto-generated section numbers in the TOC)
Line 25: Line 25:
#ca-talk,
#ca-talk,
#pt-mytalk
#pt-mytalk
/* suppress the auto-generated section numbers in the TOC
.noautonum .tocnumber { display: none; }
{display:none;}
{display:none;}


.mw-redirectedfrom
.mw-redirectedfrom
{font-size: 0.75em;}
{font-size: 0.75em;}

Revision as of 13:10, 11 December 2023

/* CSS placed here will be applied to all skins */

/* https://www.mediawiki.org/wiki/Customizing_MediaWiki_for_beginners */
@import url('https://fonts.googleapis.com/css?family=Lato');

/* change default font (does not include headings or monospaced text) to the font used on ldraw.org main site */
body
{font-family: Lato, "Helvetica Neue", Arial, Helvetica, sans-serif;}

.mw-body-content
{font-size: 1em;}

/* change font for headings to the font used on ldraw.org main site */
.mw-body h1, .mw-body h2, .mw-body h3, .mw-body h4, .mw-body h5, .mw-body h6
{font-family: Lato, "Helvetica Neue", Arial, Helvetica, sans-serif;}

div#mw-panel div.portal div.body ul li,
div#mw-panel div.portal h3
{line-height: 1em; font-size: 1em; margin: 0 0 0 0.4em;}

div#mw-panel div.portal h3
{padding: 1em 0 0 0;}

/* discussions should be done in the LDraw forum, not on "Talk" pages in the Wiki */
#ca-talk,
#pt-mytalk

/* suppress the auto-generated section numbers in the TOC
.noautonum .tocnumber { display: none; }
{display:none;}

.mw-redirectedfrom
{font-size: 0.75em;}