MediaWiki:Gadget-darkmobile.css

From Foxhole Wiki
Jump to navigation Jump to search

CSS and Javascript changes must comply with the wiki design rules.


Note: After saving, 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: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Clear the cache in Tools → Preferences
/* CSS placed here will affect users of the mobile site */
/* BASE */
/* Governs the general color of the text and background image */
body.skin-minerva {
    color:#fff;
    background: #382e27 url(https://static.wikia.nocookie.net/foxhole_gamepedia_en/images/3/3f/BG.png/revision/latest) no-repeat fixed center top;
}sk

.skin-minerva .animations #mw-mf-page-center {
    background: black;
    background: url() no-repeat fixed center top / cover #000000;
    color:  white;
}

.skin-minerva .nomobile {
    display: none;
}

/* HEADER */
.skin-minerva .header-container.header-chrome,
#mw-mf-page-center {
    background: rgba(33, 33, 33, 0.8);
}

.skin-minerva .notification-count {
   background: transparent;
}

/* BODY */
/* Leave transparent if background if solid color, otherwise tweak black opacity to make text visible */
.skin-minerva #content {
    border-top: 0px solid #cccccc;
    background: rgba(0,0,0,0.5) !important;
}

.skin-minerva .overlay-enabled {
    border-top: 0px solid #cccccc;
    background: rgba(0,0,0,1) !important;
}

/* FOOTER */
/* Background should match opacity of #content */
.skin-minerva footer {
    border-top: solid 1px #c8ccd1;
    background: rgba(0, 0, 0, 0.5);
}

.skin-minerva footer .last-modified-bar {
    border-bottom: solid 1px #c8ccd1;
    background-color: transparent;
    color: #505050;
}

/* Fix to display properly with links of similar color */
.skin-minerva footer .last-modified-bar.active {
    background-color: rgba(0, 175, 137, 0.5);
}

/* LINKS */
/* Minimal code to affect all non-new links; notification ensures the default color always displays */
.skin-minerva a:not(.new) {
    text-decoration: none;
    color: #e77c41 !important;
}

.skin-minerva .notification-count .circle span {
    color: #fff !important;
}


/* UI STYLING */
/* Default values for HydraDark */
.skin-minerva .content table.wikitable > tr > th,
.skin-minerva .content table.wikitable > * > tr > th {
    background-color: #d2691f;
}

.skin-minerva pre,
.skin-minerva .mw-code {
    background-color: #282828;
    border-color: #505050;
}

.client-js .skin-minerva .toc-mobile {
    background-color: transparent !important;
    border-color: #505050;
}

.skin-minerva .mw-ui-button {
    background-color: transparent;
    color: inherit;
    border: 1px solid #fff;
}

.skin-minerva .content .thumb {
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 3px;
    color: white;
}

.skin-minerva .content .thumbcaption {
    color: white;
}

.skin-minerva li.gallerybox div.thumb {
    border: 1px solid #c8ccd1;
    background-color: transparent;
}

.skin-minerva .mw-ui-button.mw-ui-progressive:active, 
.skin-minerva .mw-ui-button.mw-ui-constructive:active, 
.skin-minerva .mw-ui-button.mw-ui-progressive.is-on, 
.skin-minerva .mw-ui-button.mw-ui-constructive.is-on, 
.skin-minerva .mw-ui-button.mw-ui-progressive.mw-ui-checked, 
.skin-minerva .mw-ui-button.mw-ui-constructive.mw-ui-checked {
    background-color: rgba(115, 115, 115, 0.33);
    border-color: white;
}

.skin-minerva .mw-mf-user, 
.skin-minerva .list-header, 
.skin-minerva .page-list.side-list .list-thumb,
.skin-minerva .topic-title-list.side-list .list-thumb,
.skin-minerva .site-link-list.side-list .list-thumb {
    background-color: inherit;
    color: inherit;

}

/* Section arrows */

.skin-minerva .mw-ui-icon-arrow::before {
    filter: invert(100%);
}

/* Hambahgah menu */
.skin-minerva nav ul li {
    background: #181818 !important;
}

.skin-minerva nav ul.hlist li {
    background: transparent !important;
}

.skin-minerva nav ul li a.mw-ui-icon {
    filter: invert(100%);
}

.skin-minerva nav ul li a {
    font-weight: bold;
}

.skin-minerva nav ul.hlist li a {
    color: #F37F20 !important;
}

/* EDITOR OVERLAY */


/* Search */

.skin-minerva .search-overlay {
    background: rgba(0, 0, 0, 0.9) !important;
}

.skin-minerva .search-overlay .results,
.skin-minerva .search-overlay .search-feedback {
    background-color: #212121 !important;
}

.skin-minerva .list-thumb.list-thumb-none {
    background-image: linear-gradient(transparent,transparent),url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2056%2056%22%3E%3Cpath%20fill%3D%22%23212121%22%20d%3D%22M0%200h56v56H0z%22%2F%3E%3Cpath%20fill%3D%22%23E0E0E0%22%20d%3D%22M36.4%2013.5H17.8v24.9c0%201.4.9%202.3%202.3%202.3h18.7v-25c.1-1.4-1-2.2-2.4-2.2zM30.2%2017h5.1v6.4h-5.1V17zm-8.8%200h6v1.8h-6V17zm0%204.6h6v1.8h-6v-1.8zm0%2015.5v-1.8h13.8v1.8H21.4zm13.8-4.5H21.4v-1.8h13.8v1.8zm0-4.7H21.4v-1.8h13.8v1.8z%22%2F%3E%3C%2Fsvg%3E) !important;
}

.skin-minerva .page-summary h2,
.skin-minerva .page-summary h3 {
    color: #F37F20 !important;
}

/* VE Overlay */

.skin-minerva .oo-ui-windowManager-modal > .oo-ui-dialog > .oo-ui-window-frame {
    background-color: rgba(0, 0, 0, 0.9) !important;
}

.skin-minerva .ve-ui-mwSaveDialog-options {
    background-color: #212121 !important;
}
/* Editor Overlay */

.skin-minerva .editor-overlay-ve .overlay-content .surface {
    overflow: hidden;
    color: white;
}

.skin-minerva .editor-overlay .wikitext-editor,
.skin-minerva .editor-overlay .summary-request {
    color: #E0E0E0 !important;
}

/* Overlays */
.skin-minerva .overlay.editor-overlay,
.skin-minerva .overlay-header-container,
.skin-minerva .overlay-footer-container {
    background: #212121 !important;
}

.skin-minerva .globalNotice {
 color: white;
}