MediaWiki:Common.css

From Dungeon Defenders 2 Wiki
Revision as of 23:51, 20 November 2024 by Paloverde zfogshooterz (talk | contribs) (Test)

Jump to: navigation, search

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: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will be applied to all skins */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@700&display=swap');

body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }

body.mediawiki {
    background: url("//wiki.dungeondefenders2.com/images/8/86/DD2_Greystone_Plaza_Background_Image.jpg");
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    background-position: center top  !important;
    background-color: #0b0c0e;
    opacity: .90;
}

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

#p-logo a {
    #background-image: url("//wiki.dungeondefenders2.com/resources/assets/logo.png") !important;
    #background-position: left top;
    #background-repeat: no-repeat;
    height: 102px;
    width: 145px;

}

#p-logo {
    height: 102px;
    position: static !important;
    #width: 300px;
}

#p-personal ul {
    padding-left: 0
}

#p-personal a, #p-personal a.new, #p-personal a:visited, #p-personal a.new:visited {
    color: #32b1d2;
}

#left-navigation {
    left: 25px;
    position: relative;
}

#right-navigation {
    float: right;
    margin-right: 16px;
    position: relative;
}

#searchInput {
    background: #FFFFFF;
    border: 1px solid #3B3B3B;
    border-radius: 0.5em 0.5em 0.5em 0.5em;
    color: #000000;
    font-size: 92%;
    margin: 0;
    width: 10.9em;
}

div#content {
    background-image: none;
    background-color: rgba(0, 0, 0, .95);
    border-left: 1px solid #181818;
    border-right: 1px solid #181818;
    border-bottom: 1px solid #181818;
    border-top: 0px solid #181818;
    border-bottom-left-radius: 0.5em;
    border-bottom-right-radius: 0.5em;
    color: #FFFFFF;
    margin-bottom: 1em;
    padding: 0.3em 1em 1em;
}

div#mw-panel {
    background-color: rgba(0, 0, 0, 0.75);
    border: 1px solid #181818;
    border-radius: 0.5em 0.5em 0.5em 0.5em;
    line-height: 1em;
    padding: 5px;
    width: 145px;
    top: 40px;
}

div#mw-panel div.portal h5 {
    background: none repeat scroll 0 0 rgba(37, 53, 74, 0.5);
    color: #FFFFFF;
}

div#mw-panel div.portal div.body {
    background-image: none;
    background-position: left top;
    background-repeat: no-repeat;
    margin: 0 0 0 .75em;
    padding-top: 0.5em;
}

div#mw-panel div.portal div.body ul li a {
    color: #F0F0F0;
    display: block;
    padding: 3px 3px 3px 3px;
}

div#mw-panel div.portal div.body ul li a:hover {
    padding: 3px 3px 3px 3px;
}

div#mw-panel div.portal div.body ul li a:visited {
    color: #F0F0F0;
    display: block;
    padding: 3px 3px 3px 3px;
}

div#mw-panel div.portal div.body ul li {
    line-height: 1.125em;
}

a {
    color: #73819c;
    cursor: pointer;
    text-decoration: none;
}

a:visited {
     color: #73819c;
}

a#title {
    display: none;
}

a#title:hover {
    display: none;
}

a:active {
    color: #FAA700;
}

a:hover {
    color: #8594b3;
}

a.stub {
    color: #cc0000;
}

a.new {
    color: #cc0000;
}

a.new:visited {
    color: #cc0000;
}

div#content a.external {
    color: #73819c;
    cursor: pointer;
    background-image: none;
    padding-right: unset;
}

div#content a.external:visited {
    color: #73819c;
}

div#content a.external#title {
    display: none;
}

div#content a.external#title:hover {
    display: #8594b3;
}

div#content a.external:active {
    color: #FAA700;
}

div#content a.external:hover {
    color: #8594b3;
}

div#content a.external.stub {
    color: #73819c;
}

div#content a.external.new, #p-personal a.new {
    color: #73819c;
}

div#content a.external.new:visited, #p-personal a.new:visited {
    color: #73819c;
}

hr {
    background-color: #1c2b40;
    border: 0 none;
    color: #1c2b40;
    height: 1px;
    margin: 0.2em 0;
}
h1, h2, h3, h4, h5, h6 {
    background: none repeat scroll 0 0 transparent;
    border-bottom: 1px solid #888888;
    color: #FFFFFF;
    font-weight: normal;
    margin: 0;
    padding-bottom: 0.17em;
    padding-top: 0.5em;
    width: auto;
}
h1 {
    font-size: 188%;
}
h1 .editsection {
    font-size: 53%;
}
h2 {
    font-size: 150%;
}
h2 .editsection {
    font-size: 67%;
}
h3, h4, h5, h6 {
    border-bottom: medium none;
    font-weight: bold;
}
h3 {
    font-size: 132%;
}
h3 .editsection {
    font-size: 76%;
    font-weight: normal;
}
h4 {
    font-size: 116%;
}
h4 .editsection {
    font-size: 86%;
    font-weight: normal;
}
h5 {
    font-size: 100%;
}
h5 .editsection {
    font-weight: normal;
}
h6 {
    font-size: 80%;
}
h6 .editsection {
    font-size: 125%;
    font-weight: normal;
}

div#footer {
    background-image: none;
}

div#footer ul li {
    color: #FFFFFF;
}

div#footer a {
    color: #32b1d2;
}

h4.mw-specialpagesgroup {
    background-color: #FFFFFF;
    border-left: 1px solid #181818;
    border-right: 1px solid #181818;
    border-top: 1px solid #181818;
    margin: 0.3em 0 0;
    padding: 2px;
}

#preferences {
    background-color: rgba(0, 0, 0, 0.4);
    background-image: none;
    border: 1px solid #181818;
    clear: both;
    float: left;
    margin: -2px 0 0;
    width: 100%;
}

#preferences fieldset.prefsection fieldset {
    background-color: rgba(0, 0, 0, 0.4);
}

#preftoc li.selected a {
    background-image: none;
    color: #FFFFFF;
    text-decoration: none;
}

#preftoc {
    background-image: none;
}

#preftoc a, #preftoc a:active {
    background-image: none;
    color: #32b1d2;
}

#preftoc li {
    background-image: none;
}

#preferences legend {
    color: #DDDDDD;
}

#preferences td.htmlform-tip {
    color: #DDDDDD;
}

.catlinks {
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid #181818;
    border-radius: 0.5em 0.5em 0.5em 0.5em;
}

.mw-warning {
    background-color: #282828;
    margin-left: 50px;
    margin-right: 50px;
    text-align: center;
}

#toc, .toc, .mw-warning {
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid #181818;
    border-radius: 0.5em 0.5em 0.5em 0.5em;
    font-size: 95%;
    padding: 5px;
}

#toc h2, .toc h2 {
    border: medium none;
    display: inline;
    font-size: 100%;
    font-weight: bold;
    padding: 0;
}

#toc #toctitle, .toc #toctitle, #toc .toctitle, .toc .toctitle {
    text-align: center;
}

#toc ul, .toc ul {
    list-style-image: none;
    list-style-type: none;
    margin-left: 0;
    padding-left: 0;
    text-align: left;
}

#toc ul ul, .toc ul ul {
    margin: 0 0 0 2em;
}

#toc .toctoggle, .toc .toctoggle {
    font-size: 94%;
}

div.thumb {
    background-color: transparent;
    border-color: transparent;
}

li.gallerybox {
    background-color: transparent;
    border: 2px solid #181818;
}

li.gallerybox div.thumb {
    background: transparent;
    border: 0px solid #181818;
}

div.thumbinner {
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid #07596e;
}

html .thumbimage {
    border: 1px solid #181818;
}

div#bodyContent table.wikitable {
    color:rgba(244,244,244,.84);
}

.mw-specialpages-table {
   margin-bottom: 0;
   margin-top: 0;
}

div.vectorTabs span {
    background-image: none;
}

.mw-specialpages-table {
   margin-bottom: 0;
   margin-top: 0;
}

.wikitable th, .wikitable td {
    border: 1px solid #07596e;
}

table.wikitable {
    background: transparent;
    color:rgba(244,244,244,.84);
}

table.wikitable th, table.wikitable tr th, table.wikitable > tr > th, table.wikitable > * > tr > th {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #07596e;
}

table.wikitable td, table.wikitable tr td, table.wikitable > tr > td, table.wikitable > * > tr > td {
    border: 1px solid #07596e;
}

fieldset {
    border: 1px solid #07596e;
    background: rgba(0, 0, 0, 0.6);
}

code {
    color: white;
    background: rgba(0, 0, 0, 0.4);
}

ul#filetoc {
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid #181818;
}

table.mw_metadata td {
    background-color: rgba(0, 0, 0, 0.4);
}
table.mw_metadata th {
    background-color: rgba(0, 0, 0, 0.4);
}
table.mw_metadata td, table.mw_metadata th {
    border: 1px solid #181818;
}
#pagehistory li {
    border: 1px solid #07596e;
}
#pagehistory li.selected {
    background-color: transparent;
    border: 1px dashed #07596e;
}
table.diff, td.diff-otitle, td.diff-ntitle {
    background-color: rgba(0, 0, 0, 0.4);
}
td.diff-context {
    background: none repeat scroll 0 0 #EEEEEE;
    color: #000000;
}
.TablePager {
    border: 1px solid #02535A;
}

.TablePager th {
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid #07596e;
}
.TablePager tr, .TablePager td {
    background-color: transparent;
    border: 1px solid #07596e;
}

.TablePager tr:hover td {
    background-color: rgba(0, 0, 0, 0.4);
}
.mw-datatable th {
    background-color: rgba(0, 0, 0, 0.4);
}
.mw-datatable, .mw-datatable td, .mw-datatable th {
    border: 1px solid #07596e;
}
.ns-main a {   
    color: #086A87;
}
.ns-MEDIAWIKI a {   
    color: #086A87;
}

#wpSummaryLabel {
    color: #000000; 
}
#mw-editpage-minoredit {
    color: #000000;
}
#editpage-copywarn {
    color: #000000;
}
#mw-editpage-watch {
    color: #000000;
}
div#mw-panel div.portal h3 {
    color: #FFFFFF;
}

/* Makes changed text in the "Changes" panel in the wikitext editor visible */
.diffchange {
    background: #FEEEC8;
}

/* Removes text decoration */
.no-decoration a:hover {
	text-decoration: none;
}

/* 
 * Changes the background color of the menuSelectWidget to gray so that the options are actually visible 
 * Gray is used over black to keep black elements visible
 */
.oo-ui-menuSelectWidget, .oo-ui-dropdownWidget {
    background-color: gray;
}

/* 
 * Center aligns text (which would be ✓ or ✗) in the 2nd column for Template Documentation pages
 */
.TemplateDocumentation td:nth-child(2) {
    text-align: center;
}

/* Adds a litte bit of horizontal padding to each of the cells */
.TemplateDocumentation td {
    padding: 0 5px;
}

/* Adds a horizontal scrollbar for better navigation in-case there's too many tabbers */
ul.tabbernav {
    display: flex;
    overflow-x: scroll; 
    line-height: 18px !important; 
}

/* Customizations for tabber horizontal scrollbar */
body ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
body ::-webkit-scrollbar-thumb {
    background: #918e89;
}
body ::-webkit-scrollbar-thumb:hover {
    background: #5c5a57 !important;
}
body ::-webkit-scrollbar-thumb:active {
    background: #3d3c3a !important;
}

/* Customizations for tabber borders */
.Tabbertab .with-bottom-border {
    border-bottom: none;
}