mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-15 13:11:08 +01:00
fix elements style from features descriptions (#510)
This commit is contained in:
parent
32c35d3213
commit
ba1e7b7b25
5 changed files with 73 additions and 37 deletions
|
|
@ -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 {
|
p {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
@import '../utils/colors.less';
|
@import '../utils/colors.less';
|
||||||
@import '../utils/fonts.less';
|
@import '../utils/fonts.less';
|
||||||
|
@import '../utils/mixin.less';
|
||||||
|
|
||||||
.theme-light .application.daggerheart.dh-style {
|
.theme-light .application.daggerheart.dh-style {
|
||||||
.inventory-item,
|
.inventory-item,
|
||||||
|
|
@ -107,7 +108,7 @@
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
|
|
||||||
.unequipped {
|
.unequipped {
|
||||||
opacity: .5;
|
opacity: 0.5;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -125,6 +126,38 @@
|
||||||
}
|
}
|
||||||
.invetory-description {
|
.invetory-description {
|
||||||
overflow: hidden;
|
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 {
|
.item-resources {
|
||||||
|
|
|
||||||
|
|
@ -28,25 +28,6 @@
|
||||||
font-weight: 600;
|
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,
|
ul,
|
||||||
ol {
|
ol {
|
||||||
margin: 1rem 0;
|
margin: 1rem 0;
|
||||||
|
|
@ -61,21 +42,6 @@
|
||||||
ul {
|
ul {
|
||||||
list-style: disc;
|
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);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -347,7 +347,10 @@
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
button {
|
button {
|
||||||
|
height: 40px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
font-family: @font-body;
|
||||||
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@
|
||||||
.name-row {
|
.name-row {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 5px;
|
gap: 5px;
|
||||||
align-items: center;
|
align-items: end;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
padding-top: 5px;
|
padding-top: 5px;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue