MediaWiki:Common.css

From Have a Nice Death Wiki
Revision as of 14:49, 14 June 2022 by Pcj (talk | contribs)
Jump to navigation Jump to search

Note: After publishing, 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 / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* 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; }

.diff-context,
.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;
    align-items: center;
    gap: 15px;
}

.mp-left {
	flex: 6;
	padding-left: 50px;
}

.mp-right {
	flex: 1 300px;
	text-align: center;
}
.search-types .current a { color: #FFB81C; }

.diff-deletedline .diffchange { background-color: #850808; }
.diff-addedline .diffchange { background-color: #02483c; }

ul.gallery.mp-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0 auto;
	max-width: 900px;
}

.mp-nav li.gallerybox {
    margin: 10px;
    background-color: #c8c8c9;
    border: 5px solid #232323;
    --shadow-color: #3a3a3a;
    box-shadow: inset 5px 5px 3px 0px #5e5e5e, 5px 6px 7px 0px var(--shadow-color), -5px -6px 7px 0px var(--shadow-color);
    transform: skewY(-2deg);
    transition: all 0.5s ease-out;
}

.mp-nav li.gallerybox:hover { 
	--shadow-color: #919191;	
}

.mp-nav li > div {
    position: relative;
    transform: skewY(2deg);
}

.mp-nav li.gallerybox div.thumb {
    border: 0;
    background-color: transparent;
}

.mp-nav div.gallerytext {
    position: relative;
    top: -10px;
    left: 12.5px;
    width: calc(100% - 50px);
    background-color: #9f9fa0;
    border: 3px solid #2c2c2c;
    transform: skewX(3deg);
    box-shadow: inset 1px 1px 7px 1px #303030;
    padding: 0 10px;
    font-weight: 600;
    font-family: 'Juice ITC';
    font-size: x-large;
    text-transform: uppercase;
    text-align: center;
}

.mp-nav div.gallerytext p {
    transform: skewX(-3deg);
    margin: 5px 0;
}

.mp-nav div.gallerytext a {
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}

.mp-nav li.gallerybox div.thumb img { filter: saturate(0.3); }