This wiki is archived from 2021-09-05

MediaWiki:Common.css

From Planetary Annihilation: TITANS and Classic PA Wiki
Jump to navigation Jump to search

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

@media screen and (min-width: 1330px)
{
    body:not(.skin-vector-disable-max-width) #mw-sidebar-button
    {
        display: none;
    }

    body:not(.skin-vector-disable-max-width) #mw-panel
    {
        visibility: visible!important;
        -webkit-transform: none!important;
        transform: none!important;
        opacity: 1!important;
    }
}

html, body, .mw-body, .mw-body h1, .mw-body h2
{
    font-family: "Helvetica Neue", Helvetica, sans-serif;
}

html
{
    height: auto;
    background-size: cover;
}

body
{
    height: auto;
    color: #ddd;
}

html
{
    background: black;
}

body, #mw-head, #content, #footer, .mw-page-container, #toc, .toc, .mw-warning, .toccolours, .warningbox, textarea
{
    background: transparent;
}

.mw-page-container
{
    border: none;
}

#mw-sidebar-button
{
    background-color: #666
}

#mw-sidebar-button:hover
{
    background-color: #888
}

ul
{
    list-style: square;
}

#mw-panel
{
    padding-bottom: 1em;
    margin-left: 0.25em;
    border: none;
    background-image: none;
    background-color: #333
}

.mw-footer li
{
    color: #666;
}

#p-logo
{
    display: none;
}

#p-personal
{
}

.vector-menu-portal h3
{
    background-image: none;
    color: #aaa
}

a, div.vectorTabs ul li a, div#mw-panel div.portal div.body ul li a, div.vectorTabs li.selected a, .mw-body a.external, div.vectorMenu li a, .vector-menu-portal .body li a, .vector-menu-tabs li a, .vector-menu-tabs li.selected a, .vector-menu-portal .vector-menu-content li a
{
    color: #00b3ff;
}

a:visited, div#mw-panel div.portal div.body ul li a:visited, div.vectorTabs li.selected a:visited, .mw-body a.external:visited, .vector-menu-portal .body li a:visited, .vector-menu-tabs li a:visited, .vector-menu-tabs li.selected a:visited, .vector-menu-portal .vector-menu-content li a:visited
{
    color: #428bca;
}

a.new:visited, #p-personal a.new:visited
{
    color: #007800;
}

a.new, #p-personal a.new
{
    color: #0d0;
}

a:hover, .vector-menu-portal .vector-menu-content a:hover
{
    color: #00ffff;
}

div#mw-panel div.portal, .mw-body, #mw-page-base, div.vectorTabs ul li, table.wikitable, table.wikitable > tr > th, table.wikitable > * > tr > th, .catlinks, div.vectorTabs, div.vectorTabs span, div.vectorTabs ul, div#mw-head div.vectorMenu h3, div.vectorMenu div.menu, .vector-menu-tabs li
{
    background: transparent;
}

div.vectorTabs li.selected, .vector-menu-tabs .selected
{
    background: #007800;
    color: #fff;
}

div.vectorTabs li.selected a, .vector-menu-tabs .selected a
{
    color: #fff!important;
}

div.vectorTabs li.new a, div.vectorTabs li.new a:visited, .vector-menu-tabs .selected a:visited
{
    color: #ccc;
}

.mw-body, div#mw-panel div.portal h3, table.wikitable, .catlinks, div#footer ul li
{
    color: #ddd;
}

h1, h2, h3, h4, h5, h6
{
    color: #ddd;
    border-bottom: 1px solid #666;
}

body.ns-0 #firstHeading { display: none }

.mw-body, table.wikitable, table.wikitable > tr > th, table.wikitable > tr > td, table.wikitable > * > tr > th, table.wikitable > * > tr > td
{
    border: 1px solid #666;
}

#toc, .toc, .mw-warning, .toccolours
{
    border: 1px solid #666;
}

.tocnumber, .warningbox
{
    color: #666;
}

.mw-body-content h1 { margin-bottom: 0.75em; }

.mw-body h2 { margin-bottom: 0.75em; }

pre, .mw-code, code
{
    color: #eee;
    background-color: #333;
    border: 1px solid #666;
}

div#simpleSearch, div#simpleSearch input
{
   background-color: transparent;
   color: white;
}

.oo-ui-textInputWidget input, .oo-ui-textInputWidget textarea
{
    background: #007800;
    color: white;
    border: 1px solid #666;
}

.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button
{
    background: #007800;
    border-radius: 0px;
    box-shadow: inset 0px 0px 8px rgba(255,255,255,.50);
    border: 1px solid #0D0;
    color: white;
    text-transform: uppercase;
}

.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive.oo-ui-widget-enabled > .oo-ui-buttonElement-button:focus, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover
{
    background: #008C00;
    border: 1px solid #0F0;
}

.mw-search-profile-tabs
{
    color: #eee;
    background-color: #333;
    border: 1px solid #666;
}

.mw-search-profile-tabs div.search-types ul li.current a
{
    color: #0d0;
}

#pagehistory li.selected
{
    background-color: #333;
}

#pagehistory li
{
    border: none;
}

textarea
{
    color: #eee;
}

table.wikitable td
{
    vertical-align: top;
}

table.wikitable td.red
{
    color: red
}

table.wikitable td.green
{
    color: #0d0;
}

body.page-Planetary_Annihilation_Timeline table.wikitable td:first-child
{
    min-width: 10ch;
}

#ca-history
{
    display: none;
}

#siteNotice
{
    background-color: #800;
    color: white;
    font-size: 14px;
    font-weight: bold;
}

#siteNotice p
{
    padding: 5px 0;
}

#siteNotice a
{
    color: white;
}

#siteNotice a:hover
{
    color: #00ffff;
}

body.page-PA_Privacy_policy #firstHeading, body.page-PA_About #firstHeading
{
    display: none;
}

body.page-UberNet_vs_PlayFab #siteNotice
{
    display: none;
}

#policy
{
    position: fixed;
    width: 100%;
    height: 100%;
    margin: 0;
    border: none;
    z-index: 2;
    top: 0;
    left: 0;
    text-align: center;
    font-size: 16px;
    background-color: rgba(0,0,0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
}

#policy-wrapper
{
    background-color: black;
    padding: 20px;
    border: 1px solid #888;
}

#policy-wrapper div
{
}

#policy-wrapper button
{
    margin-top: 10px;
}

.mw-parser-output .external, .mw-parser-output a.external
{
    padding-right: 0;
}