MediaWiki:Common.css

From Esolang
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 */
pre { overflow-y: auto; white-space: pre }
.plainpres pre { padding: 0; margin: 0; border: 0; background: inherit }
.featured-icon { display: none }
.rectwrap { word-wrap: break-word; white-space: pre-wrap; white-space: pre\9 }
.rectwrapIE { word-wrap: break-word; white-space: pre-wrap; white-space: pre }
.spoiler { background: #eef; color: rgba(0, 0, 0, 0); border: 3px solid transparent; border-top-right-radius: 5px; border-bottom-right-radius: 5px; padding-right: 3px }
.spoiler:hover { color: inherit }
.spoiler:before { content: 'Spoiler:'; font-weight: bold; background: #ccf; color: black /* hacky */; border: 3px solid transparent; margin: -3px; margin-right: 3px; border-top-left-radius: 5px; border-bottom-left-radius: 5px; }