MediaWiki:Common.css

From Pikmin Fanon
Revision as of 19:37, 24 April 2022 by Jody (talk | contribs) (Testing)

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 */

/* Colored usernames for staff members. */
/* Administrators */
.mw-userlink[title="User:Ampera"],
.mw-userlink[title="User:Gamefreak75"],
.mw-userlink[title="User:Neocraftz1553"],
.mw-userlink[title="User:Peach Bulborb"],
.mw-userlink[title="User:Portal-Kombat"],
.mw-userlink[title="User:Scruffy"],
.mw-userlink[title="User:Volatile Dweevil"],
#whoadmin a { color: #FD16C0 !important; }

/* Bureaucrats */
.mw-userlink[title="User:Cheepy-Cheepy"],
.mw-userlink[title="User:PikFan23"],
.mw-userlink[title="User:Sir Pikmin"],
.mw-userlink[title="User:Tech Support"],
#whocrat a { color: #A400D8 !important; }

/* Developers */
.mw-userlink[title="User:Porplemontage"],
.mw-userlink[title="User:Trig Jegman"],
.mw-userlink[title="User:Wraith"],
#whodev a { color: #0AE201 !important; }

/* Interface administrators */
.mw-userlink[title="User:Espyo"],
.mw-userlink[title="User:Username"],
#whointer-admin a { color: #A2B123 !important; }

/* Dismissable SiteNotice */
.sitedir-ltr .mw-dismissable-notice-body {
	margin: 0.5em 60px 0.5em 0;
}
.sitedir-rtl .mw-dismissable-notice-body {
	margin: 0.5em 0 0.5em 60px;
}

/* Infoboxes */
.infobox {
  clear: right;
}

/* Lua navbox */
.module-navbox > span.mw-collapsible-toggle {
    font-weight: bold;
    transform: translate(-8px,3.15px)
}

.lua-navbox td, .lua-navbox th {
	padding: 5px;
}

.lua-navbox td {
    width: 100%;
}

.lua-navbox tr:nth-child(even) td {
    background: rgba(0,0,0,.1)
}

.lua-navbox tr:last-of-type th {
    border-radius: 0 0 0 12px;
}

.lua-navbox tr:last-of-type td {
    border-radius: 0 0 12px 0
}

.lua-navbox ul {
    margin: 0;
}

.lua-navbox ul li {
    display: inline;
}

.lua-navbox ul li:not(:last-child):after { 
    content: " • "
}

@media screen and (max-width: 925px) {
    .lua-navbox {
        width: 100%;
        text-align: center;
    }
    .lua-navbox th, .lua-navbox td {
        display: block;
    }
    .lua-navbox td {
        margin-top: 2px;
    }
    .lua-navbox tr:last-of-type th {
        border-radius: 0
    }
    .lua-navbox tr:last-of-type td {
        border-radius: 0 0 12px 12px
    }
}