MediaWiki:Common.css

From NEOSYS Dev Wiki
Revision as of 13:08, 29 January 2025 by Steve (talk | contribs) (Reduce c++ source code block size using css for syntaxhighlight extension)
Jump to navigationJump 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 */

H2 {
font-weight:bold;
border-bottom: 2px solid #AAA;
}

.hljs {
    padding: 5px !important; /* Reduce padding */
    margin: 5px 0 !important; /* Adjust margins */
}
pre.hljs {
    margin: 0; /* Internal margin */
}