mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-03 01:52:42 +00:00
syntax change
This commit is contained in:
@@ -44,8 +44,10 @@ module.exports = () => {
|
|||||||
return `
|
return `
|
||||||
{{quote
|
{{quote
|
||||||
${_.sample(quotes)}
|
${_.sample(quotes)}
|
||||||
|
|
||||||
- ${_.sample(authors)}, _${_.sample(books)}_
|
:
|
||||||
|
{{attribution ${_.sample(authors)}, *${_.sample(books)}*}}
|
||||||
|
|
||||||
}}
|
}}
|
||||||
\n`;
|
\n`;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -250,16 +250,24 @@ body {
|
|||||||
font-style :italic;
|
font-style :italic;
|
||||||
line-height :.5cm;
|
line-height :.5cm;
|
||||||
|
|
||||||
&::first-line {
|
&:first-child::first-line {
|
||||||
font-variant : small-caps;
|
font-variant : small-caps;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
li {
|
.attribution {
|
||||||
list-style-type : "---";
|
font-style: normal;
|
||||||
float :right;
|
display: block;
|
||||||
|
text-align: right;
|
||||||
|
|
||||||
|
&:before {
|
||||||
|
content: '---';
|
||||||
|
margin-right: .2em;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user