This wiki is archived from 2021-09-05

MediaWiki:Common.css: Difference between revisions

From Planetary Annihilation: TITANS and Classic PA Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(57 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* 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
html, body, .mw-body, .mw-body h1, .mw-body h2
Line 8: Line 24:
html
html
{
{
    background: url(https://cdn.palobby.com/pa_ex1/ui/backgrounds/default.png) no-repeat;
     height: auto;
     height: auto;
     background-size: cover;
     background-size: cover;
    background-color: black;
}
}


Line 17: Line 31:
{
{
     height: auto;
     height: auto;
    background-color: transparent;
     color: #ddd;
     color: #ddd;
}
}


#mw-panel, #footer
html
{
    background: black;
}
 
body, #mw-head, #content, #footer, .mw-page-container, #toc, .toc, .mw-warning, .toccolours, .warningbox, textarea
{
    background: transparent;
}
 
.mw-page-container
{
{
     background-color: rgba(0, 0, 0, 0.5);
     border: none;
}
}


div#mw-head
#mw-sidebar-button
{
{
     background-color: rgba(0, 0, 0, 0.25);
     background-color: #666
}
}


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


#content
ul
{
{
     background-color: rgba(0, 0, 0, 0.7);
     list-style: square;
}
}


div#mw-panel
#mw-panel
{
{
    top: 80px;
     padding-bottom: 1em;
     padding-bottom: 1em;
     margin-left: 0.25em;
     margin-left: 0.25em;
}  
    border: none;
    background-image: none;
    background-color: #333
}
 
.mw-footer li
{
    color: #666;
}
 
#p-logo
{
    display: none;
}
 
#p-personal
{
}


div.vectorMenu h3 span
.vector-menu-portal h3
{
{
     color: #aaa;
    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
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;
     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
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;
     color: #428bca;
Line 72: Line 113:
}
}


a:hover
a:hover, .vector-menu-portal .vector-menu-content a:hover
{
{
     color: #00ffff;
     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
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;
     background: transparent;
}
}


div.vectorTabs li.selected
div.vectorTabs li.selected, .vector-menu-tabs .selected
{
{
     background: #007800;
     background: #007800;
Line 88: Line 129:
}
}


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


div.vectorTabs li.new a, div.vectorTabs li.new a:visited
div.vectorTabs li.new a, div.vectorTabs li.new a:visited, .vector-menu-tabs .selected a:visited
{
{
     color: #ccc;
     color: #ccc;
Line 118: Line 159:
#toc, .toc, .mw-warning, .toccolours
#toc, .toc, .mw-warning, .toccolours
{
{
    background: transparent;
     border: 1px solid #666;
     border: 1px solid #666;
}
.tocnumber, .warningbox
{
    color: #666;
}
}


Line 133: Line 178:
}
}


div#simpleSearch
div#simpleSearch, div#simpleSearch input
{
    background: #007800
}
 
div#simpleSearch input
{
{
  background-color: transparent;
   color: white;
   color: white;
}
}
Line 186: Line 227:
{
{
     border: none;
     border: none;
}
textarea
{
    color: #eee;
}
table.wikitable td
{
    vertical-align: top;
}
}


Line 191: Line 242:
{
{
     color: 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;
}
}

Latest revision as of 01:21, 7 October 2022

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