MediaWiki:Common.css

From The Battle for Wesnoth Wiki
Revision as of 06:07, 27 February 2018 by Shadowm (talk | contribs) (Additional CSS for the WML Pygments lexer)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Note: After saving, 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: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will be applied to all skins */

h1:not(.firstHeading)::before {
    color: #f00;
    font-size: 40px;
    content: "FIXME -- THIS IS A TOP-LEVEL HEADING WHERE IT SHOULDN'T BE"
}

/*
 * Additional CSS for the WML Pygments lexer
 */

.mw-highlight .nte,
.mw-highlight .nta,
.mw-highlight .nti {
	font-weight: bold;
}

/* [event] */ .mw-highlight .nte { color: #000080; }
/* [animation] */ .mw-highlight .nta { color: #800080; }
/* [insert_tag] */ .mw-highlight .nti { color: #BB6688; }

table.collapsed tr.collapsible {
        display: none;
}
 
.collapseButton {                /* 'show'/'hide' buttons created dynamically by the               */
        float: right;               /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */
        font-weight: normal;        /* are styled here so they can be customised.               */
        text-align: right;
        width: auto;
}
This page was last edited on 27 February 2018, at 06:07.