0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-08 07:32:40 +00:00

Small tweaks

This commit is contained in:
Trevor Buckner
2023-09-14 16:44:59 -04:00
parent b3497e14f1
commit 2125b8a026
3 changed files with 14 additions and 6 deletions

View File

@@ -10,9 +10,8 @@
background-image : url(/assets/DMG_background.png); background-image : url(/assets/DMG_background.png);
background-size : cover; background-size : cover;
.quote p::first-line { .quote p:first-child::first-line {
font-variant : normal; all: unset;
font-style: italic;
} }
&:after { &:after {

View File

@@ -45,7 +45,6 @@ module.exports = () => {
{{quote {{quote
${_.sample(quotes)} ${_.sample(quotes)}
:
{{attribution ${_.sample(authors)}, *${_.sample(books)}*}} {{attribution ${_.sample(authors)}, *${_.sample(books)}*}}
}} }}
\n`; \n`;

View File

@@ -246,16 +246,23 @@ body {
// *****************************/ // *****************************/
.quote { .quote {
p { &>p {
line-height :.5cm; line-height :.54cm;
font-style: italic;
&:first-child::first-line { &:first-child::first-line {
font-variant : small-caps; font-variant : small-caps;
font-style: normal; font-style: normal;
font-size: 0.38cm;
} }
} }
p+.attribution {
margin-top: 0;
}
.attribution { .attribution {
line-height: 0.54cm;
font-style: normal; font-style: normal;
display: block; display: block;
text-align: right; text-align: right;
@@ -266,6 +273,9 @@ body {
} }
} }
&+* {
margin-top: 0.54cm;
}
} }