mNo edit summary
mNo edit summary
Line 71: Line 71:
h4 {
h4 {
font-size: 1.15em;
font-size: 1.15em;
}
code {
background-color: var(--content-background-color);
margin-inline: 2px;
border: none;
border-radius: 3px;
}
}


Line 507: Line 514:
background-color: var(--content-background-color);
background-color: var(--content-background-color);
border: none;
border: none;
border-radius: 4px;
}
}



Revision as of 16:59, 9 March 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;
  --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;
}

code {
	background-color: var(--content-background-color);
	margin-inline: 2px;
	border: none;
	border-radius: 3px;
}

.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: #A8B2BA;
}

.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);
}

.content .mw-parser-output > h2,
.content .section-heading {
	border-bottom: 1px solid var(--border-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 .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%;
}

.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: 20px;
	background-color: #1b0c1b;
	padding-inline: 4px;
	border: 2px solid #2c0863;
	outline: 2px solid #1b0c1b;
	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;
}

.crafting-interface {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 240px;
	height: 128px;
	background-color: #C6C6C6;
	border: 2px solid;
	border-color: #FFF #555 #555 #FFF;
	outline: 2px solid #000;
	padding: 8px;
	margin-block: 20px;
	background-image: url(/images/e/e2/Crafting_arrow.png);
	background-repeat: no-repeat;
	box-sizing: border-box;
	background-position: 124px 46px;
}

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

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

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

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

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

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

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

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