MediaWiki:Common.css: Difference between revisions

From Have a Nice Death Wiki
Jump to navigation Jump to search
Pcj (talk | contribs)
No edit summary
Pcj (talk | contribs)
No edit summary
Line 68: Line 68:
}
}


.diff-context,
.editOptions,
.editOptions,
.mw_metadata td, .mw_metadata th,
.mw_metadata td, .mw_metadata th,
Line 81: Line 82:
}
}


.diff-context,
.editOptions,
.editOptions,
.mw_metadata td, .mw_metadata th,
.mw_metadata td, .mw_metadata th,

Revision as of 18:36, 3 June 2022

/* CSS placed here will be applied to all skins */
@import url('https://fonts.googleapis.com/css2?family=Montserrat&family=Roboto&display=swap');
@font-face { 
	font-family: "Juice ITC";
	src: local("Juice ITC"), url("https://www.dafontfree.net/data/47/j/51463/juice itc.ttf") format("woff"),url("https://www.dafontfree.net/data/47/j/51463/juice itc.ttf") format("opentype"),url("https://www.dafontfree.net/data/47/j/51463/juice itc.ttf") format("truetype");
}

body {
    background-color: #000;
    background-image: url(https://haveanicedeath.wiki.gg/images/8/80/Site-background.jpg);
    background-attachment: fixed;
    background-size: cover;
    font-family: Montserrat;
}
#mw-page-base { background: none; }
.content-wrapper { padding-right: 25px; }
div#content {
    border-image-slice: 27 64 27 64;
    border-image-width: 27px 32px 27px 32px;
    border-image-outset: 20px;
    border-image-repeat: stretch;
    border-image-source: url(https://haveanicedeath.wiki.gg/images/e/e1/Content-border.png);
    background: none;
    color: #dfdfdf;
    padding: 5px 10px;
    position: relative;
}
div#content:before {
	content: '';
	width: calc(100% - 20px);
	height: calc(100% - 20px);
	display: block;
	background-image: linear-gradient(rgba(0,0,0,0.2),rgba(0,0,0,0.2)),url(https://haveanicedeath.wiki.gg/images/9/98/Content-background.jpg);
	background-attachment: fixed;
	background-size:cover;
	padding: 10px;
	position: absolute;
	z-index: -1;
}

.content-body { padding: 10px; }
.editOptions,
.mw-footer li, 
h1, h2, h3, h4, h5, h6 { color: #fff; }
ul {
	list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="rgb(255,255,255)"/></svg>');
}
.mw-content-ltr .redirectText li:first-child {
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="47" height="20" viewBox="0 0 47 20"><path fill="none" stroke="rgb(255,255,255)" stroke-miterlimit="10" stroke-width="2" d="M14.98 2.5V11c0 1.04 1.02 1.98 2.02 1.98h6l3 .02"/><path d="m23.48 9.5.02 7L30 13z" stroke="rgb(255,255,255)" fill="rgb(255,255,255)"/></svg>');
}
.codeEditor-status-message { color: #000; }
a,
.vector-menu-portal .vector-menu-content li a,
.toctogglelabel,
.mw-parser-output a.external,
a.mw-collapsible-text { color: #3cdbc0; }

.mw-parser-output a.extiw:visited, .mw-parser-output a.external:visited,
a:visited,
.vector-menu-portal .vector-menu-content li a:visited { color: #31b39d; }
#p-logo a { background-size: cover; }

.mw-notification,
.vector-menu-dropdown .vector-menu-content { 
	background-color: #333; 
	border-color: #483453;
	color: #fff;
}

.diff-context,
.editOptions,
.mw_metadata td, .mw_metadata th,
#searchInput,
#pagehistory li.selected,
.mw-search-profile-tabs, #mw-searchoptions,
.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .mw-changeslist-legend,
li.gallerybox div.thumb,
.toc, .toccolours,
#filetoc,
.catlinks {
	background-color: rgba(112,128,144,0.32); 
}

.diff-context,
.editOptions,
.mw_metadata td, .mw_metadata th,
#searchInput,
.mw-search-profile-tabs, #mw-searchoptions,
.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .mw-changeslist-legend,
#filetoc,
.catlinks,
li.gallerybox div.thumb { border-color: rgb(112,128,144); }

.tocnumber { color: #999; }

.warningbox {
    background-color: #ffb81c;
    border-color: #ffd13d;
}

.warningbox a {
	color: #485453;
}

.portable-infobox,
div.thumbinner {
    border-image-slice: 106 133 106 133 fill;
    border-image-width: 20px;
    border-image-outset: 20px;
    border-image-repeat: stretch;
    background: none;
    border-image-source: url(https://haveanicedeath.wiki.gg/images/7/72/Thumb-frame.png);
}
.thumbimage {
	border: 0; 
	background-color: #000;
}
div.thumb { margin: 25px; }
div.tright {
    margin: 25px 0 25px 1.4em;
}
.wikitable div.tright { margin-right: 25px; }

table { 
	display: table; 
	white-space: normal;
}

/** <pre>, <code> **/
pre, .mw-code, code {
	color: #999;
    background-color: rgba(112,128,144,0.32);
    border-color: rgb(112,128,144);
}
code {
    word-wrap: break-word;
}

.portable-infobox { 
	margin: 25px; 
	position: relative;
}
.pi-data-label { word-wrap: normal; }

.portable-infobox .pi-title {
    font-size: 3em;
    font-family: 'Juice ITC';
    text-align: center;
}

.portable-infobox .pi-title:after {
	content: '';
    display: block;
    width: 270px;
    height: 15px;
    background-image: url(https://haveanicedeath.wiki.gg/images/a/ab/Border-infobox.png);
    background-position: 10% 0;
    background-size: 90%;
    background-repeat: no-repeat;
    margin-bottom: 10px;
}

.portable-infobox .pi-secondary-background { background-color: transparent; }

#pagehistory li.selected { color: #999; }
#searchInput, #searchInput::placeholder { color: #3cdbc0; }
#searchButton { filter: invert(1); }

.vector-menu-tabs .selected,
#mw-head .vector-menu-dropdown h3,
.vector-menu-tabs li {
	background: url(https://haveanicedeath.wiki.gg/images/6/68/Vector-tab.png);
	background-position: center;
	background-repeat: no-repeat;
    background-size: cover;
    margin-left: 1px;
    transform: skew(-5deg);
}
.vector-menu-dropdown li a { border-bottom: 2px solid #000; }
.vector-menu-dropdown li a,
.vector-menu-tabs .selected a, .vector-menu-tabs .selected a:visited,
.vector-menu-dropdown h3,
.vector-menu-tabs li a { 
	color: #FFB81C;
	text-decoration: none;
}
.vector-menu-tabs, .vector-menu-tabs a { background: none; }
.vector-menu-dropdown h3:after { filter: invert(1); }
.vector-menu-tabs a:hover,
.vector-menu-dropdown li a:hover,
.vector-menu-dropdown:hover h3,
.vector-menu-tabs .selected a, .vector-menu-tabs .selected a:visited { border-bottom: 3px solid #ffb81c; }

.wikitable {
    background-color: rgba(112,128,144,0.32);
    color: #fff;
    border-color: rgb(112,128,144);
}

.wikitable > tr > th, .wikitable > * > tr > th {
    background-color: rgba(255,255,255,0.25);
}

.vector-menu-portal h3 {
	background-image: url(https://haveanicedeath.wiki.gg/images/a/ab/Border-infobox.png);
	background-size: 100%;
	background-position: 0 100%;
	color: #ffb81c;
	text-align: center;
	padding-bottom: 10px;
}

.mp-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 15px;
}

.mp-left {
	flex: 4;
}

.mp-right {
	flex: 1 275px;
}
.search-types .current a { color: #FFB81C; }