fix elements style from features descriptions (#510)

This commit is contained in:
Murilo Brito 2025-08-02 04:19:54 -03:00 committed by GitHub
parent 32c35d3213
commit ba1e7b7b25
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 73 additions and 37 deletions

View file

@ -179,6 +179,40 @@
}
}
table {
font-family: @font-body;
border-radius: 3px;
thead {
background-color: light-dark(@dark-blue, @golden);
color: light-dark(@beige, @dark-blue);
}
tr:nth-child(odd) {
background-color: light-dark(@dark-blue-40, @golden-40);
border-color: light-dark(@golden, @dark-blue);
}
tr:nth-child(even) {
background-color: light-dark(@dark-blue-10, @golden-10);
border-color: light-dark(@golden, @dark-blue);
}
}
pre {
code {
border-radius: 6px;
background-color: @dark;
color: @beige;
border-color: @dark-blue;
}
}
blockquote {
border-radius: 3px;
border-left: 3px solid light-dark(@dark-blue-40, @golden-40);
background-color: light-dark(@dark-blue-10, @golden-10);
}
p {
margin: 0;
}

View file

@ -1,5 +1,6 @@
@import '../utils/colors.less';
@import '../utils/fonts.less';
@import '../utils/mixin.less';
.theme-light .application.daggerheart.dh-style {
.inventory-item,
@ -105,9 +106,9 @@
align-items: center;
justify-content: end;
gap: 8px;
.unequipped {
opacity: .5;
opacity: 0.5;
}
}
}
@ -125,6 +126,38 @@
}
.invetory-description {
overflow: hidden;
h1 {
font-size: 32px;
}
h2 {
font-size: 28px;
font-weight: 600;
}
h3 {
font-size: 20px;
font-weight: 600;
}
h4 {
font-size: 16px;
color: @beige;
font-weight: 600;
}
ul,
ol {
margin: 1rem 0;
padding: 0 0 0 1.25rem;
li {
font-family: @font-body;
margin-bottom: 0.25rem;
}
}
ul {
list-style: disc;
}
}
}
.item-resources {

View file

@ -28,25 +28,6 @@
font-weight: 600;
}
table {
font-family: @font-body;
border-radius: 3px;
thead {
background-color: light-dark(@dark-blue, @golden);
color: light-dark(@beige, @dark-blue);
}
tr:nth-child(odd) {
background-color: light-dark(@dark-blue-40, @golden-40);
border-color: light-dark(@golden, @dark-blue);
}
tr:nth-child(even) {
background-color: light-dark(@dark-blue-10, @golden-10);
border-color: light-dark(@golden, @dark-blue);
}
}
ul,
ol {
margin: 1rem 0;
@ -61,21 +42,6 @@
ul {
list-style: disc;
}
pre {
code {
border-radius: 6px;
background-color: @dark;
color: @beige;
border-color: @dark-blue;
}
}
blockquote {
border-radius: 3px;
border-left: 3px solid light-dark(@dark-blue-40, @golden-40);
background-color: light-dark(@dark-blue-10, @golden-10);
}
}
}
}