MediaWiki:Common.css

From Idlescape Wiki
Revision as of 10:58, 19 May 2020 by Xcezz (talk | contribs)
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 {
    background: #eee;
    border: 1px solid #aaa;
    float: right;
    margin: 0.5em 0 1em 1em;
    padding: 1em;
    width: 300px;
    word-break: break-word;
    font-size: 0.85em;
}
.infobox-header {
    font-size: 1.5em;
    text-align: center;
    line-height: 1.4em;
    padding: 0.5em 0;
    line-height: 2em;
    background-color: #bebebe;
    font-weight: bold;
}
.infobox-title {
    font-size: 1.25em;
    text-align: center;
    line-height: 2em;
    background-color: #bebebe;
    font-weight: bold;
}
.infobox-image {
    text-align: center;
}
.infobox-image img {
    max-width: 300px;
    height: auto;
    padding: 1em;
}
.infobox-stats {
    text-align: center;
}
.infobox-nested {
    text-align: center;
}
.infobox th {
    vertical-align: top;
}
.infobox td {
    vertical-align: top;
    padding: 0.25em 0.5em;
    line-height: 1.6em;
}
.fullWidth-table {
    width: 100%;
}