[PR]Add custom formula to weapon base attack (#964)

* Add custom formula to weapon base attack

* Remove log

* Update weapon custom damage formula label + update font-size in px
This commit is contained in:
Dapoulp 2025-08-23 14:54:57 +02:00 committed by GitHub
parent 471cbd55df
commit a72d4583cd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
43 changed files with 161 additions and 140 deletions

View file

@ -41,7 +41,7 @@
flex: 1;
input[type='text'] {
font-size: 32px;
font-size: var(--font-size-32);
height: 42px;
text-align: start;
border: 1px solid transparent;
@ -72,7 +72,7 @@
.level-button {
color: light-dark(@dark, @beige);
font-size: 18px;
font-size: var(--font-size-18);
line-height: 1;
min-height: unset;
height: min-content;
@ -97,7 +97,7 @@
justify-content: space-between;
padding: 5px 0;
margin-bottom: 10px;
font-size: 12px;
font-size: var(--font-size-12);
color: light-dark(@dark-blue, @golden);
.missing-header-feature {
@ -158,7 +158,7 @@
height: 30px;
h4 {
font-size: 14px;
font-size: var(--font-size-14);
font-weight: bold;
text-transform: uppercase;
color: light-dark(@dark-blue, @golden);
@ -170,7 +170,7 @@
gap: 5px;
.label {
font-size: 14px;
font-size: var(--font-size-14);
font-weight: bold;
text-transform: uppercase;
color: light-dark(@dark-blue, @golden);
@ -205,7 +205,7 @@
align-items: center;
padding-top: 5px;
color: light-dark(@dark-blue, @golden);
font-size: 14px;
font-size: var(--font-size-14);
font-weight: 600;
align-items: center;
justify-content: center;
@ -213,14 +213,14 @@
i {
line-height: 17px;
font-size: 10px;
font-size: var(--font-size-10);
}
}
.trait-value {
font-style: normal;
font-weight: 400;
font-size: 20px;
font-size: var(--font-size-20);
text-align: center;
}
}

View file

@ -41,7 +41,7 @@
height: 32px;
position: absolute;
right: 20px;
font-size: 16px;
font-size: var(--font-size-16);
z-index: 1;
color: light-dark(@dark-blue-50, @beige-50);
}

View file

@ -41,7 +41,7 @@
height: 32px;
position: absolute;
right: 20px;
font-size: 16px;
font-size: var(--font-size-16);
z-index: 1;
color: light-dark(@dark-blue-50, @beige-50);
}

View file

@ -89,7 +89,7 @@
transition: all 0.3s ease;
.spellcast-label {
font-size: 14px;
font-size: var(--font-size-14);
opacity: 0;
margin-right: 0.3rem;
transition: all 0.3s ease;
@ -258,7 +258,7 @@
text-align: center;
line-height: 18px;
color: light-dark(@beige, @dark-blue);
font-size: 12px;
font-size: var(--font-size-12);
}
}
.status-value {
@ -402,7 +402,7 @@
font-weight: bold;
text-align: center;
line-height: 18px;
font-size: 12px;
font-size: var(--font-size-12);
color: light-dark(@beige, @dark-blue);
}
}
@ -424,7 +424,7 @@
height: 30px;
h4 {
font-size: 14px;
font-size: var(--font-size-14);
font-weight: bold;
text-transform: uppercase;
color: light-dark(@dark-blue, @golden);
@ -490,7 +490,7 @@
.experience-value {
height: 25px;
width: 35px;
font-size: 14px;
font-size: var(--font-size-14);
color: light-dark(@dark, @beige);
align-content: center;
text-align: center;