MediaWiki:Common.css

/* CSS placed here will be applied to all skins */ body { font-size:.85em; }

margin: 0 0 0.35em; background: rgba(255,255,255,.8); padding: 1em; border-radius: 8px; }
 * 1) catlinks div {

ul#filetoc, .toc, .mw-warning { box-shadow: 0 1px 2px 1px rgba(0,0,0,0.28); }

background: rgba(255, 255, 255, .9) !important; border-radius: 0px 0px 8px 8px; }
 * 1) mw-content {

background-image: url(https://static.miraheze.org/browndustwiki/2/26/Background.png) !important; background-position: center center !important; background-attachment: fixed !important; background-repeat: no-repeat !important; background-size: cover !important; }
 * 1) mw-content-container {

font-size:1.5em; }
 * 1) p-logo-text a {

.mp-portal-icon a img { width: 100%; min-width: 50px; max-width: 150px; height: auto; }

.mp-portal-row div { flex: 0 1 auto; margin: 4px; }

.mp-portal-row { display: flex; flex-flow: row nowrap; margin: 0; align-items: self-start; justify-content: space-around; text-align: center; font-weight: bold; max-width: 100%; }

@media only screen and (max-width: 600px) { .mp-portal-row { flex-flow: row wrap; }	.mp-portal-row > div { max-width: 150px; } }

.sidebar-chunk { border-radius: 8px; background: rgba(252,252,252,.9) !important; }

.flex-container { max-width:850px; margin:auto; border:1px solid black; padding:1em; }

.flex-panel { display:flex; flex-wrap:wrap; flex-direction:row; text-align:center; }

.character-header { padding:0 1em 1em 1em; text-align:center; }

.character-name { font-size:1.5em; }

.panel-image { flex:1 0 50%; text-align:center; }

.character-info { flex:1 0 45%; padding:.5em; }

.nopadding { padding: 0!important; }

.character-info .wikitable { width:100%; margin:auto; }

/* Tabber styling */ .character-info .tabberlive, .character-info .tabberlive .tabbertab { background: none repeat scroll 0 0 rgba(0, 0, 0, 0) !important; border: none !important; padding: 2px !important; }

.character-info ul.tabbernav { background: none repeat scroll 0 0 rgba(0, 0, 0, 0) !important; border-bottom: none !important; }

.character-info ul.tabbernav li a, .character-info ul.tabbernav li a:link { background-color: #fff; color: #000 !important; border-bottom: 1px solid #ccc; }

.character-info ul.tabbernav li a:hover { background-color: #e4e4e4 !important; }

.character-info ul.tabbernav li.tabberactive { border: none !important; }

.character-info ul.tabbernav li.tabberactive a, .character-info ul.tabbernav li.tabberactive a { background-color: #ffffff; color: #000000 !important; border: 1px solid black !important; }

img[alt="Frontpage.PNG"] { max-width: 100%; height: auto; }

/* mw ui button tweaks */

.mw-ui-button-group { display: inline-flex; } .mw-ui-button-group > * { min-width: 38px; float: none; }

.mw-ui-button-group > *:last-child { border-top-right-radius: 0; border-bottom-right-radius: 0; }

.mw-ui-button { -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }

.mw-ui-button.mw-ui-progressive, .mw-ui-button.mw-ui-progressive:active, .mw-ui-button.mw-ui-progressive.mw-ui-checked {   border: solid 1px #cccccc; border-bottom-width: 1px; border-bottom-width: 0.2em; box-sizing: border-box; border-radius: 0.2em; background: #bababa !important; color: #001133; min-height: 30px; box-shadow: 0 1px 2px rgba(0,0,0,0.05);

}

/* Tab Styling - because it seems the styling isn't being applied on newer MediaWiki versions */ /* Layout styles */ /** * The direct-child selector (a > b) should be used whenever possible, except for elements within .tabs-content, * to prevent styling issues with nested tags. Use >*> whenever necessary, as this doesn't increase specificity. */ /** * Regarding the usage of the body:not(oldbrowser) selector: * * All browsers with support for :not also support :checked * Putting body:not(oldbrowser) as part of the selector will cause only browsers with :checked support to render the styles * IE is not the only browser that lacks :checked support, so conditional comments are not an option here. * :not(oldbrowser) is chosen as selector, since the tag can't also be an tag at the same time. * The only browsers with :checked support, but without :not support are Opera 9.0-9.5 and Safari 3.1.* * Those browsers will have to rely on the JS alternative. If JS is disabled for them, all tabs will show at once. * this needs to be a seperate style, since old browsers will ignore the rule with :not altogether. * Sources: https://developer.mozilla.org/en-US/docs/Web/CSS/:checked#Browser_compatibility, *         https://developer.mozilla.org/en-US/docs/Web/CSS/:not#Browser_compatibility */ body:not(oldbrowser) .tabs-content {display: none;} /** * This is for testing if the browser supports the :not selector. !important is used to ensure this style doesn't change. * The "sans-serif" ("without-serif") and "serif" fonts are used to indicate :not-support (so also :checked support, since those * selectors gained support in almost every browser at the very same moment). "sans-serif" indicates no support; "serif" indicates :not support. * This form is used as a "testcase" because it is hidden from view anyway, and always present when any or tags are present. * The margin: 0px is to determine whether the browser supports the general sibling selector ~. If it doesn't, there is "no margin" for interactivity, so JS is not activated. */	font-family: sans-serif !important; margin: 0px !important; } head~body #tabs-inputform {margin: 1px !important;} body:not(oldbrowser) #tabs-inputform {font-family: serif !important;} /** * max-height prevents font-boosting on tabs in mobile browsers even when not in mobile skin. * Font-boosting causes weird differences between tab contents and surrounding text (most specifically for inline tabs), so disabling it altogether. * If font-boosting doesn't create difference in size between text and inline tab contents anymore, remove or comment out the next line. */ .tabs, .tabs * { max-height: 1000000px; } .tabs-input, .tabs-close, body.tabs-oldbrowserscript .tabs-content {display: none;} .tabs-tabbox, .tabs-togglebox { margin: 10px 0; } .tabs-label { cursor: pointer; padding: 1px 6px; border: 1px solid lightgray; background:rgba(255,255,255,.6); } .tabs-togglebox.tabs-inline {display: inline-block;} /** * Regarding the * html and *+html selectors * * IE ver. 5.5-7 support no inline-block on divs. * These selectors manage to select the tag in versions 6 and 7 of IE, respectively. * Do not change .tabs-togglebox to a just for supporting these versions of IE though, because block-level elements will be placed within it * 	and it is not allowed to nest block-level elements inside span elements. * Sources: http://blogs.msdn.com/b/ie/archive/2005/09/02/460115.aspx *         http://www.webdevout.net/css-hacks#in_css-selectors *         https://en.wikipedia.org/wiki/CSS_hack#Star_plus_hack */ /** * The following is an alternative to the non-IE<9 `:first-of-type` and selects the first tabs-label, * since only the first label is positioned behind 2 inputs in a row. */ .tabs-tabbox > .tabs-input+ .tabs-input+ .tabs-label { margin-left: 10px; } .tabs-tabbox > .tabs-container { margin-top: -1px; padding: 2px 6px; position: relative; width: inherit; /*This will cause the width to be inherited from the main tab, and enables the possibility to use width: inherit within the tab itself too */ max-width: inherit; min-width: inherit; z-index: 1; /* unselected tab is positioned below the content this way */ } .tabs-tabbox > .tabs-label { margin: 2px; position: relative; display: inline-block; vertical-align: bottom; } .tabs-tabbox .tabs-content-0 { display: inline-block; } .tabs-tabbox .tabs-block.tabs-content-0 { display: block; } .tabs-tabbox .tabs-inline.tabs-content-0 { display: inline; } .tabs-plain > .tabs-label { border: 1px solid #AAA; border-radius: 8px; margin: 2px; } .tabs-plain > .tabs-container { border-radius: 0; border: none; padding: 0; margin-top: 1px; } .tabs-togglebox > .tabs-container { display: inline-block; /* this is to make the box the minimal width it needs to be */ width: inherit; min-width: inherit; max-width: inherit; padding: 0; border-radius: 8px; } .tabs-togglebox >*> .tabs-label { display: block; text-align: center; border-radius: 7px; padding: 1px 5px; margin: 0; outline: none; /* prevent :focus outline */ } .tabs-togglebox >*> .tabs-content { padding: 2px 6px; border-radius: 0 0 7px 7px; border: 1px solid #AAA; border-top: none; vertical-align: top; } .tabs-dropdown .tabs-container { width: inherit; min-width: inherit; max-width: inherit; position: relative; } .tabs-dropdown >*> .tabs-content { border-radius: 0; } .tabs-dropdown p {margin: 0;} .tabs-dropdown >*> .tabs-label { margin-right: -14px; /* This is to align the label with the tabs content correctly: it becomes 2*7px (padding + border-width on tabs-content) wider. */ } .tabs-dropdown { margin-right: 14px; /*Cancel out the -14px margin to prevent clipping problems*/ } .tabs-dropdown >*> .tabs-content { position: absolute; z-index: 100000; cursor: default; margin: 0; padding: 0 6px; display: block; /* tabs-content is display: block by default, but is hidden by moving it off the screen to allow delaying the showing of the contents, via CSS transitions */ left: -1000000px; /*move the menu off the screen. As opposed to display: none, this does allow transition-delay.*/ } .tabs-dropdown >*> .tabs-content, .tabs-dropdown li ul, .tabs-dropdown li ol { width: inherit; min-width: inherit; max-width: inherit; box-shadow: 2px 3px 5px #888; } .tabs-dropdown li { width: inherit; min-width: inherit; max-width: inherit; } .tabs-dropdown >*> .tabs-label, .tabs-dropdown >*> .tabs-content, .tabs-dropdown ul, .tabs-dropdown ul:before, .tabs-dropdown ol, .tabs-dropdown ol:before { /* Delay opening the togglebox to prevent accidental opening when moving the mouse over it. this should be enough delay to accomplish this. */	-webkit-transition-property: left, margin-left, border-radius; -webkit-transition-delay: 0.2s; -moz-transition-property: left, margin-left, border-radius; -moz-transition-delay: 0.2s; -o-transition-property: left, margin-left, border-radius; -o-transition-delay: 0.2s; transition-property: left, margin-left, border-radius; transition-delay: 0.2s; } .tabs-dropdown .tabs-dropdown { margin-left: -7px; /* prevent overflowing for nested dropdowns. */ } .tabs-dropdown li li .tabs-dropdown { margin-left: 0; /* this negative margin is not necessary in sub-menus */ } .tabs-dropdown li, .tabs-dropdown >*> .tabs-content> a, .tabs-dropdown >*> .tabs-content>p> a, .tabs-dropdown ol>li> a { display: list-item; list-style: none; margin: -1px -6px 0 -6px; /*These margins and padding styles cause the  to take up the full width of the dropdown: -6px cancels out the original padding.*/ padding: 2px 6px; border-top: 1px solid #AAA; position: relative; } .tabs-dropdown ol>li> a { border: none; margin: -2px -6px; padding: 2px 6px; } .tabs-dropdown li li a { margin: -2px 0; } .tabs-dropdown li li, .tabs-dropdown li li:last-child { margin-left: 0; /* cancel out negative margins for the nested s */ margin-right: 0; padding: 2px 0; } .tabs-dropdown >*> .tabs-content ul, .tabs-dropdown >*> .tabs-content ol { margin: 0; /*remove initial margins*/ width: inherit; min-width: inherit; max-width: inherit; } .tabs-dropdown li ul, .tabs-dropdown li ol { position: absolute; border: 1px solid #AAA; top: -1px; left: -1000012px; } .tabs-dropdown li ul ~ ul, .tabs-dropdown li ul ~ ol, .tabs-dropdown li ol ~ ul, .tabs-dropdown li ol ~ ol { display: none; /*This prevents multiple different types of lists from overlapping within sub-menus. Sub-menus should always use the same type of list for all items.*/ } .tabs-dropdown li ul:before, .tabs-dropdown li ol:before { content: ">"; color: #88F; font-weight: bold; position: absolute; left: 100%; margin-left: 1000012px; } .tabs-dropdown li li ul:before, .tabs-dropdown li li ol:before { margin-left: 1000000px; } /* Interactivity styles */ .tabs-label:hover { background-color: #CCC; } .tabs-label:active, .tabs-label:focus { background-color: #CCE; } .tabs-tabbox > .tabs-input:checked + .tabs-label, .tabs-input-0:checked + .tabs-input-1 + .tabs-label { z-index: 2; background-color: #FFF; border:1px solid black; font-weight:bold; } .tabs-togglebox >*> .tabs-input:checked + .tabs-label, .tabs-dropdown >*> .tabs-label:focus, .tabs-dropdown:hover >*> .tabs-label {border-radius: 7px 7px 0 0;} .tabs-togglebox >*> .tabs-input:checked ~ .tabs-content {display: block;} /* tabs-close is hidden by default, tabs-open is shown by default. Swap this when the tab is opened. */ .tabs-togglebox .tabs-input:checked + * .tabs-close {display: inline;} .tabs-togglebox .tabs-input:checked + * .tabs-open {display: none;} .tabs-dropdown >*> .tabs-content li:hover { background: #CCC; } .tabs-dropdown a, .tabs-dropdown a:hover, .tabs-dropdown a: visited { color: #15B; } .tabs-dropdown a:active { color: #108; } .tabs-dropdown >*> .tabs-content> a:hover, .tabs-dropdown >*> .tabs-content>p> a:hover, .tabs-dropdown ol>li> a:hover { background: #CCE; text-decoration: none; } .tabs-dropdown >*> .tabs-label:focus + .tabs-content, .tabs-dropdown:hover >*> .tabs-content {left: 0;} .tabs-dropdown >*> .tabs-content li:hover > ul, .tabs-dropdown >*> .tabs-content li:hover > ol { left: 100%; } .tabs-dropdown >*> .tabs-content li:hover > ul:before, .tabs-dropdown >*> .tabs-content li:hover > ol:before { margin-left: 0; left: -12px; } /***** The same :checked interactivity styles, but for non-:checked browsers with JS *****/ .tabs-tabbox > .tabs-input.checked + .tabs-label, .tabs-input-0.checked + .tabs-input-1 + .tabs-label { z-index: 2; background-color: #FFF; } .tabs-togglebox >*> .tabs-input.checked ~ .tabs-content {display: block;} .tabs-togglebox >*> .tabs-input.checked + * .tabs-close {display: inline;} .tabs-togglebox >*> .tabs-input.checked + * .tabs-open {display: none;} /** * The following is an alternative toggle system for Android Browser using and tags * which is based on http://stackoverflow.com/q/21357641/1256925 */ summary::-webkit-details-marker { display: none; } .tabs-togglebox details.tabs-container:not([open]) .tabs-content { display: none; } .tabs-togglebox details.tabs-container[open] .tabs-content { display: block; } .tabs-togglebox details.tabs-container:not([open]) .tabs-label { border-radius: 7px; } .tabs-togglebox details.tabs-container[open] .tabs-label { border-radius: 7px 7px 0 0; } .tabs-togglebox details.tabs-container[open] .tabs-close {display: inline;} .tabs-togglebox details.tabs-container[open] .tabs-open {display: none;}
 * 1) tabs-inputform {
 * 1) tabs-inputform,
 * html .tabs-togglebox .tabs-inline {display: inline;}/*IE6 and below*/
 * +html .tabs-togglebox .tabs-inline {display: inline;}/*IE7 only*/

/* wikitable */

table.wikitable> :first-child>tr:first-child, table.wikitable>tbody>tr.heading, table.wikitable> :first-child>tr:first-child>th, table.wikitable>tbody>tr.heading>* { background-color: #ffd441; border-top: 1px solid #afa15c; }

/*table.wikitable> :first-child>tr:first-child a,*/ table.wikitable>tbody>tr.heading a { color: #a7f9be }

table.wikitable>tbody>tr>th, table.wikitable>tfoot>tr>th, table.wikitable>thead>tr>th, table.wikitable>tbody>tr>th { background-color: #ffd441; border-top: 1px solid #afa15c; }

table.wikitable>tbody>tr:nth-child(odd), table.wikitable>tbody>tr:nth-child(odd) { background-color: #e3f2ea; }

table.wikitable { border: 0 solid; border-collapse: collapse; border-spacing: 0; font-size: .9230769231em; text-align: left; clear: none; position: relative; vertical-align: top; margin: 10px 0; padding: 0; max-width: 100%; }

table.wikitable>caption { font-weight: bold }

table.wikitable>thead, table.wikitable>tbody { border: 0 solid #aaa\0/ }

table.wikitable tr { border: 1px solid #aaa\0/; text-align: left; border-color: #AAA; }

border-top-width: 0; border-bottom-width: 0; }

table.wikitable>*>tr> :first-child { border-left: 1px solid #AAA; }

table.wikitable>*>tr> :last-child { border-right: 1px solid #AAA; }

table.wikitable>tbody>tr:last-child, table.wikitable>tbody>tr:last-child>*, table.wikitable>tfoot>tr:last-child>*, table.wikitable>caption { border-bottom: 1px solid #AAA; }

table.wikitable>tbody>tr>th, table.wikitable>tbody>tr>td, table.wikitable>tfoot>tr>th { line-height: 1.667em; padding: .25em .5em; }

table.wikitable tr>th, table.wikitable[class*=center] tr { text-align: center; }

table.wikitable[class*=left] tr { text-align: left; }

table.wikitable[class*=right] tr { text-align: right; }

table.wikitable[class*=middle] tr { vertical-align: middle; }

table.wikitable[class*=top] tr { vertical-align: top; }

table.wikitable[class*=bottom] tr { vertical-align: bottom; }

table.wikitable> :first-child>tr:first-child, table.wikitable>tbody>tr.heading { background-color: #F3F3F3; /* 	border: 1px solid #aaa; */ }

table.wikitable>tbody>tr>th, table.wikitable>tfoot>tr>th { background-color: #E7E7E7; border-color: #AAA; }

table.wikitable>tbody>tr:nth-child(odd) { background-color: #F3F3F3; border-color: #AAA; }

table.wikitable>tbody, table.wikitable>tbody>tr.heading, table.wikitable>tbody>tr>[rowspan], table.wikitable>tbody>tr>[colspan] { border: 1px solid #AAA; }

table.wikitable> :first-child>tr:first-child+tr [rowspan], table.wikitable> :first-child>tr:first-child+tr [colspan] { border-top-width: 0; }

table.wikitable .line, table.wikitable .line-bottom { border-bottom-width: 1px!important; border-bottom-style: solid; }

table.wikitable .line-top { border-top-width: 1px!important; border-top-style: solid; border-top-color: #AAA; }

table.wikitable .line-left { border-left-width: 1px!important; border-left-style: solid; border-left-color: #AAA; }

table.wikitable .line-right { border-right-width: 1px!important; border-right-style: solid; border-right-color: #AAA; }

table.wikitable table { background-color: transparent; padding: 0; margin: 0; }

table.borderless>*>tr>td { border: none; }

table.borderless>tbody>tr>[colspan] { border: none; }

table.fullwidth { width: 100%; }

.wikitable>*>tr>th a:visited, .wikitable>*>tr>th a:link { color: #FFFFFF !important; }

.wikitable th a { color: #c7ffff; }

table.wikitable > tr > th, table.wikitable > tr > td, table.wikitable > * > tr > th, table.wikitable > * > tr > td { border-bottom: 1px solid #AAA; }

/* cargoTable */

table.cargoTable> :first-child>tr:first-child, table.cargoTable>tbody>tr.heading, table.cargoTable> :first-child>tr:first-child>*, table.cargoTable>tbody>tr.heading>* { background-color: #e6bc2d; border-top: 1px solid #afa15c; }

table.cargoTable> :first-child>tr:first-child a, table.cargoTable>tbody>tr.heading a { color: #a7f9be }

table.cargoTable>tbody>tr>th, table.cargoTable>tfoot>tr>th, table.cargoTable>thead>tr>th, table.cargoTable>tbody>tr>th { background-color: #e6bc2d; border-top: 1px solid #afa15c; }

table.cargoTable>tbody>tr:nth-child(odd), table.cargoTable>tbody>tr:nth-child(odd) { background-color: #e3f2ea; }

table.cargoTable { border: 0 solid; border-collapse: collapse; border-spacing: 0; font-size: .9230769231em; text-align: left; clear: none; position: relative; vertical-align: top; margin: 10px 0; padding: 0; max-width: 100%; width: 100%; }

table.cargoTable>caption { font-weight: bold }

table.cargoTable>thead, table.cargoTable>tbody { border: 0 solid #aaa\0/ }

table.cargoTable tr { border: 1px solid #aaa\0/; text-align: left; border-color: #AAA; text-align: center; }

table.cargoTable td { vertical-align: middle; }

border-top-width: 0; border-bottom-width: 0; }

table.cargoTable>*>tr> :first-child { border-left: 1px solid #AAA; }

table.cargoTable>*>tr> :last-child { border-right: 1px solid #AAA; }

table.cargoTable>tbody>tr:last-child, table.cargoTable>tbody>tr:last-child>*, table.cargoTable>tfoot>tr:last-child>*, table.cargoTable>caption { border-bottom: 1px solid #AAA; }

table.cargoTable>tbody>tr>th, table.cargoTable>tbody>tr>td, table.cargoTable>tfoot>tr>th { line-height: 1.667em; padding: .25em .5em; }

table.cargoTable tr>th, table.cargoTable[class*=center] tr { text-align: center; }

table.cargoTable[class*=left] tr { text-align: left; }

table.cargoTable[class*=right] tr { text-align: right; }

table.cargoTable[class*=middle] tr { vertical-align: middle; }

table.cargoTable[class*=top] tr { vertical-align: top; }

table.cargoTable[class*=bottom] tr { vertical-align: bottom; }

table.cargoTable> :first-child>tr:first-child, table.cargoTable>tbody>tr.heading { background-color: #EEE; border: 1px solid #aaa; }

table.cargoTable>tbody>tr>th, table.cargoTable>tfoot>tr>th { background-color: #E7E7E7; border-color: #AAA; }

table.cargoTable>tbody>tr:nth-child(odd) { background-color: #F3F3F3; border-color: #AAA; }

table.cargoTable>tbody, table.cargoTable>tbody>tr.heading, table.cargoTable>tbody>tr>[rowspan], table.cargoTable>tbody>tr>[colspan] { border: 1px solid #AAA; vertical-align: middle; }

table.cargoTable> :first-child>tr:first-child+tr [rowspan], table.cargoTable> :first-child>tr:first-child+tr [colspan] { border-top-width: 0; }

table.cargoTable .line, table.cargoTable .line-bottom { border-bottom-width: 1px!important; border-bottom-style: solid; }

table.cargoTable .line-top { border-top-width: 1px!important; border-top-style: solid; border-top-color: #AAA; }

table.cargoTable .line-left { border-left-width: 1px!important; border-left-style: solid; border-left-color: #AAA; }

table.cargoTable .line-right { border-right-width: 1px!important; border-right-style: solid; border-right-color: #AAA; }

table.cargoTable table { background-color: transparent; padding: 0; margin: 0; }

table.borderless>*>tr>td { border: none; }

table.borderless>tbody>tr>[colspan] { border: none; }

table.fullwidth { width: 100%; }

.cargoTable>*>tr>th a:visited, .cargoTable>*>tr>th a:link { color: #FFFFFF !important; }

.cargoTable th a { color: #c7ffff; }