m (+brewing)
m (brewing interface rendering)
Line 673: Line 673:
background-image: url(/images/0/01/Interface_brewing.gif);
background-image: url(/images/0/01/Interface_brewing.gif);
background-repeat: no-repeat;
background-repeat: no-repeat;
image-rendering: pixelated;
position: absolute;
position: absolute;
left: -2px;
left: -2px;

Revision as of 19:52, 13 October 2023

@import url('https://fonts.googleapis.com/css?family=Lexend:400&display=swap');

@font-face {
  font-family: "Minecraft";
  src: url("https://wiki.cobblemon.com/images/0/07/Minecraft.otf");
}

:root {
  --border-color: rgba(110, 120, 130, 0.4);
  --background-color: #212035;
  --content-background-color-hover: #424064;
  --content-background-color: #34324F;
  --content-background-color-dark: #2A2942;
  --content-background-border-color-light: #6964A4;
  --nav-background-color: #15151E;
  --nav-background-color-hover: #1B1B26;
  --text-color: #CECDDF;
  --text-link-color: #857EFF;
  --text-link-color-hover: #9D98FF;
}

a,
.mw-parser-output a.extiw,
.mw-parser-output a.external {
	color: var(--text-link-color);
}

a:hover,
.mw-parser-output a.extiw:hover,
.mw-parser-output a.external:hover {
	color: var(--text-link-color-hover);
	text-decoration: none;
}

body,
select,
input,
.toggle-list-item__label,
.search-box .search,
.suggestions a.mw-searchSuggest-link,
.suggestions-result,
.suggestions-special .special-query {
  color: var(--text-color);
}

body,
.pre-content h1,
.content h1,
.content h2 {
	font-family: 'Lexend', sans-serif;
}

.minerva-header .branding-box a {
  color: var(--text-color);
}

body,
.header-container,
.minerva-footer,
.toggle-list__list,
#mw-mf-page-center {
  background-color: var(--nav-background-color) !important;
}

small {
	font-size: 80%;
}

h3 {
	font-size: 1.3em;
}

h4 {
	font-size: 1.15em;
}

ul > li {
	padding-bottom: 0;
}

.mw-mmv-image img{
	background: url(/images/a/a5/Image_checker_background.png) repeat !important;
}

.table-overflow-container {
	overflow-y: auto;
}

.wikitable {
	background-color: var(--content-background-color-dark);
}

.wikitable tr {
	transition: background-color 0.3s ease;
}

.wikitable > tr > th,
.wikitable > * > tr > th {
  background-color: var(--content-background-color-hover);
}

.wikitable > tr > th,
.wikitable > tr > td,
.wikitable > * > tr > th,
.wikitable > * > tr > td {
	border: 1px solid var(--content-background-color);
	border-color: var(--content-background-color-hover);
	padding: 8px;
}


.wikitable.no-inline-border,
.wikitable.no-inline-border tr,
.wikitable.no-inline-border td {
	border-inline: none !important;
}

.wikitable.row-bottom-border tr {
	border-bottom: 2px solid var(--content-background-color-hover);
}

.wikitable.alternate-rows tr:nth-child(even) {
	background-color: var(--background-color);
}

.wikitable.alternate-rows tr:nth-child(odd) {
	background-color: var(--content-background-color);
}

.wikitable.alternate-rows tr:hover {
	background-color: var(--content-background-color-hover);
}

.mw-mmv-image-metadata {
	border: none;
	background-color: var(--nav-background-color);
}

.mw-mmv-above-fold {
	background-color: var(--background-color);
}

.mw-mmv-title,
.mw-mmv-filename-li,
.mw-mmv-datetime-li {
	color: var(--text-color);
}

.suggestions-results,
.mw-searchSuggest-link,
.suggestions-special,
.search-box .search,
.mw-mmv-above-fold {
  background-color: var(--content-background-color);
  border: none;
}

.toggle-list__list {
	box-shadow: 0 16px 18px -20px black;
}

.toggle-list-item:hover {
	background-color: var(--content-background-color-hover);
}

.minerva-footer {
  border: none;
}

.talk,
.menu__item--mytalk,
.last-modified-bar,
.minerva-footer-logo,
.minerva__tab-container,
.mw-ui-icon-wikiText::before {
	display: none;
}

.mw-parser-output .mw-highlight {
  background: #1C1C2E;
}

.wikiEditor-ui textarea {
	background-color: var(--content-background-color);
	color: var(--text-color);
}

.wikiEditor-ui .wikiEditor-ui-view,
.wikiEditor-ui .wikiEditor-ui-top {
	border: none;
}

.wikiEditor-section-advanced label {
	color: var(--text-color);
}

.wikiEditor-ui-toolbar .group .tool-select .options,
.editOptions {
	background-color: var(--nav-background-color);
	border: none;
}

.editOptions .oo-ui-labelElement-label {
	color: var(--text-color);
}

.editOptions .oo-ui-textInputWidget .oo-ui-inputWidget-input {
	background-color: var(--content-background-color);
	color: var(--text-color);
	border: none;
}

.editOptions .oo-ui-checkboxInputWidget [type="checkbox"] + span {
  background-color: var(--content-background-color);
}

.editOptions .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
	border: none;
}

.wikiEditor-ui-toolbar .group .tool-select .options .option {
	color: var(--text-color);
}

.wikiEditor-ui-toolbar .group .tool-select .menu .options .option:hover {
  background-color: var(--background-color);
}

.wikiEditor-ui-toolbar .tabs span.tab a::before,
.wikiEditor-ui-toolbar .group .tool-select.options-shown .label::after {
  filter: brightness(4);
}

.wikiEditor-ui-toolbar .page-table td {
  color: var(--text-color);
  border-top: 1px solid var(--border-color);
}

.wikiEditor-ui-toolbar {
	background-color: var(--nav-background-color);
}

.wikiEditor-ui-toolbar .sections .section {
	border-top: 1px solid var(--border-color);
}

.wikiEditor-ui-toolbar .page-characters div span {
	border: none;
	border-radius: 2px;
	background-color: var(--background-color);
	color: var(--text-color);
}

.wikiEditor-ui-toolbar .page-characters div span:hover {
	background-color: var(--content-background-color);
}

.wikiEditor-ui-toolbar .booklet > .index > .current {
  background-color: var(--content-background-color);
  color: var(--text-link-color);
}

.wikiEditor-ui-toolbar .booklet > .index > :hover,
.wikiEditor-ui-toolbar .oo-ui-popupToolGroup.oo-ui-widget-enabled > .oo-ui-popupToolGroup-handle:hover {
  background-color: var(--background-color);
}

.wikiEditor-ui-toolbar .group, .wikiEditor-ui-toolbar .section-secondary .group {
  border-color: var(--border-color);
}

.wikiEditor-ui-toolbar .oo-ui-iconElement-icon,
.wikiEditor-ui-toolbar .oo-ui-indicatorElement-indicator{
  filter: invert(1);
}

.wikiEditor-ui-toolbar .tabs span.tab a.current,
.wikiEditor-ui-toolbar .tabs span.tab a.current:visited {
  color: var(--text-color);
}

.wikiEditor-ui-toolbar .tabs span.tab a {
  color: var(--text-link-color);
}

.wikiEditor-ui-toolbar .oo-ui-popupToolGroup.oo-ui-popupToolGroup-active > .oo-ui-popupToolGroup-handle {
  background-color: var(--content-background-color);
  color: var(--text-color);
}

.wikiEditor-ui-toolbar .oo-ui-popupToolGroup-tools {
  background-color: var(--content-background-color);
  box-shadow: 0 16px 18px -20px black;
  border: none;
}

.wikiEditor-ui-toolbar .oo-ui-listToolGroup-tools .oo-ui-tool.oo-ui-widget-enabled:hover,
.oo-ui-listToolGroup-tools .oo-ui-tool-active.oo-ui-widget-enabled,
.oo-ui-tool.oo-ui-widget-enabled > .oo-ui-tool-link:active,
.oo-ui-tool.oo-ui-widget-enabled.oo-ui-tool-active > .oo-ui-tool-link,
.oo-ui-tool.oo-ui-widget-enabled.oo-ui-popupToolGroup-active > .oo-ui-tool-link {
  background-color: var(--content-background-color-hover);
  color: var(--text-color);
}

.wikiEditor-ui-toolbar .oo-ui-listToolGroup-tools .oo-ui-tool-active.oo-ui-widget-enabled .oo-ui-tool-link .oo-ui-tool-title {
	color: var(--text-link-color);
}

.oo-ui-tool.oo-ui-widget-enabled > .oo-ui-tool-link:hover {
  background-color: var(--content-background-color-hover);
}

#wikiEditor-section-main .group-insert span[rel="file"] {
	display: none;
}

#mw-mf-page-left ul li {
	border: none;
}

#mw-mf-page-left ul li a {
	color: var(--text-color);
	background-color: var(--nav-background-color-hover);
	transition: background-color 0.4s ease;
}

#mw-mf-page-left ul li a:hover,
#mw-mf-page-left .hlist a:hover {
	box-shadow: none;
	background-color: var(--content-background-color-hover);
}

#mw-mf-page-left .hlist span {
	color: var(--text-link-color);
}

.page-actions-menu {
	border: none;
	border-radius: 4px;
	padding-inline: 10px;
	background-color: var(--content-background-color);
}

.page-actions-menu li a,
.page-actions-menu li label {
	color: var(--text-color) !important;
}

li.gallerybox div.thumb {
	background-color: #34324f;
	border: none;
	border-radius: 4px;
	padding: 2px;
}

.content .mw-parser-output > h2,
.content .section-heading {
	border-bottom: 1px solid var(--border-color);
}

.content code {
	background-color: var(--content-background-color);
	margin-inline: 2px;
	border: 1px solid var(--content-background-border-color-light);
	border-radius: 3px;
}

.display-block {
	display: block;
}

.link-tile a {
	font-size: 24px;
	background-color: var(--content-background-color);
	height: 80px;
	margin: 10px;
	box-sizing: content-box;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 4px;
	transition: all 0.2s ease;
}

.link-tile a:hover {
	background-color: var(--content-background-color-hover);
}

.content .infobox {
	min-width: 300px;
	display: flex;
	align-items: center;
	background-color: var(--content-background-color);
	border-radius: 4px;
	border: none;
}

.infobox-title {
	text-align: center;
}

.infobox-image,
.infobox-items {
	margin-top: 20px;
}

.infobox-table {
	margin: 20px 0 0 0 !important;
}

.infobox-table tbody {
	display: flex;
	flex-direction: column;
}

.infobox-table tr {
	display: flex;
	flex-direction: row;
}

.infobox-title,
.infobox-table {
	width: 100%;
}

.infobox-table tr:nth-child(odd) th,
.infobox-table tr:nth-child(odd) td {
	background-color: var(--content-background-color-hover);
}

.infobox-table tr:last-child th {
	border-radius: 0 0 0 4px;
}

.infobox-table tr:last-child td {
	border-radius: 0 0 4px 0;
}

.infobox-title {
	border-radius: 4px 4px 0 0;
	font-size: 1.2em;
	padding-block: 5px;
	background-color: var(--content-background-color-hover);
}

.infobox-table th, .infobox-table td {
	border: none !important;
	width: 50%;
}

.infobox-table td {
	text-align: left;
}

.mw-ui-icon::before {
	filter: brightness(2);
}

.infobox-image {
	overflow-x: hidden;
}

.infobox-image-row {
	display: flex;
	flex-direction: row;
}

.infobox-image-row .image {
	display: flex;
	justify-content: center;
	flex: 0 0 auto;
	width: 100%;
}

.infobox-image-row .image img {
	width: 70%;
}

.infobox-item .infobox-image-row .image img {
	width: 128px;
	image-rendering: pixelated;
}

#ca-ve-edit,
.ve-edit-visual {
	display: none;
}

.infobox-item-row {
	display: flex;
	flex-direction: row;
}

.infobox .item-slot {
	background: var(--background-color);
	border-radius: 2px;
	margin: 2px;
}

.item-slot {
	position: relative;
	width: 32px;
	height: 32px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.item-slot img {
	width: 32px !important;
	height: 32px !important;
	image-rendering: pixelated;
}

.item-tooltip {
	display: none;
	font-family: Minecraft;
	font-size: 18px;
	letter-spacing: -0.3px;
	text-shadow: 2px 2px #3E3E3E;
	color: #FCFCFC;
	background-color: rgba(16, 1, 16, 0.95);
	padding-inline: 4px;
	border: 2px solid rgba(35, 0, 90, 0.95);
	outline: 2px solid rgba(16, 1, 16, 0.95);
	border-radius: 2px;
	line-height: 24px;
	position: absolute;
	width: max-content;
	bottom: -26px;
	z-index: 1;
	pointer-events: none;
}

.item-slot:hover .item-tooltip {
	display: block;
}

.hover-display {
	cursor: help;
}

.interface {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #C6C6C6;
	border: 2px solid;
	border-color: #FFF #555 #555 #FFF;
	outline: 2px solid #000;
	padding: 8px;
	margin-block: 20px;
	position: relative;
	background-repeat: no-repeat;
	box-sizing: border-box;
}

.chat-interface {
	font-family: Minecraft;
	font-size: 18px;
	letter-spacing: -0.3px;
	line-height: 1;
	color: #A8A8A8;
	background-color: rgba(0,0,0,0.5);
	padding: 2px 4px 4px 4px;
	border-left: 4px solid #77B3E9;
	text-shadow: 2px 2px #2A2A2A;
	display: flex;
	align-items: center;
	box-sizing: border-box;
}

.crafting-interface {
	height: 128px;
	width: 240px;
	background-image: url(/images/f/fe/Interface_result_arrow.png);
	background-position: 124px 46px;
}

.crafting-interface .shapeless-mark {
	color: #8b8b8b;
	font-size: 28px;
	bottom: 0px;
	left: 120px;
	position: absolute;
	cursor: help;
}

.crafting-interface .crafting-row {
  display: flex;
  flex-direction: row;
}

.interface .item-slot,
.interface .item-slot-large {
	box-sizing: border-box;
	width: 36px;
	height: 36px;
	border: 2px solid;
	border-color: #373737 #FFF #FFF #373737;
	background-color: #8B8B8B;
}

.interface .item-slot-large {
	width: 52px;
	height: 52px;
}

.interface .item-slot-count {
	font-family: "Minecraft";
	font-size: 18px;
	letter-spacing: -0.3px;
	color: #FFF;
	text-shadow: 2px 2px #3F3F3F;
	position: absolute;
	right: 6px;
	bottom: -2px;
	z-index: 2;
	pointer-events: none;
}

.interface .item-slot:hover::after,
.interface .item-slot-large:hover::after {
	content: "";
	width: 32px;
	height: 32px;
	background-color: rgba(255,255,255,.5);
	position: absolute;
	pointer-events: none;
}

.smelting-interface {
	height: 128px;
	width: 172px;
	background-image: url(/images/a/a5/Interface_progress_arrow.gif);
	background-position: 54px 46px;
}

.smelting-interface .smelting-interface-input {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 108px;
	background-image: url(/images/2/26/Interface_flames.png);
	background-position: 4px 40px;
	background-repeat: no-repeat;
}

.input-interface {
	height: 128px;
	width: 172px;
	background-image: url(/images/f/fe/Interface_result_arrow.png);
	background-position: 54px 46px;
}

.brewing-interface {
	height: 140px;
	width: 208px;
}

.brewing-interface .brewing-interface-input {
	width: 116px;
	height: 120px;
	position: relative;
}

.brewing-interface-input::after {
	content: "";
	display: block;
	width: 134px;
	height: 88px;
	background-image: url(/images/0/01/Interface_brewing.gif);
	background-repeat: no-repeat;
	image-rendering: pixelated;
	position: absolute;
	left: -2px;
	top: -2px;
	pointer-events: none;
}

.brewing-interface .brewing-interface-input .input-column,
.brewing-interface .brewing-interface-input .input-row {
	display: flex;
	justify-content: space-between;
	position: absolute;
}

.brewing-interface .brewing-interface-input .input-column {
	flex-direction: column;
	height: 100%;
	left: 40px;
}

.brewing-interface .brewing-interface-input .input-row {
	flex-direction: row;
	width: 100%;
	bottom: 16px;
}

.toc {
	background-color: var(--content-background-color);
	border: none;
	border-radius: 4px;
}

.overlay-enabled, .mw-body {
  background-color: var(--background-color);
}


/* Turn a list into a tree view style */
.treeview {
	margin-top: 0.3em;
}

.treeview ul,
.treeview li {
	margin: 0;
	padding: 0;
	list-style-type: none;
	list-style-image: none;
}

.treeview li li {
	position: relative;
	padding-left: 13px;
	margin-left: 7px;
	border-left: 1px solid #636363;
}
.treeview li li:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 11px;
	height: 11px;
	border-bottom: 1px solid #636363;
}

.treeview li li.first:before {
	border-color: #636363;
	border-style: solid;
	border-width: 1px 0 0 1px;
	height: 100%;
	margin-top: 11px;
	width: 10px;
}
.treeview li li.first,
.treeview li li:last-child {
	border: 0;
	padding-left: 14px;
}
.treeview li li:last-child:before {
	border-left: 1px solid #636363;
	width: 10px;
}

abbr[title] {
	cursor: help;
}

/*.dark-mode .overlay-enabled,*/
/*.dark-mode .mw-body {*/
/*  background-color: #34324F;*/
/*}*/