From 2125b8a0264986f52d4f820864a7724984519a60 Mon Sep 17 00:00:00 2001 From: Trevor Buckner Date: Thu, 14 Sep 2023 16:44:59 -0400 Subject: [PATCH] Small tweaks --- themes/V3/5eDMG/style.less | 5 ++--- themes/V3/5ePHB/snippets/quote.gen.js | 1 - themes/V3/5ePHB/style.less | 14 ++++++++++++-- 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/themes/V3/5eDMG/style.less b/themes/V3/5eDMG/style.less index 589e28d63..92820f9d5 100644 --- a/themes/V3/5eDMG/style.less +++ b/themes/V3/5eDMG/style.less @@ -10,9 +10,8 @@ background-image : url(/assets/DMG_background.png); background-size : cover; - .quote p::first-line { - font-variant : normal; - font-style: italic; + .quote p:first-child::first-line { + all: unset; } &:after { diff --git a/themes/V3/5ePHB/snippets/quote.gen.js b/themes/V3/5ePHB/snippets/quote.gen.js index fdf3892aa..c5e3d6293 100644 --- a/themes/V3/5ePHB/snippets/quote.gen.js +++ b/themes/V3/5ePHB/snippets/quote.gen.js @@ -45,7 +45,6 @@ module.exports = () => { {{quote ${_.sample(quotes)} -: {{attribution ${_.sample(authors)}, *${_.sample(books)}*}} }} \n`; diff --git a/themes/V3/5ePHB/style.less b/themes/V3/5ePHB/style.less index b103c043a..f887f6da5 100644 --- a/themes/V3/5ePHB/style.less +++ b/themes/V3/5ePHB/style.less @@ -246,16 +246,23 @@ body { // *****************************/ .quote { - p { - line-height :.5cm; + &>p { + line-height :.54cm; + font-style: italic; &:first-child::first-line { font-variant : small-caps; font-style: normal; + font-size: 0.38cm; } } + p+.attribution { + margin-top: 0; + } + .attribution { + line-height: 0.54cm; font-style: normal; display: block; text-align: right; @@ -266,6 +273,9 @@ body { } } + &+* { + margin-top: 0.54cm; + } }