From 6281ed044e43213677f2dc9a8f8b05ce9e0c6317 Mon Sep 17 00:00:00 2001 From: Victor Losada Hernandez Date: Tue, 21 Mar 2023 14:37:04 +0100 Subject: [PATCH] font-size corrections --- themes/V3/5ePHB/snippets/script.gen.js | 6 +-- themes/V3/5ePHB/style.less | 55 +++++++++++++++----------- 2 files changed, 36 insertions(+), 25 deletions(-) diff --git a/themes/V3/5ePHB/snippets/script.gen.js b/themes/V3/5ePHB/snippets/script.gen.js index dc36c9d82..c13a3ca8d 100644 --- a/themes/V3/5ePHB/snippets/script.gen.js +++ b/themes/V3/5ePHB/snippets/script.gen.js @@ -4,7 +4,7 @@ const dedent = require('dedent-tabs').default; module.exports = { dwarvish: () => { return dedent `##### Dwarvish Script: Sample Alphabet - {{script,wide,scriptFrame,dwarvish + {{script,wide,frame,dwarvish | a | b | c | d | e | f | g | h | i | j | k | l | m | |:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:| | a | b | c | d | e | f | g | h | i | j | k | l | m | @@ -16,7 +16,7 @@ module.exports = { }, elvish: () => { return dedent `##### Elvish Script: Sample Alphabet - {{script,wide,scriptFrame,elvish + {{script,wide,frame,elvish | a | b | c | d | e | f | g | h | i | j | k | l | m | |:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:| | a | b | c | d | e | f | g | h | i | j | k | l | m | @@ -28,7 +28,7 @@ module.exports = { }, draconic: () => { return dedent `##### Draconic Script: Sample Alphabet - {{script,wide,scriptFrame,draconic + {{script,wide,frame,draconic | a | b | c | d | e | f | g | h | i | j | k | l | m | |:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:| | a | b | c | d | e | f | g | h | i | j | k | l | m | diff --git a/themes/V3/5ePHB/style.less b/themes/V3/5ePHB/style.less index 370286c95..60c890ca8 100644 --- a/themes/V3/5ePHB/style.less +++ b/themes/V3/5ePHB/style.less @@ -920,34 +920,45 @@ break-inside : avoid; font-family: BookInsanityRemake; text-transform: uppercase; outline: 1px solid #000; - font-size: 0.7cm; + font-weight: normal; } + th{ + font-size: 0.45cm; + } + td { + font-size: 0.7cm; + } + } } + + &.frame { + border: initial; + border-style: solid; + border-image-outset: .45cm .35cm .4cm .4cm; + border-image-repeat: stretch; + border-image-slice: 170; + border-image-source: @scriptBorder; + border-image-width: 1.4cm; + } + + &.dwarvish table tr td { + font-family: Davek; + font-size: .45cm;/*this should be fixed in the font*/ + } + + &.elvish table tr td { + font-family: Rellanic; + } + + &.draconic table tr td { + font-family: Lokharic; + } } - .scriptFrame { - border: initial; - border-style: solid; - border-image-outset: .45cm .35cm .4cm .4cm; - border-image-repeat: stretch; - border-image-slice: 170; - border-image-source: @scriptBorder; - border-image-width: 1.4cm; - } + - .dwarvish td { - font-family: Davek !important; - font-size: .45cm !important;/*this should be fixed in the font*/ - } - - .elvish td { - font-family: Rellanic !important; - } - - .draconic td { - font-family: Lokharic !important; - } + }