MediaWiki:Global.css

From Ephimoria Wiki
Revision as of 04:49, 30 July 2023 by Kyle1322 (talk | contribs) (Created page with "→‎CSS placed here will be applied to all skins: * {font-family: Georgia} * .portable-infobox .pi-data { height: 3em; →‎sets height: display: flex; align-items: center; →‎vertically align items or text: justify-content: left ; →‎horizontally aligns items or text: background-color: #0f1429; } * .portable-infobox .pi-data-label { flex-basis: 120px; } * .portable-infobox .pi-title { font-size: 20px; font-weight: bold; heig...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.
/* CSS placed here will be applied to all skins */

* {font-family: Georgia}

* .portable-infobox .pi-data {
    height: 3em;  /* sets height */
    display: flex;
    align-items: center; /* vertically align items or text */
    justify-content: left ; /* horizontally aligns items or text */
    background-color: #0f1429;
}

* .portable-infobox .pi-data-label {
    flex-basis: 120px;
}

* .portable-infobox .pi-title {
    font-size: 20px;
    font-weight: bold;
    height: 2em;  /* sets height */
    display: flex;
    align-items: center; /* vertically align items or text */
    justify-content: center ; /* horizontally aligns items or text */
    flex-basis: 120px;
}