MediaWiki:Common.css

From Pikmin Fanon
Revision as of 15:52, 18 February 2023 by Jody (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.
/* CSS placed here will be applied to all skins */

/* Colored usernames for staff members. */
/* Administrators */
.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:Username"],
.mw-userlink[title="User:Volatile Dweevil"],
#whoadmin a { color: #f1c !important; }

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

/* Interface administrators */
.mw-userlink[title="User:Porplemontage"],
.mw-userlink[title="User:Trig Jegman"],
.mw-userlink[title="User:Wraith"],
#whointer-admin a { color: #09c000 !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 > .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: rgb(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
    }
}

/* Edit section */
.client-js .mw-content-ltr .mw-editsection-bracket:first-of-type,
.client-js .mw-content-rtl .mw-editsection-bracket:first-of-type,
.client-js .mw-content-rtl .mw-editsection-bracket:not(:first-of-type),
.client-js .mw-content-ltr .mw-editsection-bracket:not(:first-of-type) {
	margin: 0;
	color: inherit;
}