Files
sf2e-silver-to-credits/styles/sf2e-silver-to-credits.css
T

35 lines
1.1 KiB
CSS
Raw Normal View History

/* Hide Platinum, Gold, and Copper currencies on PF2e character sheet */
.pf2e.sheet.actor.character [data-unit="pp"],
.pf2e.sheet.actor.character [data-unit="gp"],
.pf2e.sheet.actor.character [data-unit="cp"],
.sheet.actor.character [data-unit="pp"],
.sheet.actor.character [data-unit="gp"],
.sheet.actor.character [data-unit="cp"],
.currency-pp,
.currency-gp,
.currency-cp,
.currency li.pp,
.currency li.gp,
.currency li.cp,
.coinage [data-unit="pp"],
.coinage [data-unit="gp"],
.coinage [data-unit="cp"],
.fa-coins.pp,
.fa-coins.gp,
.fa-coins.cp {
display: none !important;
}
/* Override silver currency icon with EXTREME specificity */
[data-unit="sp"] .currency-image {
background-image: url("../icons/equipment/treasure/currency/credits.webp") !important;
background-size: cover !important;
background-repeat: no-repeat !important;
background-position: center !important;
}
/* Extra fallback for any silver piece reference */
[style*="silver-pieces.webp"] {
background-image: url("../icons/equipment/treasure/currency/credits.webp") !important;
}