MediaWiki:Common.css: Difference between revisions

From ANZUS Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 127: Line 127:
     border: none;
     border: none;
outline: none;
outline: none;
background-color:#313131;
cursor: pointer;
cursor: pointer;
border-radius: 5px;
border-radius: 5px;

Revision as of 23:52, 19 May 2024

/*Text*/

body, h1, h2, h3, h4, h5, h6, .tocnumber {
	color: #ffffff;
}
h1, h2 { 
	border-bottom:1px solid #ab0009;
}
a:link, .mw-parser-output a.extiw, .mw-parser-output a.external, .toc a, toctogglelabel  {
	color: #cdcdc4;
}
a:visited, .mw-parser-output a.extiw:visited, .mw-parser-output a.external:visited {
    color: #cdcdc4;
}

/*Lists*/ 

#content li::before {
	color:#ab0009;
	content: "• ";
}

#content ul {
  list-style: none;
}

#content li.gallerybox::before {
	content: none;
} 

/*Backgrounds*/

body {
	background-image: linear-gradient(to bottom, #313131, #2b2b2b, #262626, #202020, #1b1b1b);
	background-attachment: fixed;
	background-repeat: no-repeat;
}
.mw-body {
	color: #ffffff
}
#mw-page-base {
	background: #313131;
}
#content { 
	background: #1b1b1b;
	border: 1px solid #434343;
	color: #ffffff
}
.toc, .toccolours {
    background-color: #313131;
    border: 1px solid #434343;
}

/*Code Blocks*/
pre, code, .mw-code {
	background: #313131;
	color: #cdcdc4;
	border: 1px solid #434343;
}

/*Wikitable*/
.wikitable {
    background-color: #313131;
    color: #ffffff;
}

.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td {
	border: 1px solid #1b1b1b;
} 

.wikitable > tr > th, .wikitable > * > tr > th {
    background-color: #434343;
}

/*Image Thumbs*/

figure[typeof~='mw:File/Thumb'] > :not(figcaption) .mw-file-element, figure[typeof~='mw:File/Frame'] > :not(figcaption) .mw-file-element, figure[typeof~='mw:File/Thumb'] > figcaption, figure[typeof~='mw:File/Frame'] > figcaption, figure[typeof~='mw:File/Thumb'], figure[typeof~='mw:File/Frame'], li.gallerybox div.thumb {
    border: 1px solid #313131;
    background: #313131;
	color: #ffffff;
}

/*Page Tab Formatting*/

#ca-talk {
	display:none!important;
}
#ca-nstab-mediawiki, #ca-nstab-main, #ca-nstab-user, #ca-view, #ca-edit, #ca-ve-edit, #ca-history, #ca-watch, #ca-unwatch, #ca-viewsource {
	background-image: linear-gradient(to top, #1b1b1b, #202020, #262626, #2b2b2b, #313131);
}
vector-menu-content, .vector-menu-dropdown .vector-menu-content a, .vector-menu-content-list, .vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown .vector-menu-heading, .vector-menu-tabs-legacy li a, .vector-menu-tabs-legacy .selected a, .vector-menu-tabs-legacy .selected a:visited {
	background-image:none;
	color: #cdcdc4;
}
/*Left Navigation*/
.vector-legacy-sidebar .vector-menu-portal .vector-menu-content li a, .vector-legacy-sidebar .vector-menu-portal .vector-menu-content li a:visited {
    color: #cdcdc4;
}
.vector-legacy-sidebar .vector-menu-portal .vector-menu-heading {
    color: #ffffff;
	background-image: linear-gradient(to right, rgba(200, 204, 209, 0) 0, #ab0009 33%, #ab0009 66%, rgba(200, 204, 209, 0) 100%)
}

/*Search Box*/
.vector-search-box-input {
    background-color: #434343;
    color: #ffffff;
}
.vector-search-box-input:focus, .vector-search-box-inner:hover .vector-search-box-input:focus {
    outline: 0;
    border-color: #ab0009;
    box-shadow: inset 0 0 0 1px #ab0009;
}
.suggestions-results, .suggestions-special, .suggestions-special .special-query, .suggestions-result {
    background: #313131;
	color: #cdcdc4;
}

/*Gallery Hover*/
ul.mw-gallery-packed-hover li.gallerybox:hover div.gallerytextwrapper, ul.mw-gallery-packed-overlay li.gallerybox div.gallerytextwrapper, ul.mw-gallery-packed-hover li.gallerybox.mw-gallery-focused div.gallerytextwrapper {
	background: #1b1b1bcc;
}

/*Upgrade Icon Menu*/ 

.upgrade-icon {
    border: none;
	outline: none;
	background-color:#313131;
	cursor: pointer;
	border-radius: 5px;
    display: inline-block;
	margin: 5px;
}
.active-icon, .upgrade-icon:hover{
	background-color: #ab0009;
	display: inline-block;
}
.upgrade-content { 
	display: none;
}
.upgrade-section {
    margin-bottom: 20px;
}