From 8ebd5ccff93e507bcf008fce5bc8923b06449dd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Losada=20Hern=C3=A1ndez?= Date: Tue, 8 Aug 2023 19:11:54 +0200 Subject: [PATCH] syntax change --- themes/V3/5ePHB/snippets/quote.gen.js | 6 ++++-- themes/V3/5ePHB/style.less | 16 ++++++++++++---- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/themes/V3/5ePHB/snippets/quote.gen.js b/themes/V3/5ePHB/snippets/quote.gen.js index f7b86c0ad..4c3bbe759 100644 --- a/themes/V3/5ePHB/snippets/quote.gen.js +++ b/themes/V3/5ePHB/snippets/quote.gen.js @@ -44,8 +44,10 @@ module.exports = () => { return ` {{quote ${_.sample(quotes)} - -- ${_.sample(authors)}, _${_.sample(books)}_ + +: +{{attribution ${_.sample(authors)}, *${_.sample(books)}*}} + }} \n`; }; diff --git a/themes/V3/5ePHB/style.less b/themes/V3/5ePHB/style.less index 444a60a23..acb6d2f5c 100644 --- a/themes/V3/5ePHB/style.less +++ b/themes/V3/5ePHB/style.less @@ -250,16 +250,24 @@ body { font-style :italic; line-height :.5cm; - &::first-line { + &:first-child::first-line { font-variant : small-caps; font-style: normal; } } - li { - list-style-type : "---"; - float :right; + .attribution { + font-style: normal; + display: block; + text-align: right; + + &:before { + content: '---'; + margin-right: .2em; + } } + + }