0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-26 03:02:40 +00:00

initial styling

This commit is contained in:
Victor Losada Hernandez
2023-04-23 15:21:48 +02:00
parent 45b7d7da88
commit da5d4236b6
2 changed files with 40 additions and 1 deletions

View File

@@ -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',

View File

@@ -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
// *****************************/