MediaWiki:Common.css

From TinkerMill Wiki
Revision as of 22:42, 10 February 2022 by Chadwick (talk | contribs) (Tweaked some of the .infobox styles.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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: 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 */

/*
** InfoBox general styles
*/

.infobox {
    background-color: #f8f9fa;;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    padding: 0;
    width: 300px;
}
.infobox table {
    margin: 10px;
}

.infobox-title {
    background-color: #eee;
    border-bottom: solid #ddd 1px;
    font-size: 18pt;
    text-align: center;
    font-weight: bold;
    font-variant: small-caps;
}
.infobox-image {
    margin: 0;
     padding: 10px;
    text-align: center;
}
.infobox-image img {
    max-width: 280px;
    height: auto;
}
.infobox th {
    text-align: right;
    vertical-align: top;
    width: 120px;
    padding-right: 1ex;
    line-height: 1.2;
}
.infobox td {
    vertical-align: top;
    line-height: 1.2;
}