MediaWiki:Common.css

From American Election Wiki
Revision as of 21:56, 28 September 2025 by Peoplesconcord (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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */
/* Standard infobox styling */
table.infobox {
    float: right;
    clear: right;
    margin: 0 0 1em 1em;
    width: auto;
    border: 1px solid #aaa;
    background-color: #f9f9f9;
    font-size: 90%;
    line-height: 1.4em;
}
.infobox {
    width: 300px;       /* or whatever fixed width you want */
    max-width: 100%;    /* keeps it responsive on smaller screens */
    float: right;       /* or left, if you want it on the side */
    margin: 0 0 1em 1em; /* spacing around it */
}