MediaWiki:Wikia.css

From Aethermancer 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.
@import url('https://fonts.googleapis.com/css2?family=Alegreya');
@import url('https://fonts.googleapis.com/css2?family=Figtree');

#mp-container {
	flex-direction: row;
	width: 100%;
	flex-wrap: wrap;
	margin-left: 0;
}

#mp-welcome { grid-area: mp-welcome; }a
#mp-about { grid-area: mp-about; }
#mp-trailer { grid-area: mp-trailer; }
#mp-features { grid-area: mp-features; }
#mp-monsters { grid-area: mp-monsters; }
#mp-attributes { grid-area: mp-attributes; }
#mp-items { grid-area: mp-items; }
#mp-misc { grid-area: mp-misc; }
#mp-characters { grid-area: mp-characters; }
#mp-areas { grid-area: mp-areas; }

@media screen and (max-width: 65535px) {
	#mp-container {
		display: grid;
		grid:
		"mp-welcome mp-welcome mp-welcome mp-welcome mp-welcome mp-welcome mp-welcome mp-welcome mp-welcome mp-welcome"
		"mp-about mp-about mp-about mp-about mp-about mp-about mp-trailer mp-trailer mp-trailer mp-trailer"
		"mp-monsters mp-monsters mp-monsters mp-monsters mp-monsters mp-attributes mp-attributes mp-attributes mp-attributes mp-attributes"
		"mp-features mp-features mp-features mp-features mp-items mp-items mp-misc mp-misc mp-misc mp-misc"
		"mp-characters mp-characters mp-characters mp-characters mp-characters mp-areas mp-areas mp-areas mp-areas mp-areas"
	    / 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
		gap: 5px;
	}
}
@media screen and (max-width: 900px) {
	#mp-container {
		display: grid;
		grid:
		"mp-welcome"
		"mp-about"
		"mp-trailer"
		"mp-monsters"
		"mp-attributes"
		"mp-features"
		"mp-items"
		"mp-misc"
		"mp-characters"
		"mp-areas"
	    / 1fr;
		gap: 5px;
	}
}

.mp-header {
	font-family: 'Alegreya';
	font-variant: small-caps;
	font-size: 130%;
	line-height: 130%;
	color: var(--theme-heading-color);
	margin-bottom: 10px;
}
.mp-linkbox {
	font-family: 'Alegreya';
	font-variant: small-caps;
	font-size: 110%;
	line-height: 110%;
	color: var(--theme-heading-color);
	font-weight: bold;
	background-color: transparent;
	border-image-source: url(/images/a/a9/Header-box.png);
	border-image-slice: 20 fill;
	border-image-width: 10px;
	border-width: unset;
	border-style: solid;
	text-shadow: none;
	margin-bottom: 10px;
	padding: 0.3em 1em;
}
.mp-linkbox a, .mp-linkbox a:hover,
.mp-linkbox a:active, .mp-linkbox a:visited {
	color: var(--theme-heading-color);
}

.mp-desc {
	padding-bottom: 10px;
}
.mp-links {
	width: 75%;
	display: flex;
}
.mp-links div, .mp-elements div, .mp-types div {
	flex: 1;
}

.mp-elements, .mp-types {
	width: 75%;
	display: flex;
}
.mp-elements div {
	flex: 1;
}
.mp-types div {
	text-align: left;
	flex: 1;
}

/*************************************************************
                         PAGE CONTENT                         
*************************************************************/
/* remove external link icon. */
.mw-parser-output a.external,
.link-https {
  padding-right: 0;
  background: none;
}

.mw-parser-output > :first-child {
  margin-top: 0;
}

/**** HEADINGS ****/
.mw-body h1, .mw-body h1 a, .mw-body h1 a:hover, .mw-body h1 a:active, .mw-body h1 a:visited,
.mw-body-content h1, .mw-body-content h1 a, .mw-body-content h1 a:hover, .mw-body-content h1 a:active, .mw-body-content h1 a:visited,
.mw-body-content h2, .mw-body-content h2 a, .mw-body-content h2 a:hover, .mw-body-content h2 a:active, .mw-body-content h2 a:visited,
.vector-body h3, .vector-body h3 a, .vector-body h3 a:hover, .vector-body h3 a:active, .vector-body h3 a:visited,
.vector-body h4, .vector-body h4 a, .vector-body h4 a:hover, .vector-body h4 a:active, .vector-body h4 a:visited,
.vector-body h5, .vector-body h5 a, .vector-body h5 a:hover, .vector-body h5 a:active, .vector-body h5 a:visited,
.vector-body h6, .vector-body h6 a, .vector-body h6 a:hover, .vector-body h6 a:active, .vector-body h6 a:visited {
	margin: 0;
	color: var(--theme-heading-color);
	font-family: 'Alegreya';
	font-variant: small-caps;
	font-weight: normal;
	line-height: 1.25;
}
.mw-body h1, .mw-body-content h1 {
	font-size: 32px;
	line-height: 40px;
}
.mw-body-content h2 {
	font-size: 24px;
	line-height: 30px;
	margin-top: 18px;
	margin-bottom: 9px;
	border-bottom: 1px solid var(--theme-heading-rule-color-h2);
	padding-bottom: 3px;
}
.vector-body h3 {
	font-size: 20px;
	line-height: 26px;
	margin-top: 14px;
	margin-bottom: 7px;
}
.vector-body h4 {
	font-size: 16px;
	line-height: 22px;
	margin-top: 14px;
	margin-bottom: 7px;
}
.vector-body h5 {
	line-height: 22px;
	font-size: 14px;
	font-weight: bold;
	margin-top: 10px;
	margin-bottom: 7px;
}
.vector-body h6 {
	line-height: 20px;
	font-size: 12px;
	font-weight: bold;
	margin-top: 7px;
	margin-bottom: 7px;
}
@media (max-width: 900px) {
	.mw-body h1, .mw-body-content h1 {
		font-size: 24px;
		line-height: 32px;
	}
	.mw-body-content h2 {
		font-size: 20px;
		line-height: 28px;
	}
	.vector-body h3 {
		font-size: 18px;
		line-height: 24px;
	}
}
.mw-editsection {
	white-space: nowrap;
	color: var(--theme-text-color-note);
}

/**** TABLE OF CONTENT ****/
.toc {
	background: none;
	border-radius: 0;
	border: 1px solid var(--theme-border-color);
	margin-top: 18px;
	margin-bottom: 18px;
	padding: 0;
	font-size: 1em;
	min-width: 12em;
}
.toc .a {
	color: var(--theme-text-color);
}
.toc .tocnumber {
	color: var(--theme-text-color-note);
}
.toc .tocnumber:after {
	content: ".";
}
.toc {
  /* arrow */
  /* do not change ToC box width when toggle show/hide. */
}
.toc .toctitle {
	position: relative;
	overflow: hidden;
	text-align: left;
	padding: 8px;
}
.toc .toctitle h2 {
	line-height: 20px;
	font-weight: normal;
	margin: 0;
	border: 0;
	display: flex;
	align-items: center;
	padding: 0 0.5em;
}
.toc .toctitle h2::before {
	content: "";
	display: block;
	width: 12px;
	height: 12px;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	-webkit-mask-position: center center;
	mask-position: center center;
	background-color: var(--theme-text-color);
	margin: 0 6px 0 0;
}
.toc .toctogglelabel {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	box-sizing: border-box;
	padding-right: 1em;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}
.toc .toctogglespan::before,
.toc .toctogglespan::after,
.toc .toctogglelabel::after {
	display: none;
}
.toc .toctogglelabel::before {
	content: "";
	display: inline-block;
	background: none;
	position: relative;
	width: 0;
	height: 0;
	border-style: solid;
	border-color: var(--theme-icon-color) transparent;
	border-width: 0 5px 6px 5px;
	vertical-align: middle;
	flex: 0 0 auto;
}
.toc .toctogglelabel:hover::before {
	border-color: var(--theme-icon-color-hover) transparent;
}
.toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before {
	border-width: 6px 5px 0 5px;
}
.toc .toctogglecheckbox:checked ~ ul {
	overflow: hidden;
	display: block;
	height: 0;
	border: 0;
	padding-top: 0;
	padding-bottom: 0;
}
.mw-content-ltr .toc ul ul,
.mw-content-rtl .toc ul ul {
	margin: 0 0 0 1em;
}
.toc > ul {
	padding: 0.5em;
	border-top: 1px solid var(--theme-border-color);
	margin: 0;
}
.toc > ul a {
	display: block;
	padding: 2px 0.5em;
	border-radius: 4px;
	transition: background 0.1s;
}
.toc > ul a:hover {
	text-decoration: none;
	background: var(--theme-highlight-background);
}
.toc > ul li {
	margin: 0;
}

/**** Tables ****/
table {
	box-sizing: border-box;
}
table.lined,
table.bordered,
table.cellborder {
	border-collapse: collapse;
	border-style: solid;
	border-color: var(--theme-border-color);
}
table.lined th,
table.lined td {
	border-width: 0 0 1px 0;
}
table tfoot:empty,
table thead:empty {
	display: none;
}
table.lined td.noline, table.lined tr.noline td {
	border-bottom-width: 0;
}
table tr.bottomline td {
	border-bottom-width: 1px;
}
table tr.topline td {
	border-top-width: 1px;
}
table td.bottomline, table.lined tr.noline td.bottomline {
	border-bottom-width: 1px;
}
table td.topline {
	border-top-width: 1px;
}
table.outer {
	white-space: nowrap;
}
table.inner {
	border-collapse: collapse;
	background: inherit;
	width: 100%;
}
table.inner th {
	border: 2px solid var(--theme-border-color);
}
.wikitable,
.wikitable > tr > th,
.wikitable > * > tr > th {
	color: inherit;
	background: none;
}
.wikitable {
	border-color: var(--theme-border-color);
}
table.cargoTable.noMerge tr:nth-child(2n) {
	background: rgba(127, 127, 127, 0.25);
}
table.cargoTable.noMerge tr:nth-child(2n+1) {
	background: none;
}

/*********************************************************************
                         OTHER CONTENT STYLES                         
*********************************************************************/
/**** ALEGREYA FONT ****/
.alegreya,
.alegreya a, .alegreya a:hover,
.alegreya a:active, .alegreya a:visited {
	font-family: 'Alegreya';
	font-variant: small-caps;
	font-size: 110%;
	color: var(--theme-heading-color);
}

/**** FIGTREE FONT ****/
.figtree,
.figtree a, .figtree a:hover,
.figtree a:active, .figtree a:visited {
	font-family: 'Figtree';
	font-size: 100%;
	/* color: #cba79f; */
}

/**** HORIZONTAL ALIGNMENT ****/
.left {
	text-align: left;
}
.right {
	text-align: right;
}
.center {
	text-align: center;
}

/**** CLEAR FIX ****/
.clearfix {
	*zoom: 1;
}
.clearfix::before, .clearfix::after {
	content: " ";
	display: table;
}
.clearfix::after {
	clear: both;
}

/**** FLIP IMAGE ****/
.flip {
	-webkit-transform: scaleX(-1);
	-moz-transform: scaleX(-1);
	-o-transform: scaleX(-1);
	transform: scaleX(-1);
	-ms-filter: FlipH;
	filter: FlipH;
}

/**** TABLE ****/
.div-theme-table {
	overflow: auto;
	max-width: 95%;
}
.theme-table {
	table-layout: fixed;
	border: none;
	border-collapse: collapse;
	text-align: center;
}
.theme-table-header {
	background-color: #0e0a18;
	font-family: 'Alegreya';
	font-variant: small-caps;
	font-size: 110%;
	color: var(--theme-heading-color);
}
.rowspan, .top-rowspan {
	padding-top: 10px;
	border-top: 3px solid #56334c;
}
.rowspan, .bot-rowspan {
	padding-bottom: 10px;
}
table.jquery-tablesorter th.headerSort,
table.jquery-tablesorter th.headerSortUp,
table.jquery-tablesorter th.headerSortDown {
}

/**** NOTE TEXT ****/
.i .note,
.note-text {
	color: var(--theme-text-color-note);
}

/**** REFERENCES ****/
.references {
	font-size: 90%;
}

/*************************************************************************************/
/*************************************************************************************/
/*************************************************************************************/
/*************************************************************************************/
/*************************************************************************************/

body, code {
  background: none;
}
pre, code, .mw-code {
	border: 1px solid var(--theme-border-color);
}
pre {
	color: #000000;
	margin: 0;
}
code {
	color: #fddb04;
}
.mw-code, .mw-highlight pre, .mw-highlight code, .mw-highlight .mw-code {
	color: #000000;
}

/*************************************************************
                         BORDER BOXES                         
*************************************************************/
.theme-box {
	padding: 10px;
	background-color: #281b42;
	border-image-source: url(/images/6/6f/Theme-box.png);
	border-image-slice: 50 fill;
	border-image-width: 30px;
	border-width: unset;
	border-style: solid;
	color: #fff;
}

.navbar-page-box {
	width: 100%;
	max-width: 100%;
	padding: 5px 30px;
	margin-bottom: 5px;
	margin-top: 5px;
	background-color: transparent;
	border-image-source: url(/images/8/8a/NavbarPage-box.png);
	border-image-slice: 30 40 fill;
	border-image-width: 120px;
	border-width: unset;
	border-style: solid;
	box-sizing: border-box;
	color: #fff;
}

/*****************************************************************
                         PORTABLE INFOBOX                         
*****************************************************************/
.portable-infobox {
	width: 350px;
	padding: 5px !important;
	background-color: #281b42;
	border-image-source: url(/images/6/6f/Theme-box.png);
	border-image-slice: 50 fill;
	border-image-width: 30px;
	border-width: unset;
	border-style: solid;
	line-height: 1.6em;
}
.portable-infobox .pi-title[class] {
	width: 80%;
	padding-right: 15px;
	padding-left: 15px;
	margin: 10px auto 0;
	background-color: transparent;
	border-image-source: url(/images/4/42/Title-box.png);
	border-image-slice: 20 fill;
	border-image-width: 10px;
	border-width: unset;
	border-style: solid;
	text-align: center;
	font-size: 24px;
}
.portable-infobox .pi-title, .portable-infobox .pi-secondary-font,
.portable-infobox .pi-title a, .portable-infobox .pi-secondary-font a,
.portable-infobox .pi-title a:hover, .portable-infobox .pi-secondary-font a:hover,
.portable-infobox .pi-title a:active, .portable-infobox .pi-secondary-font a:active,
.portable-infobox .pi-title a:visited, .portable-infobox .pi-secondary-font a:visited {
	font-family: 'Alegreya';
	font-variant: small-caps;
	color: var(--theme-heading-color);
}
.portable-infobox .pi-image {
	padding: 5px 0px;
}
.portable-infobox .pi-image[data-source="sprite"] {
	display: table-cell;
	width: 1000px;
	height: 200px;
	text-align: center;
	vertical-align: bottom;
}
.portable-infobox .pi-header {
	width: 75%;
	padding-right: 15px;
	padding-left: 15px;
	margin: 2px auto 5px;
	background-color: transparent;
	border-image-source: url(/images/a/a9/Header-box.png);
	border-image-slice: 20 fill;
	border-image-width: 10px;
	border-width: unset;
	border-style: solid;
	text-align: center;
}
.portable-infobox .pi-data-label, .portable-infobox .pi-horizontal-group .pi-data-label {
	font-size: 130%;
}
.portable-infobox .pi-horizontal-group .pi-data-label {
	padding-bottom: 5px;
}
.portable-infobox .pi-data-value {
	-webkit-hyphens: manual;
	-moz-hyphens: manual;
	-epub-hyphens: manual;
	-o-hyphens: auto;
	hyphens: manual;
}
.portable-infobox .pi-border-color {
	border-style: none !important;
	position: relative;
}
.portable-infobox.pi-type-game .pi-border-color:before {
	content: "";
	position: absolute;
	top: 0; right:0; bottom:0; left: 0;
	z-index: -1;
	background: linear-gradient(to right, rgba(0, 0, 0, 0), #fff, rgba(0, 0, 0, 0));
	height: 2px;
}
.portable-infobox .pi-secondary-font {
	font-size: 14px;
}
.portable-infobox.pi-type-monster .pi-secondary-font {
	font-size: 18px !important;
}
@media screen and (max-width: 768px) {
	.portable-infobox {
		width: 100%;
		margin: auto;
	}
}

/*******************************************************
                         TOGGLE                         
*******************************************************/
.toggle {
	font-weight: bold;
	background-color: transparent;
	border-image-source: url(/images/a/a9/Header-box.png);
	border-image-slice: 20 fill;
	border-image-width: 10px;
	border-width: unset;
	border-style: solid;
	text-shadow: none;
	margin-bottom: 10px;
	padding: 0.5em 1em;
}

/*******************************************************
                         SLIDER                         
*******************************************************/
.slider {
	margin: 1em auto;
	width: 100%;
	max-width: 300px;
	aspect-ratio: 16/9;
	position: relative;
	overflow: hidden;
	text-align: left;
}
.slider > .prev, .slider > .next {
	display: block;
	width: 30px;
	height: 30px;
	background: rgba(255, 255, 255, 0.6);
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	cursor: pointer;
	border-radius: 100%;
}
.slider > .prev:before, .slider > .next:before {
	content: "";
	display: block;
	width: 14px;
	height: 14px;
	margin: 8px;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath id='aarow-tiny' d='M5 11a.997.997 0 0 1-.707-.293l-4-4A.983.983 0 0 1 0 6.003v-.006a.988.988 0 0 1 .293-.704l4-4a.999.999 0 1 1 1.414 1.414L3.414 5H11a1 1 0 1 1 0 2H3.414l2.293 2.293A.999.999 0 0 1 5 11'%3E%3C/path%3E%3C/svg%3E") no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath id='aarow-tiny' d='M5 11a.997.997 0 0 1-.707-.293l-4-4A.983.983 0 0 1 0 6.003v-.006a.988.988 0 0 1 .293-.704l4-4a.999.999 0 1 1 1.414 1.414L3.414 5H11a1 1 0 1 1 0 2H3.414l2.293 2.293A.999.999 0 0 1 5 11'%3E%3C/path%3E%3C/svg%3E") no-repeat;
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	-webkit-mask-position: center center;
	mask-position: center center;
	background-color: #333;
}
.slider > .prev {
	left: 6px;
}
.slider > .next {
	right: 6px;
}
.slider > .next:before {
	transform: scaleX(-1);
}
.slider ul {
	display: flex;
	align-items: center;
	height: 100%;
	margin: 0;
	transition: transform 0.3s;
}
.slider li {
	display: grid;
	position: relative;
	margin: 0;
	height: 100%;
}
.slider li > img {
	place-self: center center;
	opacity: 0;
}
.slider li > span {
	position: absolute;
	left: 0;
	bottom: 100%;
	background: rgba(0, 0, 0);
	color: white;
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 8px;
	font-size: 12px;
}
.slider li > span b {
	display: block;
	font-size: 14px;
}
.slider li > span a {
	display: block;
	color: #fff;
	font-weight: bold;
}
/*@media (min-width: 640px) {
  #mainpage-wrap .box.intro .slider li > span a {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
  }
}*/

/****************************************************************
                         TEMPLATE STYLES                         
****************************************************************/
/**** PAGE NOTICE ****/
.page-notice {
	width: 500px;
	max-width: 100%;
	padding: 0.5em;
	margin-bottom: 2px;
	margin-right: auto;
	margin-left: auto;
	border: 2px solid #e8173d;
	display: inline-block;
    overflow: hidden;
}

/**** DISPLAY MONSTER ****/
.display-monster {
	width: 250px;
	max-width: 49%;
	margin-left: auto;
	margin-right: auto;
	display: inline-table;
	overflow: hidden;
	text-align: center;
}
@media screen and (max-width: 495px) {
	.display-monster {
		max-width: 100%;
	}
}

/**** DISPLAY SKILL ****/
.display-skill {
	width: 450px;
	display: inline-box;
	overflow: hidden;
	text-align: left;
}
@media screen and (max-width: 495px) {
	.display-skill {
		max-width: 100%;
	}
}
img.skill-icon {
    width: auto;
    height: 75%;
}
img.skill-monster-icon {
    width: auto;
    height: 90%;
}