MediaWiki:Common.css

From ConsoleMods Wiki
Revision as of 23:56, 26 April 2021 by Derf (talk | contribs)
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.
/* =============== GLOBAL =================== */

/* HIDE NAMESPACE NAME */
.ns-3000 #firstHeading {
    overflow: hidden;
    text-indent: -2.6em;
}

#mw-body, #content {
    background-color: inherit;
}

#catlinks, #ca-talk, .mw-warning, .toccolours, #searchInput, .wikitable, .wikitable > tr > th, .wikitable > * > tr > th {
    background-color: inherit;
}

.toc {
    background-color: rgba(0,0,0,0.6);
}

#footer-info-lastmod, #footer-info-copyright, #footer-places, #catlinks, #ca-talk, #ca-nstab-xbox, h1, h2, h3, h4, h5, h6, .wikitable {
    color: inherit;
}

.vector-menu-tabs li a {
    height: 2em;
    padding-top: 0.5em;
}

.vector-menu-tabs .new a, .vector-menu-tabs .new a:visited {
    font-weight: bolder;
    color: red;
}

.vector-menu-tabs .selected a, .vector-menu-tabs .selected a:visited {
    font-weight: bolder;
}

#content {
    border-top-width: 4px;
}

#p-namespaces { 
    height: inherit; 
}

#left-navigation {
    margin-top: 3.5em
}

#p-views {
    height: 1.5em;
    margin-top: 16px;
}

#p-cactions {
    height: 1.6em;
    margin-top: 16px;
}

.vector-menu-tabs .mw-watchlink.icon a:before {
    top: 0.5em;
    left: 0.5em;
    width: 1em;
    height: 1em;
}

.vector-menu-tabs .mw-watchlink.icon a {
    padding: 2.0em 0 0 0;
}

ul:not(toclevel-1) {
  list-style: none;
}

ul li::before:not(toclevel-1) {
  content: "\2022";
  color: red;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

#p-cactions {
    background-color: white;
    background-image: linear-gradient(to bottom,rgba(167,215,249,0) 0,#a7d7f9 100%);
}

.vector-menu-dropdown h3 {
    padding-top: 0.5em;
}

#mw-head .vector-menu-dropdown h3 {
    height: 2em;
}

.vector-menu-dropdown .vector-menu-content-list {
    top: 1.6em;
}

#p-search form {
    margin-top: 1em;
}

#searchInput {
    border-bottom-width: 0px;
}

/* =============== GLOBAL END =============== */



/* =============== XBOX ====================== */
/* Theme colors: Green black (#001500), White, Green (#4CFF00) */


.ns-3000, .ns-3000 #mw-head {
    background-color: rgba(0,20,0,0.7);
    background-image: url(/mediawiki/images/8/80/Xbox-Background.jpeg);
}

.ns-3000 #footer, .ns-3000 #content, .ns-3000 .tocnumber, .ns-3000 ul li::before, .ns-3000 #p-tb-label, .ns-3000 #searchInput {
    color: white;
}

.ns-3000 .mw-wiki-logo, .page-Xbox_Main_Page .mw-wiki-logo {
    background-image: url("/mediawiki/images/7/72/Xbox-Logo.png");
}

.ns-3000, .ns-3000 #mw-head, .ns-3000 #mw-panel a, .ns-3000 #mw-panel a:visited, .ns-3000 #content a, .ns-3000 #content a:visited, .ns-3000 #p-personal a, .ns-3000 .wikitable > tr > th, .ns-3000 .wikitable > * > tr > th, .ns-3000 .toctogglelabel {
    color: #4CFF00;
}

.ns-3000 pre, .ns-3000 .mw-code, .ns-3000 code {
    color: white;
    background-color: rgba(0,0,0,0.5);
    width: 60%
} 

.ns-3000 #content {
    border-top-color: white;
}

.ns-3000 #content ol li.highlighted, .ns-3000 #content ol li:hover {
    background-color: #289728; /* XBL Dark Green */
}

.ns-3000 #content ol li:hover a {
    text-decoration: underline;
}

.ns-3000 #footer a, .ns-3000 .vector-menu-tabs .new a, .ns-3000 .vector-menu-tabs .new a:visited, .ns-3000 a.new, .ns-3000 #p-personal a.new {
    color: #FF7200; /* XBL Orange */
}

/* HIDE NAMESPACE NAME */
.ns-3000 #firstHeading {
    overflow: hidden;
    text-indent: -2.6em;
}

/* =============== XBOX END ================== */