MediaWiki:Common.css

From Celeste Wiki
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 */

/* Make the list of references smaller */
ol.references,
div.reflist {
	font-size: 90%;            /* Default font-size */
	margin-bottom: 0.5em;
}
div.reflist ol.references {
	font-size: 100%;           /* Reset font-size when nested in div.reflist */
	margin-bottom: 0;          /* Avoid double margin when nested in div.reflist */
	list-style-type: inherit;  /* Enable custom list style types */
}

/* Default styling for Navbar template */
.navbar {
	display: inline;
	font-size: 88%;
	font-weight: normal;
}
.navbar ul {
	display: inline;
	white-space: nowrap;
}
.navbar li {
	word-spacing: -0.125em;
}
.navbar.mini li span {
	font-variant: small-caps;
}
/* Navbar styling when nested in navbox */
.navbox .navbar {
	display: block;
	font-size: 100%;
}
.navbox-title .navbar {
	/* @noflip */
	float: left;
	/* @noflip */
	text-align: left;
	/* @noflip */
	margin-right: 0.5em;
	width: 6em;
}

/* Infobox Styling */

.infobox {
	border: 1px solid #a2a9b1;
	border-spacing: 3px;
	background-color: #f8f9fa;
	color: black;
	/* @noflip */
	margin: 0.5em 0 0.5em 1em;
	padding: 0.2em;
	/* @noflip */
	float: right;
	/* @noflip */
	clear: right;
	font-size: 88%;
	line-height: 1.5em;
}
.infobox caption {
	font-size: 125%;
	font-weight: bold;
	padding: 0.2em;
	text-align: center;
}
.infobox td,
.infobox th {
	vertical-align: top;
	/* @noflip */
	text-align: left;
}
.infobox.bordered {
	border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
	border: 1px solid #a2a9b1;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
	border: 0;
}

.infobox.sisterproject {
	width: 20em;
	font-size: 90%;
}

.infobox.standard-talk {
	border: 1px solid #c0c090;
	background-color: #f8eaba;
}
.infobox.standard-talk.bordered td,
.infobox.standard-talk.bordered th {
	border: 1px solid #c0c090;
}

/* styles for bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
	border: 0;
	border-top: 1px solid #a2a9b1;
	/* @noflip */
	border-right: 1px solid #a2a9b1;
}

.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
	border: 0;
	/* @noflip */
	border-right: 1px solid #a2a9b1;
}

/* Styles for geography infoboxes, eg countries,
   country subdivisions, cities, etc. */
.infobox.geography {
	border-collapse: collapse;
	line-height: 1.2em;
	font-size: 90%;
}

.infobox.geography td,
.infobox.geography th {
	border-top: 1px solid #a2a9b1;
	padding: 0.4em 0.6em 0.4em 0.6em;
}
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
	border-top: 1px solid #a2a9b1;
	padding: 0.4em 0.6em 0.2em 0.6em;
}

.infobox.geography .mergedrow td,
.infobox.geography .mergedrow th {
	border: 0;
	padding: 0 0.6em 0.2em 0.6em;
}

.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow th {
	border-top: 0;
	border-bottom: 1px solid #a2a9b1;
	padding: 0 0.6em 0.4em 0.6em;
}

.infobox.geography .maptable td,
.infobox.geography .maptable th {
	border: 0;
	padding: 0;
}

/* Location Infobox */
.location {
   max-width:400px;
}

#locationimg img {
   max-width:90%;
   height:auto;
}

/* Template:Essay */
.essay-mw {
	border:solid #F7A7D9 1px;
	margin: 0 auto;
	font-family: Helvetica, Arial, sans-serif;
	width: 864px;
	background: #f9d0ff;
}

/* Icons for medialist templates [[Template:Listen]],

   [[Template:Multi-listen_start]], [[Template:Video]],

   [[Template:Multi-video_start]] */

/* TemplateStyles */

/* MW Listen */

div.listenlist {
	background: url("//upload.wikimedia.org/wikipedia/commons/4/47/Sound-icon.svg") no-repeat scroll 0 0 transparent;
	background-size: 30px;
	padding-left: 40px;
}


/* Article message box styles */

table.ambox {
	margin: 0 10%;                  /* 10% = Will not overlap with other elements */
	border: 1px solid #a2a9b1;
	/* @noflip */
	border-left: 10px solid #36c;  /* Default "notice" blue */
	background-color: #fbfbfb;
	box-sizing: border-box;
}

table.ambox + table.ambox {      /* Single border between stacked boxes. */
	margin-top: -1px;
}

.ambox th.mbox-text,
.ambox td.mbox-text {            /* The message body cell(s) */
	padding: 0.25em 0.5em;       /* 0.5em left/right */
}

.ambox td.mbox-image {           /* The left image cell */
	/* @noflip */
	padding: 2px 0 2px 0.5em;    /* 0.5em left, 0px right */
}

.ambox td.mbox-imageright {      /* The right image cell */
	/* @noflip */
	padding: 2px 0.5em 2px 0;    /* 0px left, 0.5em right */
}

table.ambox-notice {
	/* @noflip */
	border-left: 10px solid #36c;       /* Blue */
}

table.ambox-speedy {
	/* @noflip */
	border-left: 10px solid #b32424;    /* Red */
	background-color: #fee7e6;          /* Pink */
}

table.ambox-delete {
	/* @noflip */
	border-left: 10px solid #b32424;    /* Red */
}

table.ambox-content {
	/* @noflip */
	border-left: 10px solid #f28500;    /* Orange */
}

table.ambox-style {
	/* @noflip */
	border-left: 10px solid #fc3;       /* Yellow */
}

table.ambox-move {
	/* @noflip */
	border-left: 10px solid #9932cc;    /* Purple */
}

table.ambox-protection {
	/* @noflip */
	border-left: 10px solid #a2a9b1;    /* Gray-gold */
}


/* Censored text style, and clear text on rollover. */
.censored {
	color: black;
	background-color: black;
	padding: 1px;
	cursor: pointer;
}

.censored a {
	color: black;
	text-decoration: underline;
	padding: 1px;
}

.censored:hover {
	color: inherit;
	background-color: inherit;
}

/* Hide cookie banner */
.mw-cookiewarning-container {
	display: none !important;
}

/* Disable site notice until further notice 
#siteNotice {
	display: none !important;
}
*/
/* Hide stuff meant for accounts with special permissions. Made visible again in
   [[MediaWiki:Group-checkuser.css]], [[MediaWiki:Group-sysop.css]], [[MediaWiki:Group-patroller.css]],
   [[MediaWiki:Group-templateeditor.css]], [[MediaWiki:Group-extendedmover.css]],
   [[MediaWiki:Group-extendedconfirmed.css]], and [[Mediawiki:Group-autoconfirmed.css]]. */
.checkuser-show,
.sysop-show,
.patroller-show,
.templateeditor-show,
.extendedmover-show,
.extendedconfirmed-show,
.autoconfirmed-show,
.user-show {
	display: none;
}

/* Renogare font impleentation */
/* WARN: Not licensed under a free software license. Noncommercial use only. */
@font-face {
    font-family: 'Renogare';
    src: url('https://static.miraheze.org/celestewiki/0/0f/Renogare-Regular.eot');
    src: url('https://static.miraheze.org/celestewiki/0/0f/Renogare-Regular.eot?#iefix') format('embedded-opentype'),
         url('https://static.miraheze.org/celestewiki/a/a0/Renogare-Regular.woff2') format('woff2'),
         url('fhttps://static.miraheze.org/celestewiki/0/09/Renogare-Regular.woff') format('woff'),
         url('https://static.miraheze.org/celestewiki/e/e8/Renogare-Regular.ttf')  format('truetype'),
         url('https://static.miraheze.org/celestewiki/a/af/Renogare-Regular.svg') format('svg');
}


/* Implementation of configuration logo for some namespaces */
/* mw, templates, modules */
.ns-8 .mw-wiki-logo,
.ns-9 .mw-wiki-logo,
.ns-10 .mw-wiki-logo,
.ns-11 .mw-wiki-logo,
.ns-828 .mw-wiki-logo,
.ns-829 .mw-wiki-logo {
    background-image: url(https://static.miraheze.org/celestewiki/c/cb/Celeste_Options_150px.png);
}

/* Blue tab thing for level select thing (A-B-Csides) */
.filter-none img {
	filter: none !important;
}
.filter-sides-tab img {
    filter: brightness(0.68) sepia(1) saturate(10000%) brightness(1) saturate(0.54) hue-rotate(228deg) saturate(0.587) brightness(1.478) saturate(0.60) brightness(1.236);
}

/* Styling for imbox */
/* From Wikipedia, using GFDL. See [[w:Mediawiki:Common.css]] */
/* Image message box styles */

table.imbox {
	margin: 4px 10%;
	border-collapse: collapse;
	border: 3px solid #36c;    /* Default "notice" blue */
	background-color: #fbfbfb;
	box-sizing: border-box;
}

.imbox .mbox-text .imbox {  /* For imboxes inside imbox-text cells. */
	margin: 0 -0.5em;       /* 0.9 - 0.5 = 0.4em left/right.        */
	display: block;         /* Fix for webkit to force 100% width.  */
}

.mbox-inside .imbox {       /* For imboxes inside other templates.  */
	margin: 4px;
}

table.imbox-notice {
	border: 3px solid #36c;       /* Blue */
}

table.imbox-speedy {
	border: 3px solid #b32424;    /* Red */
	background-color: #fee7e6;    /* Pink */
}

table.imbox-delete {
	border: 3px solid #b32424;    /* Red */
}

table.imbox-content {
	border: 3px solid #f28500;    /* Orange */
}

table.imbox-style {
	border: 3px solid #fc3;       /* Yellow */
}

table.imbox-move {
	border: 3px solid #9932cc;    /* Purple */
}

table.imbox-protection {
	border: 3px solid #a2a9b1;    /* Gray-gold */
}

table.imbox-license {
	border: 3px solid #88a;       /* Dark gray */
	background-color: #f7f8ff;    /* Light gray */
}

table.imbox-featured {
	border: 3px solid #cba135;    /* Brown-gold */
}

/* For images to not go beyond the container */
.img-res img {
	max-width:100%;
	height:auto;
}

/* Horizontally center one element */
.hc {
	margin: 0 auto;
}

.fullwidth {
	width: 100%;
}
table.fullwidth {
	width: 100%;
	table-layout: fixed;
}

.table-font {
	text-align: center;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif !important;
}

.template-copyright {
	border-spacing: 0;
	min-height: 40px;
	text-align: center;
	vertical-align: middle;
	border: 2px solid black;
	background-color: #EEE;
	margin-left: auto;
	margin-right: auto;
}

.template-license-name {
	padding-right: 1em;
	margin: 0;
	background-color: black;
	color: white;
	text-align: right;
	font-family: sans-serif;
	font-weight: bold;
	font-size: 95%
}

.spoilerb {
	background-color: #fff;
	width: 500px;
	padding: 5px 10px;
	border: 1px solid #aaa;
	min-height: 40px;
	margin: 0 auto;
}

/* Userboxes */
.userbox {
	width: 236px;
	border-style: solid;
	border-width: 2px;
	min-height: 48px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	clear: both;
	margin: 4px;
}

.userbox-lpic {
	padding: 3px;
	max-width: 48px;
}

.userbox-text {
	min-width: 0;
	white-space: normal;
	overflow-wrap: break-word;
	padding: 3px;
}

.userbox-rpic {
	padding: 3px;
	max-width: 48px;
}

.blacklink a {
	color: black;
}

/* brute fix for editcount showing extra text */
div.userbox-text.nounderlinelink.blacklink > b > a > p {
	display: none;
}

/* imageswitch template */
#replaceImageButton {
	width: fit-content;
	user-select: none;
	/* more styling TBA */
}

#newImageURL {
	display: none;
}

.gallery.valign .gallerybox {
	vertical-align: initial;
	display: inline-grid;
}

.cautionary-note { /* Neoseeker styling */
	font-family: Arial;
	color: #8A1F11;
	background: #FBE3E4;
	border: 4px solid #F6F6F6;
	padding: 0.5em 1em;
}