diff --git a/styles/less/global/elements.less b/styles/less/global/elements.less index 5dea5e11..0b689a7e 100755 --- a/styles/less/global/elements.less +++ b/styles/less/global/elements.less @@ -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; } diff --git a/styles/less/global/inventory-item.less b/styles/less/global/inventory-item.less index dd874efd..a761b4eb 100644 --- a/styles/less/global/inventory-item.less +++ b/styles/less/global/inventory-item.less @@ -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 { diff --git a/styles/less/global/prose-mirror.less b/styles/less/global/prose-mirror.less index f7b78af3..5adf9d67 100644 --- a/styles/less/global/prose-mirror.less +++ b/styles/less/global/prose-mirror.less @@ -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); - } } } } diff --git a/styles/less/sheets/actors/adversary/sidebar.less b/styles/less/sheets/actors/adversary/sidebar.less index f8a34874..f1c89e41 100644 --- a/styles/less/sheets/actors/adversary/sidebar.less +++ b/styles/less/sheets/actors/adversary/sidebar.less @@ -347,7 +347,10 @@ width: 100%; button { + height: 40px; width: 100%; + font-family: @font-body; + font-weight: 600; } } } diff --git a/styles/less/sheets/actors/character/header.less b/styles/less/sheets/actors/character/header.less index d25d4ebf..5de7a827 100644 --- a/styles/less/sheets/actors/character/header.less +++ b/styles/less/sheets/actors/character/header.less @@ -34,7 +34,7 @@ .name-row { display: flex; gap: 5px; - align-items: center; + align-items: end; justify-content: space-between; padding: 0; padding-top: 5px;