Total War: WARHAMMER Wiki
No edit summary
No edit summary
Line 244: Line 244:
 
.skin-hydradark #mw-panel.collapsible-nav .portal.collapsed h3 a:visited {
 
.skin-hydradark #mw-panel.collapsible-nav .portal.collapsed h3 a:visited {
 
color: #fff;
 
color: #fff;
  +
}
  +
  +
/* Watch icon */
  +
.vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a {
  +
padding-top: 1.2em;
  +
}
  +
  +
div.vectorMenu h3 span:after {
  +
top: 0.25em;
  +
right: 2px;
 
}
 
}
   

Revision as of 13:31, 21 January 2019

/* Doctor Tagzstein's CSS Monster Mark II */
/* Not with Abbie Normal's brain this time */
/* BASIC CODE */

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

body { 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background: url("//totalwarwarhammer.gamepedia.com/media/totalwarwarhammer.gamepedia.com/f/f1/Skaven.jpg") no-repeat fixed center center / cover  rgba(0, 0, 0, 1);
}

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

div#pageWrapper {
    background: transparent;  
    margin-top: 9em;
    min-height: 50em;
/*
    border-style: solid;
    border-width: 35px 46px 40px 52px;
    -moz-border-image: url(/media/7/7f/Button_primary_army_active.png) 35 46 40 52 repeat;
    -webkit-border-image: url(/media/7/7f/Button_primary_army_active.png) 35 46 40 52 repeat;
    -o-border-image: url(/media/7/7f/Button_primary_army_active.png) 35 46 40 52 repeat;
    border-image: url(/media/7/7f/Button_primary_army_active.png) 35 46 40 52 fill repeat;
*/

    background: rgba(0,0,0,0.8) !important;
    border-style: solid;
    border-width: 22px 0px 22px 0px;
    -moz-border-image: url(/media/2/2b/City_chain_frame.png) 22 19 22 18 round;
    -webkit-border-image: url(/media/2/2b/City_chain_frame.png) 22 19 22 18 round;
    -o-border-image: url(/media/2/2b/City_chain_frame.png) 22 19 22 18 round;
    border-image: url(/media/2/2b/City_chain_frame.png) 22 19 22 18 fill round;
}

/* NAVIGATION BAR AND LOGO */

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

#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;
    padding: 0px;
    border-style: solid;
    border-color: transparent;
    background-color: transparent;
    margin: 0px !important;
}

div#mw-head {
    display: flex !important;
    justify-content: center !important;
    position: absolute;
    right: 0;
    width: 100%;
    top: 0px !important;
    height: 10px !important;
    margin: 0px !important;
    padding: 0px !important;
    background: rgba(0,0,0,0.8);
    border-style: solid;
    border-width: 22px 0px 22px 0px;
    -moz-border-image: url(/media/2/2b/City_chain_frame.png) 22 19 22 18 round;
    -webkit-border-image: url(/media/2/2b/City_chain_frame.png) 22 19 22 18 round;
    -o-border-image: url(/media/2/2b/City_chain_frame.png) 22 19 22 18 round;
    border-image: url(/media/2/2b/City_chain_frame.png) 22 19 22 18 fill round;
}

div#mw-head :not(.menu) {
    margin-right: 0.1em !important;
}

div#mw-head li, .vectorMenu h3, #p-search {
    display: flex !important;
    align-items: center !important;
}

div.vectorTabs {
    margin-top: -1.4em;
}

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

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

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

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

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

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

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

div.vectorTabs,
div.vectorTabs span,
div.vectorTabs ul,
div.vectorTabs ul li,
div.vectorMenu h3 a  {
    background-image: none;
    background: transparent 
}

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: 0em;
    margin-top: -0.2em;
    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: 1px #ba7506 ;
}

div.vectorTabs, div.vectorTabs span, div.vectorTabs li a, div.vectorMenu h3 a {
    background-image: none;
}

div.vectorMenu div.menu {
    top: 1.5em;
}

/* 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: 200px;
    width: 9em;
    background: transparent;
    padding: 10px;
    padding-left: 0px;
    padding-right: 20px;
    margin-left: 2em;
    margin-top: 3em;
}

/* 1.29 Fixes */
div#mw-panel div.portal div.body,
.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 {
    background-image: none;
}
.skin-hydradark #mw-panel.collapsible-nav .portal {
}

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

div#mw-panel div.portal div.body ul li a,
div#mw-panel div.portal div.body ul li a:link,
div#mw-panel div.portal div.body ul li a:visited,
div#mw-panel div.portal h3,
.skin-hydradark #mw-panel.collapsible-nav .portal h3 a,
.skin-hydradark #mw-panel.collapsible-nav .portal h3 a:visited,
.skin-hydradark #mw-panel.collapsible-nav div.portal h3 a,
.skin-hydradark #mw-panel.collapsible-nav div.portal h3 a:visited,
.skin-hydradark #mw-panel.collapsible-nav .portal.collapsed h3 a,
.skin-hydradark #mw-panel.collapsible-nav .portal.collapsed h3 a:visited {
    color: #fff;
}

/* Watch icon */
.vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a {
    padding-top: 1.2em;
}

div.vectorMenu h3 span:after {
    top: 0.25em;
    right: 2px;
}

/* MAIN CONTENT AREA */

div#content {
    color: #F4FFF3;
    border-color: transparent;
    background-color: transparent;
}

/* 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 */
a:not(.new):not(.cc_btn):not(.visited)
{
	color: #ba7506  !important;
}

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

a:visited,
a.external:visited {
	color: #664707 !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 and top */

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

/* 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 #ba7506 !important;
}


/* USER INTERFACE AKA MORE INTERACTIVE STUFF */
/* MW 1.29 Hydra Dark Visual Editor Fix */
.oo-ui-barToolGroup.oo-ui-widget-enabled .oo-ui-widget-enabled, 
.oo-ui-popupToolGroup.oo-ui-widget-enabled, 
.oo-ui-popupWidget-popup,
.oo-ui-barToolGroup > .oo-ui-toolGroup-tools > .oo-ui-tool,
.oo-ui-toolbar-position-top > .oo-ui-toolbar-bar {
    background: rgba(55, 55, 55, 1) !important;
}

.oo-ui-barToolGroup.oo-ui-widget-enabled .oo-ui-widget-enabled, .oo-ui-popupToolGroup.oo-ui-widget-enabled, .oo-ui-popupWidget-popup {   
    border-color: #c8ccd1;
}

.oo-ui-toolbar-actions .oo-ui-toolGroup {
    border-right: 0;
    border-left: 1px solid #2c2c2c !important;
}

.ve-ui-mwSaveDialog-license {
    color: #eee;
}

/* Source Editor */
/* 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 */
/* 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 #ba7506;
}

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

div.thumbinner {
    background: rgba(0, 0, 0, 0.5) !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 #ba7506 ;
    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: rgba(0, 0, 0, 0.5);
    border-bottom-color: #383838;
    border-right-color: #383838;
    border-top-color: #383838;
    border-collapse: collapse;

    border: 1px solid #c08f2e;
    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("https://commons.gamepedia.com/media/commons.gamepedia.com/thumb/5/58/Copyright_darkwiki.png/32px-Copyright_darkwiki.png");
    background-size: 100%;
    height: 32px;
    width: 32px;
}


/* --- NON-LEGACY CONTENT --- */

/* Front Page Styling */
@media (min-width: 1350px) {
  .fpcontent { 
    padding-right: 520px; 
    width: auto; 
  }

  #fptopsection { 
    float: left; 
    width: 100%; 
  }

  #fpflexsection { 
    float: right;
    width: 520px;
    margin-right: -520px 
  }

  #fpbottomsection { 
    float: left; 
    width: 100%; 
    margin-top: -5px; 
  }
}