MediaWiki:Common.css

From PavHaki Wiki
Revision as of 21:47, 16 September 2017 by Unuvun Rain (talk | contribs)

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.
/*Global variables
 *
 *NOTES:
 *- Use two spaces for indentation
 */

:root {
  --boxbg: #F8F9FA;
  --boxborder: #A2A9B1; /*Border color used to match the default wiki skin*/
  --boxheader: #EFEFEF;
}





/*Formatting for infoboxes*/

div.infobox {
  float:right;
  width:256px;
  display:flex;
  flex-direction:column;
  align-items:center;
  border:1px solid var(--boxborder);
  background-color: var(--boxbg);
}

div.infoboxSectionHeader {
  text-align: center;
  background-color: var(--boxheader);
  width: 100%;
}

div.image {
  display:flex;
  flex-direction:column;
  align-items:center;
  width: 95%;
}

div.image img {
  max-width: 100%;
  height: auto;
}

div.table {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

b.rowname {
  width: 40%;
}