Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:TemplateStyles.css

MediaWiki interface page
Revision as of 19:08, 19 August 2024 by Cswimr (talk | contribs) (changed background color)
(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 for templates and such */
/* Styles taken from the Galaxypedia. Licensed under CC BY-SA 4.0. */
/* https://robloxgalaxy.wiki/wiki/MediaWiki:Templatestyles.css */
/* Styles originally by: NHeoShadow | Remade for use on the Galaxypedia by smallketchup82 */

/* For template cards, like VIP ship only, limited class, admin class, unreleased, etc.. */
div.TemplateRevision .container {
    background-color: #1b2027;
    padding: 8px;
    font-size: 14px;
    border-top: 5px solid var(--mainbordercolorS);
    line-height: 18px;
    box-shadow: 1px 1px 1px black;
    opacity: 0.90;
    transition: 0.5s;
    display: block;
    cursor: default;
    border-radius: 10px;
}

div.TemplateRevision .container h1 {
    font-size: 26px;
    font-variant: small-caps;
    font-weight: bold;
    margin: 0;
    padding: 0;
    display: block;
    margin-top: -4px;
}

div.TemplateRevision .container h3 {
    font-size: 18px;
    font-weight: normal;
    margin: 0;
    padding: 0;
    display: block;
}

div.TemplateRevision .container:hover {
    opacity: 1;
}

/* Apply header styling to any element classed as a header--used for <p> or similar elements to avoid TOC errors */
.header1 {
    font-size: 26px;
    font-variant: small-caps;
    font-weight: bold;
    margin: 1px !important;
    padding: 0;
    display: block;
    margin-top: -4px !important;
    line-height: 34px;
}

.header3 {
    font-size: 18px;
    font-weight: normal;
    margin: 1px !important;
    padding: 0;
    display: block;
}

/* enforce minimum width on infobox header to prevent flex item compression */
h3.pi-data-label.pi-secondary-font {
    min-width: 90px;
}