0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-25 18:22:42 +00:00

syntax change

This commit is contained in:
Víctor Losada Hernández
2023-08-08 19:11:54 +02:00
parent 86823b43b1
commit 8ebd5ccff9
2 changed files with 16 additions and 6 deletions

View File

@@ -44,8 +44,10 @@ module.exports = () => {
return `
{{quote
${_.sample(quotes)}
- ${_.sample(authors)}, _${_.sample(books)}_
:
{{attribution ${_.sample(authors)}, *${_.sample(books)}*}}
}}
\n`;
};

View File

@@ -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;
}
}
}