New Dawn Wiki
Advertisement

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 Hydra skin */
/* For elements which only display in the mobile view */
.mobileonly {
    display: none;
}

/* general */
div#content {
    background-color: #EEEEEE;
}

h1, h2, h3, h4, h5 {
    font-family: "LithosPro-Regular" !important;
}

/* background */
body {
    background: url(https://static.wikia.nocookie.net/newdawn_gamepedia_en/images/9/98/Bg.jpg/revision/latest) no-repeat fixed #fff;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
}

#mw-page-base {
    background-color: rgba(0, 0, 0, 0);
    background-image: none;
}

/* logo */
#p-logo a {
    height: 80px;
    width: 320px;
    margin-top: 6em !important;
}

.mw-wiki-logo {
    background-image: url(https://images.wikia.com/newdawn_gamepedia_en/images/thumb/b/bc/Wiki.png/320px-Wiki.png);
}

#pageWrapper, #mw-head {
    margin-top: 2em;
}

#mw-panel {
    margin-top: -6em;
}

/* article navigation styles */
div.vectorMenu, div.vectorTabs li span a {
    background-color: #eee;
}

div.vectorMenu:hover, div.vectorTabs li span a:hover {
    background-color: white;
}

div.vectorTabs,
div.vectorMenu .menu {
    font-family: "LithosPro-Regular";
}

div.vectorMenu h3 span {
    padding-top: 1.25em;
}

div.vectorMenu h3 a {
    height: 2.25em;
}

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

/* footer styles */
div#footer {
    background-color: rgba(238, 238, 238, 0.75);
}

/* sidebar styles */
#mw-panel .portal li {
    font-family: "LithosPro-Regular";
}

#mw-panel .portal:not(#p-claimWiki):not(#p-claimWiki-label):not(#p-socialProfiles):not(#p-socialProfiles-label):not(#p-sitePromos) h3 {
    background: #191919;
    color: #ffffff;
    border: 2px solid #191919;
    border-radius: 5px 5px 5px 5px;
}

#mw-panel.collapsible-nav .portal h3 a,
#mw-panel.collapsible-nav .portal.collapsed h3 a {
    color: #ffffff;
}

div#mw-panel div.portal:not(#p-claimWiki):not(#p-claimWiki-label):not(#p-socialProfiles):not(#p-socialProfiles-label):not(#p-sitePromos) div.body {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 5px 5px 5px 5px;
    margin: 5px;
}

div#mw-panel div.portal div.body ul li {
    padding-left: 0.2em !important;
    padding-right: 0.2em !important;
}

div#mw-panel div.portal div.body ul li a {
    text-shadow: 2px 1px 0.1em #999;
}

/* wiki editor */
.wikiEditor-preview-contents,
.wikiEditor-preview-loading,
.wikiEditor-ui,
.wikiEditor-ui-controls,
.wikiEditor-ui-buttons {
    background: none;
    border: none;
}

/* ambox styles */
.ambox {
    background-color: #eeeeee;
    border-bottom-color: #383838;
    border-right-color: #383838;
    border-top-color: #383838;
    border-collapse: collapse;
    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;
}

/* INFOBOXES: game or book depended color style */
.infoboxtable {
    background-color: #f9f9f9;
    border: 1px solid #aaaaaa;
    color: #000000;
    float: right;
    font-size: 89%; 
    margin-bottom: 0.5em; 
    margin-left: 1em; 
    padding: 0.2em; 
    width: 300px;
}

.infoboxtable td {
    vertical-align: top;
}

.infoboxtable td > div {
    background-color: #f9f9f9;
    border: 2px solid inherit; 
    border-radius: 5px; 
    font-weight: bold;
    padding: 0.5px 7px;
    text-align: right;
}

.infoboxname {
    font-size: 110%; 
    font-weight: bold;
    padding: 0.5em; 
}

.infoboxdetails {
    padding: 0em;
}

/* copyright images tweak */
.copyright-icon {
    background: url(https://static.wikia.nocookie.net/commons_hydra/images/thumb/b/b6/Copyright.png/32px-Copyright.png) transparent center center no-repeat;
    background-size: 100%;
    width: 32px;
    height: 32px;
}

.feature {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 5px; padding: 10px;
}

/* Navbox template style */
table.navbox {
    border: 1px solid #aaaaaa;
    clear: both;
    font-size: 88%;
    margin: auto;
    padding: 1px;
    text-align: center;
    width: 100%; 
}

/* Border between adjacent navboxes */
table.navbox + table.navbox {
    margin-top: -1px;
}

.navbox-title,
.navbox-abovebelow,
table.navbox th {
    padding-left: 1em;
    padding-right: 1em;
    text-align: center;
}

.navbox-group {
    font-weight: bold;
    padding-left: 1em;
    padding-right: 1em;
    white-space: nowrap;
}

/* Base background */
.navbox, .navbox-subgroup {
    background: rgba(255, 255, 255, 0.2);
}

.navbox-list {
    border-color: rgba(255, 255, 255, 0.2); /* Must match background color */
}

/* Level 1 color */
.navbox-title,
table.navbox th {
    background: rgba(255, 255, 255, 0.2);
    color: #444;
}

/* Level 2 styling */
.navbox-abovebelow,
.navbox-group,
.navbox-subgroup .navbox-title {
    background: rgba(255, 255, 255, 0.2);
    color: #333;
}

/* Level 3 styling */
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
    background: rgba(0, 0, 0, 0.05);
    color: #333;
}

/* Even row striping */
.navbox-even {
    background: rgba(0, 0, 0, 0.05);
    color: #333;
}

/* Odd row striping */
.navbox-odd {
    background: transparent;
}
 
.collapseButton {
    font-weight: normal;
    width: auto;
}

.navbox .collapseButton {
    width: 6em;
}
 
.navbar {
    font-size: 88%;
    font-weight: normal;
}

.navbox .navbar {
    font-size: 100%;
}
 
table.collapsed tr.collapsible {
    display: none;
}
/* End of new Navbox styling */

/* Front page appearance styles */
.fpbox .heading,
.fpbox .mainheading {
    border: 0;
    border-bottom: 1px solid #505050;
}

.fpbox {
    color: #1f1f1f;
    background: rgba(0, 0, 0, 0.1);
    border: 2px solid #505050;
    border-radius: 5px;
    box-shadow: 0 0 0 2px #505050 inset;
}

.fplink:not(.fplink-plain) {
    background: #efefef;
    background-image: -moz-linear-gradient(center top, #efefef 0%, #c0c0c0 100%);
    background-image: -webkit-gradient(linear, center top, left bottom, color-stop(0%,#efefef), color-stop(100%,#c0c0c0));
    background-image: -webkit-linear-gradient(top, #efefef 0%, #c0c0c0 100%);
    background-image: -o-linear-gradient(top, #efefef 0%, #c0c0c0 100%);
    background-image: -ms-linear-gradient(top, #efefef 0%, #c0c0c0 100%);
    background-image: linear-gradient(to bottom, #efefef 0%, #c0c0c0 100%);
    border: 1px solid #c0c0c0;
    border-radius: 4px;
}

.fplink-fullwidth .fplink:not(.fplink-plain) {
    background: rgba(0,0,0,0.4);
}

.linkslabel {
    border-bottom: 2px solid #505050;
}

/* Notifications fix */
.mw-echo-ui-notificationsInboxWidget-toolbarWrapper {
    background: inherit;
}
Advertisement