Battletech Wiki
Advertisement

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.
/* Doctor Tagzstein's CSS Monster Mark II */
/* Not with Abbie Normal's brain this time */
/* BASIC CODE */

/* Hide main page header */
body.page-Battletech_Wiki h1.firstHeading {
    display:none;
}


body { 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background: url("//hydra-media.cursecdn.com/battletech.gamepedia.com/6/65/BG.jpg") no-repeat fixed center top / cover rgba(0,0,0,1);
}

#mw-page-base,
#mw-head-base{
    background: transparent !important;   
}

div#pageWrapper {
    background: transparent !important;  
    margin-top: 3em;
    min-height: 50em;

}

/* NAVIGATION BAR AND LOGO */

#p-logo {
    left: 50vw;
    margin-left: -250px;
    margin-top: -2em;
    height: 0em;
}

#p-logo a {
    width: 25em;
    height: 8em;
    background-size: contain;
}

div#p-portals {
    background: rgba(0,0,0,0.8);
}

/* Top navigation*/

#left-navigation, 
#right-navigation {
    display: inline;
    border-width: 1px;
    border-color: #fff;
    padding: 0px;
    margin-top: 8em;

    margin-top: 7.25em;
}

#left-navigation {
    margin-left: 14em;
}

#right-navigation {
    margin-right: 3em;
}

div.vectorTabs ul {
    margin-top: 1.55em;
}

div.vectorTabs ul li {
    padding: 0px !important;
    margin-top: -0.45em;
    height: 0.95em;
    background: transparent;
    background-image: none !important;
}

div.vectorTabs ul li.selected {
    border-style: solid;
    padding: 2px !important;
    margin-top: -0.65em;
    height: 0.95em;
    border-width: 1px;
    border-color: #646464;
    background: #7e7e7e;
    padding: 2px;
}

div.vectorMenu,
#p-search {
    height: 0.9em;
    margin-top: 1.15em;
}


#p-search {
}

#p-search form, 
#p-search input {
    margin: 0;
    margin-top: -0.8em;
}

div#mw-head div.vectorMenu h3 {
    background-image: none;
    margin-top: -0.8em;
}

div#mw-head div.vectorTabs a {
    margin-top: -1.4em;
}

div.vectorTabs, 
div.vectorTabs ul, 
div.vectorTabs span, 
div#mw-head div.vectorMenu h3 {
    background-image: none !important;
    background: transparent !important;
}

div.vectorTabs li.new a,
div.vectorTabs li.new a:visited {
    color: #ba0000 !important;
    text-decoration: none;  
}

/* Those pesky separate Social Media and More menus */
div.vectorMenu h3 span {
    font-size: 0.8em;
    font-weight: bold;
    padding-top: 0.89em;
    color: #fff;

}

div#mw-head div.vectorMenu h3 {
    background-image: none;
}

/* Collapsible menus in top nav */
div.vectorMenu ul,
div#p-cactions div.menu ul,
div#p-cactions div.menu ul li a  {
background: #202020;
border: 0px #f79b26 solid;
}

div.vectorMenu div.menu {
    border-color: transparent;
}


.vectorTabs li a span, div#mw-head a {
    color: #fff !important;
    font-weight: bold;
}


/* Search menu */
div#simpleSearch {
    background: transparent;
    border: 0px solid #404040;
    margin-top: 0.55em;
    color: #fff;
}

div#simpleSearch #searchInput {
    color: #fff;
    font-weight: bold;
}

/* SIDEBAR STYLING */

div#mw-panel {   
    position: absolute;
    top: 150px;
    width: 10em;
    padding: 10px;
    margin-left: 0.7em;
    margin-top: 3em;
    border: 1px solid #e0e0e0;
    background: rgba(0,0,0,0.85);
}

.skin-hydradark #mw-panel.collapsible-nav div.portal,
.skin-hydradark div#mw-panel.collapsible-nav div#p-socialProfiles.portal,
.skin-hydradark #mw-panel.collapsible-nav #p-sitePromos.portal,
div#mw-panel div.portal div.body  {
    background-image: none;
}

div#mw-panel div.portal div.body ul li a, 
.skin-hydradark #mw-panel.collapsible-nav .portal h3 a {
    color: #f79b26 !important;
}

/* MAIN CONTENT AREA */

div#content {
    color: #F4FFF3;
    margin-top: 5em;
    margin-left: 13em;
    margin-right: 1em;
    border-color: transparent;
    background: rgba(0,0,0,0.85);
    border: 1px solid #e0e0e0;
}

/* FOOTER */
div#footer {

    border: #fff solid 0px;
    background: transparent;
margin-top: 1em;
margin-bottom: 1em;
}

div#footer #footer-info li {
color: white;
}

div#footer {
    margin-left: 13em;
}

div#footer ul {
    list-style-type: none;
    list-style-image: none;
    margin-left: 1em;
    margin-right: 2em;
    display: inline;
}

#footer-icons {
    float: left;
}

/* LINK STYLING MK II */
/* General link styles */
a:not(.new):not(.cc_btn):not(.visited)
{
    color: #f79b26 !important;
}

a:visited,
a.external:visited {
    color: #e99223 !important;
}

div#content a.new, #quickbar a.new {
    color: #A63232 !important;
}

a.new:visited, #p-personal a.new:visited {
    color: #a55858 !important;
}

div#netbar a,
footer#footer a {
    color: #aeaeae !important;
}

/* Sidebar */
div#mw-panel div.portal div.body ul li a, 
.skin-hydradark #mw-panel.collapsible-nav .portal h3 a {
    color: #f79b26 !important;
}

div#mw-panel div.portal h3 {
    color: #fff;
}

/* Top section */
.vectorTabs li a span, 
div#mw-head a,
div.vectorMenu h3 span {
    color: #fff !important;
    font-weight: bold;
}

div.vectorTabs li.new a,
div.vectorTabs li.new a:visited {
    color: #ba0000 !important;
    text-decoration: none;  
}

/* WIKITABLES */
.skin-hydradark .TablePager th, .skin-hydradark .mw-datatable th, .skin-hydradark table.mw_metadata th,
.skin-hydradark table.wikitable > * > tr > th {  
    background-color: #000;
}

table.wikitable > tr > th, table.wikitable > tr > td, table.wikitable > * > tr > th, table.wikitable > * > tr > td {

    border: 1px solid #fff;
}


/* USER INTERFACE AKA MORE INTERACTIVE STUFF */

/* MW 1.29 Hydra Dark Visual Editor Fix */
.oo-ui-toolbar-position-top > .oo-ui-toolbar-bar {
    border-bottom: 0px solid #222;
    border-top: 0px solid #222;
    background: #ddd !important;
    box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1);
}

.oo-ui-popupWidget .oo-ui-popupWidget-popup {
    color: #212121;
}

.oo-ui-barToolGroup.oo-ui-widget-enabled .oo-ui-widget-enabled, .oo-ui-popupToolGroup.oo-ui-widget-enabled, .oo-ui-popupWidget-popup {
    background: #ddd !important;
}

.oo-ui-popupToolGroup-handle .oo-ui-indicatorElement-indicator {
    filter: invert(0%);
}

.ve-ui-mwSaveDialog-license {
    color: white;
}

.skin-hydradark .oo-ui-windowManager-modal > .oo-ui-dialog > .oo-ui-window-frame {
    background-color: #212121;
}

.ve-ui-mwSaveDialog-options,
.oo-ui-textInputWidget.oo-ui-widget-enabled input, 
.oo-ui-textInputWidget.oo-ui-widget-enabled textarea {
    background-color: transparent;
}

.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button,
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-constructive > .oo-ui-buttonElement-button {
    color: #fff;
    background-color: #212121;
    border-color: #545454;
}

/* Editor styling */

div.wikiEditor-ui,
.editOptions,
div.wikiEditor-preview-contents,
div.wikiEditor-preview-loading,
div.wikiEditor-ui-toolbar,
div.wikiEditor-ui-buttons,
div.wikiEditor-ui-controls  {
background: transparent;
}

.editOptions {  
    border-image: none;
    border-style: none solid solid;
    border-width: medium 1px 1px;
}

div.wikiEditor-ui {
    border: medium none;
}

div.wikiEditor-ui-buttons {
border-top: 0px solid white;
}

div.wikiEditor-ui-controls {
    border-bottom: 1px solid #fff;
}

/* Page history */

table.diff {
background-color: transparent;
}

#pagehistory li.selected {
background-color: #151515;
border: 1px dashed #aaa;
}

td.diff-context {
background: transparent;
border-color: #e6e6e6;
color: #e6e6e6;
}

td.diff-addedline {
border-color: #fff;
}

td.diff-addedline .diffchange {
    background: #067700;
}

td.diff-deletedline,
td.diff-deletedline .diffchange {
border-color: #990000;
}

/* Search results styling */

.skin-hydradark .mw-search-profile-tabs,
.skin-hydradark fieldset#mw-searchoptions,
.skin-hydradark .mw-search-profile-tabs {
    background-color: transparent;
    border: 1px solid #fff;
}

.mw-ui-button.mw-ui-primary,
.mw-ui-button.mw-ui-progressive {
    background: #fff;
    color: #fff;
    border: 1px solid #fff;
}

.skin-hydradark .mw-search-profile-tabs div.search-types ul li.current a,
.skin-hydradark .mw-search-profile-tabs div.search-types ul li.current a  {
    color: #FFFFFF;
}

/* Preferences styling */

.skin-hydradark #preferences {
    background-color: transparent;
}

.skin-hydradark #preferences legend {
    color: white;
    font-weight: bold;
}

.htmlform-tip {
    color: whitesmoke;
}

.skin-hydradark #preftoc li {
    background-image: none;
    color: #fff;
    font-weight: bold;
    text-shadow: 1px 1px black;
}

/* UI TWEAKING */
/* Frontpage pagename display */
body.page-Panzer_Corps_Wiki h1.firstHeading {
    display:none;
}

/* Presentation and code fields */

pre, 
code,
.skin-hydradark .mw-code {
border: 1px solid #ddd;
color: white;
background-color: transparent;
border-style: solid;
}

.mw-highlight {
    background: rgba(0, 0, 0, 0.69);
    color: white;
}

/* Fieldsets, category links, tables of content */
fieldset,
ul#filetoc,
#catlinks,
div#toc, 
div.toc, 
div.mw-warning,
.skin-hydradark .mw-search-profile-tabs {
     background-color: transparent;
     border: 1px solid #fff;
}

/* Category tree and custom bulletpoints */
ul {
list-style-type: disc;
list-style-image: url(x);
list-style-image: url(x) !ie;
}

.CategoryTreeToggle {
    color: #fff;
}

/* Thumbs */

div.thumb {
    background: transparent !important;

border: 1px solid #a1a1a1;
}

div.thumbinner {

    background: transparent !important;
}

html .thumbimage,
li.gallerybox div.thumb  {
    background: transparent;
border: 1px solid #a1a1a1;
}

/* fix for black redirection arrow */
.redirectMsg > img {
    display: none;
}

.redirectMsg > span::before {
    content: url("https://commons.gamepedia.com/media/commons.gamepedia.com/a/aa/Redirectltr_white.png");
}

/* Notification fix */
.mw-echo-notification.mw-echo-unread,
.mw-echo-date-section,
.mw-echo-timestamp, 
.mw-echo-notification-footer {
    color: #fff;
}

/* Achievement fixes */
#p-achievement-list, .achievement_category, .achievement_category_select {
    background: black;
}

/* Edit count fix */
#editcount > table * table,
#editcount > table * table th,
#editcount > table * table td {
    background-color: #000000 !important;
    padding: 0 12px 0 0.15em;
    border: 1px solid #fff;
}

/* References highlighting */
ol.references li:target, sup.reference:target {
    background-color: #0B3800;
}

/* LEGACY */

/* Data table styling */ 

table.mw_metadata td, 
table.mw_metadata th {
border: 1px solid #fff;
background-color: transparent;
}

.skin-hydradark .mw-datatable th {
background-color: #4F3C15;
}

.skin-hydradark .mw-datatable td {
background-color: transparent;
}

.skin-hydradark .mw-datatable tr:hover td {
background-color: #151515;
}

/* HydraDark default code */

pre {
    overflow: auto;
}

/* Notice templates */
.topNotice {
    border: 2px solid #f79b26;
    background: rgba(0, 0, 0, 0);
    margin: 0 0 10px 0;
    padding: 3px 6px;
    overflow: auto;
}

.topNotice .heading {
    font-size: 132%;
    font-weight: bold;
    margin: 0 0 8px 0;
    padding: 0;
}

.topNotice.delete {
    border: 2px solid #ff0000;
}

.topNotice.move,
.topnotice.merge,
.topnotice.split {
    border: 2px solid #bb8800;
}

.topNotice.pagestub,
.topNotice.imagerequest,
.topNotice.nowalkthrough {
    border: 2px solid #008000;
}

/* for "edit this page" tab and "discussion" tab etc */
.tab {
     border-style: solid solid none;
     border-width: thin;
     border-color: #808080;
     padding:0.25ex 1ex 0ex;
     font-size: 95%;
}

.ambox {
    background-color: black;
    border-bottom-color: #383838;
    border-right-color: #383838;
    border-top-color: #383838;
    border-collapse: collapse;

   border: 1px solid #fff;
    font-size: 95%;
    margin: 0 auto 2px auto;
    width: 80%;
}

.ambox-gray {
    border-left-color: #383838;
}

.ambox.ambox-tiny {
    font-size: 90%;
    margin: 2px 0;
    width: auto;
}

.ambox + .ambox {
     margin-top: -2px;
}

.ambox-text {
     padding: 0.25em 0.5em;
}

.ambox-image {
     padding: 2px 0px 2px 0.5em;
     text-align: center;
     width: 60px;
}

.ambox-tiny .ambox-image {
     padding: 2px 0.5em;
     text-align: left;
     width: auto;
}

/* Ambox colors */
.ambox-blue {
     border-left: 10px solid #1e90ff;
}

.ambox-red {
     border-left: 10px solid #b22222;
}

.ambox-orange {
     border-left: 10px solid #f28500;
}

.ambox-yellow {
     border-left: 10px solid #f4c430;
}

.ambox-purple {
     border-left: 10px solid #9932cc;
}

.ambox-gray {
     border-left: 10px solid #bba;
}

.ambox-green {
     border-left: 10px solid #228b22;
}

/* Ambox small text */
.amsmalltext {
     font-size: smaller;
     margin-left:0.8em;
     margin-top:0.5em;
}

/* copyright images tweak */
.skin-hydradark .copyright-icon {
    background-image: url("//hydra-media.cursecdn.com/commons.gamepedia.com/thumb/5/58/Copyright_darkwiki.png/32px-Copyright_darkwiki.png");
    background-size: 100%;
    height: 32px;
    width: 32px;
}
Advertisement