MediaWiki:Common.css

From Sven Co-op
Revision as of 22:16, 14 September 2018 by GeckonCZ (talk | contribs) (Added other infobox background colors.)
(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 / Edge: 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.
/* Infobox */

.infobox
{ 
  position: relative;
  float: right;
  clear: right;
  margin-left: 1em;
  margin-bottom: 0.5em;
  border: 1px solid #A0A0A0;
  font-size: smaller;
  line-height: 1.5;
  width: 250px;
}

.infoboxtable
{
  width: 100%;
}

.infoboximage
{ 
  padding: 0;
  text-align: center;
}

.infoboxheading
{
  font-size: larger;
  font-weight: bold;
  color: white;
  background-color: #6080A0;
}

.infoboxsubheading
{
  text-align: left;
  font-weight: normal;
  background-color: #80A0C0;
}

.infoboxfooter
{
  font-size: larger;
  background-color: #6080A0;
}

.infoboxlabel, .infoboxcell
{
  vertical-align: top;
}

.infoboxcell p, .infoboxcell ul
{
  margin-top: 0;
  margin-bottom: 0;
}