MediaWiki:Common.css

From Goober Games
Revision as of 17:55, 24 February 2024 by Goober (talk | contribs) (Created page with "→‎****************************************************************: →‎Portable Infoboxes: →‎****************************************************************: .portable-infobox.pi-background { background-color: #f5f5f5; } .portable-infobox.pi-layout-default { border: 1px solid #dddddd !important; box-shadow: 2px 4px 12px rgb(0 0 0 / 8%) !important; border-radius: 4px !important; } .portable-infobox .pi-data-value { /* Vertically centers data va...")
(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.
/* **************************************************************** */
/* Portable Infoboxes */
/* **************************************************************** */

.portable-infobox.pi-background {
    background-color: #f5f5f5;
}

.portable-infobox.pi-layout-default {
    border: 1px solid #dddddd !important;
    box-shadow: 2px 4px 12px rgb(0 0 0 / 8%) !important;
    border-radius: 4px !important;
}

.portable-infobox .pi-data-value { /* Vertically centers data values */
    display: flex;
    align-items: center;
}

.portable-infobox .pi-item-spacing.pi-border-color { 
    border-color: #dddddd;
}

.pi-group { /* Removes border underneath the infobox image */
    border: 0;
}

.portable-infobox .pi-title {
    background-color: rgb(230,230,230);
    border-radius: 3px 3px 0 0 !important;
    font-weight: bold;
    padding: 0px;
    text-align: center;
}

.portable-infobox .pi-header {
    text-align: center;
    padding: 0px;
    background-color: rgb(230,230,230);
}