MediaWiki:Common.css

From Pikmin Fanon
Revision as of 16:51, 25 January 2022 by Lakelimbo (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 */

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