From da5d4236b6e99fc95bd5b38ae9546bcfdbf90a7d Mon Sep 17 00:00:00 2001 From: Victor Losada Hernandez Date: Sun, 23 Apr 2023 15:21:48 +0200 Subject: [PATCH] initial styling --- themes/V3/5ePHB/snippets.js | 21 +++++++++++++++++++++ themes/V3/5ePHB/style.less | 20 +++++++++++++++++++- 2 files changed, 40 insertions(+), 1 deletion(-) diff --git a/themes/V3/5ePHB/snippets.js b/themes/V3/5ePHB/snippets.js index 99aa00e23..91cc49de2 100644 --- a/themes/V3/5ePHB/snippets.js +++ b/themes/V3/5ePHB/snippets.js @@ -126,6 +126,27 @@ module.exports = [ icon : 'fas fa-mask', gen : ClassFeatureGen, }, + { + name : 'Quote', + icon : 'fas fa-quote-right', + gen : function(){ + return dedent` + {{quote + Stepping into the portal was like settling into a warm bath, + though the chill didn't jade from the air. At first everything + muted the roar of the river around the rocks below, the + chirping of frogs and crickets on shore, the evening bustle of + the town behind him . . . . A moment later, the world erupted + into vibrant life. Frogs and night birds sang a chorus; the air + was awash with autumn scents; the moonlight painted the + flo wers in iridescent blue, silver, and violet; and the rushing + of the river became a complex symphony. + + - James Wyatt, _Oath of Vigilance_ + }} + \n`; + }, + }, { name : 'Note', icon : 'fas fa-sticky-note', diff --git a/themes/V3/5ePHB/style.less b/themes/V3/5ePHB/style.less index 2acbe88bf..69bab6992 100644 --- a/themes/V3/5ePHB/style.less +++ b/themes/V3/5ePHB/style.less @@ -82,7 +82,7 @@ body { // * BASE // *****************************/ -.page{ +.page { p{ overflow-wrap : break-word; //TODO: MAKE ALL MARGINS TOP-ONLY. USE * + * STYLE SELECTORS display : block; @@ -241,6 +241,24 @@ body { } } } + //***************************** + // * QUOTE + // *****************************/ + .quote { + + p { + font-style :italic; + line-height :.5cm; + } + + li { + list-style-type : "---"; + float :right; + } + } + + + //***************************** // * NOTE // *****************************/