MediaWiki:Common.css

@font-face { font-family: NecroText; src: url("/wiki/Special:FilePath/CompassGold.woff2") format("woff2"); }

.pi-image img { min-width: 50%; }

.page-content { image-rendering: pixelated; }

.force-upscale .wikia-gallery-item > .thumb, .force-upscale .wikia-gallery-item > .thumb > .gallery-image-wrapper, .force-upscale .wikia-gallery-item > .thumb > .gallery-image-wrapper > .image { width: inherit !important; height: inherit !important; }

.spellbook { width: 680px; height: 573px; display: flex; background-image: url(https://static.wikia.nocookie.net/necromerger/images/3/39/Spell_Book.png/revision/latest?cb=20230924160350); background-size: 680px 573px; }

.spellbook-left { flex: 1; margin: auto; text-align: center; }

.spellbook-right { display: flex; }

.QuantityInset-container { display: flex; margin: 0.5em 0; }

.QuantityInset-border-Default, .QuantityInset-border-Shop { border-image-width: 10px; border-image-slice: 6 fill; border-image-repeat: stretch; }

.QuantityInset-border-Default { border-image-source: url("https://static.wikia.nocookie.net/necromerger/images/e/ea/Quantity_Inset_Default.png/revision/latest?cb=20230924125243"); }

.QuantityInset-border-shop { border-image-source: url(".../quantity_inset_shop_9_patch_5x5.png"); }

.QuantityInset { height: 120px; width: fit-content; min-width: 37px; min-height: 37px; image-rendering: pixelated; padding: 5px 6px 6px 6px; font-family: 'NecroText'; font-size: 23px; line-height: 1em; text-align: center; text-shadow: 0.075em 0.075em black; position: relative; }

.QuantityInset-inner { display: flex; padding: 6px; height: 100%; align-items: center; }

.QuantityInset-hero { width: 104px; height: 100%; position: relative; }

.QuantityInset-hero-text { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: max-content; background-color: #00000070; box-shadow: 0 0 10px 6px #00000070; font-size: 30px; }

.QuantityInset-holder { width: 57px; height: 100%; border-image-width: 10px; border-image-slice: 4 fill; border-image-repeat: stretch; text-align: center; padding: 2px; display: flex; flex-direction: column; align-items: center; overflow: hidden; }

.QuantityInset-Holder + .QuantityInset-Holder { margin-left: 6px; }

.QuantityInset-Holder-Positive { border-image-source: url("https://static.wikia.nocookie.net/necromerger/images/b/b2/HolderPositive.png/revision/latest?cb=20230924130330"); }

.QuantityInset-Holder-Negative { border-image-source: url("https://static.wikia.nocookie.net/necromerger/images/7/7c/HolderNegative.png/revision/latest?cb=20230924130548"); }

.QuantityInset-Holder-Droptable { border-image-source: url("https://static.wikia.nocookie.net/necromerger/images/5/55/HolderDropTable.png/revision/latest?cb=20230924130649"); }

.QuantityInset-Holder-top { height: 25%; overflow: hidden; } .QuantityInset-Holder-bottom { height: 25%; font-size: 28px; transform: translateY(-2px); }

.QuantityInset-Holder-middle { height: 50%; }

/* Make the holder-middle bigger when there's no top text */ .QuantityInset-Holder-top:empty { height: 0%; }

.QuantityInset-Holder-top:empty + .QuantityInset-Holder-middle { height: 75%; }

/* Enlargen image in holder-middle */ .QuantityInset-hero > .image, .QuantityInset-Holder-middle > .image { width: 100%; height: 100%; display: block; }

.QuantityInset-hero img, .QuantityInset-Holder-middle img { width: 100%; height: 100%; object-fit: contain; }

.QuantityInset-Arrow { width: 100%; height: 28px; position: absolute; top: calc(100% - 10px); left: 0; background-image: url("https://static.wikia.nocookie.net/necromerger/images/4/41/Arrow.png/revision/latest?cb=20230925085448"); background-repeat: no-repeat; background-position: center; background-size: contain; z-index: 2; }

.theme-fandomdesktop-light .page__main { border-image-source: url(https://static.wikia.nocookie.net/necromerger/images/2/22/BonePanel_Light.png/revision/latest?cb=20230925151917); border-image-slice: 20 fill; border-image-width: 40px; border-image-outset: 20px 20px 5px 20px; image-rendering: pixelated; background: none; }

.page { margin-top: 30px; }

.theme-fandomdesktop-dark, .page__main { border-image-source: url(https://static.wikia.nocookie.net/necromerger/images/7/72/BonePanel_Dark.png/revision/latest?cb=20230925151707); border-image-slice: 20 fill; border-image-width: 40px; border-image-outset: 20px 20px 5px 20px; image-rendering: pixelated; background: none; }

.page { margin-top: 30px; }