mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-06-06 04:44:16 +02:00
Some initial, tentative trait display changes
This commit is contained in:
parent
e8828b70db
commit
700fb97f4e
2 changed files with 39 additions and 13 deletions
|
|
@ -23,15 +23,27 @@
|
|||
gap: 2px;
|
||||
|
||||
.trait-container {
|
||||
width: 65px;
|
||||
height: 65px;
|
||||
background: url(../assets/svg/trait-shield.svg) no-repeat;
|
||||
background-size: 100%;
|
||||
padding-top: 3px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
row-gap: 3px;
|
||||
text-align: center;
|
||||
|
||||
.trait-name {
|
||||
background-color: light-dark(var(--semi-transparent-dark-blue, rgba(24, 22, 46, 0.33)), var(--golden-40, #f3c26740));
|
||||
border: 1px solid light-dark(@semi-transparent-dark-blue, @golden-60);
|
||||
border-radius: 3px;
|
||||
color: light-dark(var(--color-light-1), var(--golden, #f3c267));
|
||||
font-size: var(--font-size-12);
|
||||
font-weight: 600;
|
||||
height: 1rem;
|
||||
line-height: 1rem;
|
||||
white-space: nowrap;
|
||||
width: 100%;
|
||||
text-shadow: 1px 1px 2px var(--light-black, rgba(0, 0, 0, 0.3));
|
||||
padding: 0 2px;
|
||||
}
|
||||
|
||||
span {
|
||||
font-size: var(--font-size-10);
|
||||
|
|
@ -43,13 +55,21 @@
|
|||
font-size: var(--font-size-12);
|
||||
}
|
||||
|
||||
input {
|
||||
text-align: center;
|
||||
width: 32px;
|
||||
height: 24px;
|
||||
position: relative;
|
||||
top: 2px;
|
||||
padding: 0;
|
||||
.trait-inner-container {
|
||||
--color-border: light-dark(@semi-transparent-dark-blue, @golden-60);
|
||||
--background: light-dark(#e8e6e3, @dark-blue);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
input {
|
||||
text-align: center;
|
||||
width: 32px;
|
||||
height: 24px;
|
||||
position: absolute;
|
||||
margin-bottom: 6px;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue