MediaWiki:Common.css

From LDraw.org Wiki
Revision as of 14:39, 26 March 2024 by Steffen (talk | contribs)
Jump to navigation Jump to search

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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* 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
{display:none;}

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

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

.mw-wiki-logo
{background:url(https://wiki.ldraw.org/images/6/60/Wiki_Logo.png);}