0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-28 00:32:42 +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-size : cover;
.quote p::first-line {
font-variant : normal;
font-style: italic;
.quote p:first-child::first-line {
all: unset;
}
&:after {

View File

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

View File

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