Smaller font size

This commit is contained in:
TJ 2021-02-14 21:59:51 -06:00
parent 95fc015a87
commit 55f084592c
4 changed files with 5 additions and 17 deletions

View file

@ -917,13 +917,14 @@
.resource-items {
display: grid;
grid-template-columns: repeat(5, 1fr);
column-gap: 24px;
.resource {
h1 {
border: none;
margin: 0;
font-family: "Russo One";
font-size: 16px;
font-size: 14px;
font-weight: 400;
text-align: center;
margin-bottom: 4px;

View file

@ -231,7 +231,6 @@ export default class ActorSheet5e extends ActorSheet {
const sections = {
"atwill": -20,
"innate": -10,
"pact": 0.5
};
// Label power slot uses headers
@ -275,19 +274,6 @@ export default class ActorSheet5e extends ActorSheet {
}
}
// Pact magic users have cantrips and a pact magic section
if ( levels.pact && levels.pact.max ) {
if ( !powerbook["0"] ) registerSection("power0", 0, CONFIG.SW5E.powerLevels[0]);
const l = levels.pact;
const config = CONFIG.SW5E.powerPreparationModes.pact;
registerSection("pact", sections.pact, config, {
prepMode: "pact",
value: l.value,
max: l.max,
override: l.override
});
}
// Iterate over every power item, adding powers to the powerbook by section
powers.forEach(power => {
const mode = power.data.preparation.mode || "prepared";

View file

@ -1542,13 +1542,14 @@ input[type="reset"]:disabled {
.sw5e.sheet.actor .swalt-sheet .tab.tech-powerbook .resource-items {
display: grid;
grid-template-columns: repeat(5, 1fr);
column-gap: 24px;
}
.sw5e.sheet.actor .swalt-sheet .tab.force-powerbook .resource-items .resource h1,
.sw5e.sheet.actor .swalt-sheet .tab.tech-powerbook .resource-items .resource h1 {
border: none;
margin: 0;
font-family: "Russo One";
font-size: 16px;
font-size: 14px;
font-weight: 400;
text-align: center;
margin-bottom: 4px;

View file

@ -11,7 +11,7 @@
</div>
<div class="resource">
<h1>Universal Power DC</h1>
<h1>Tech Power DC</h1>
<div class="attribute-value">
<div></div>