mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-08 07:32:40 +00:00
Small tweaks
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
@@ -45,7 +45,6 @@ module.exports = () => {
|
|||||||
{{quote
|
{{quote
|
||||||
${_.sample(quotes)}
|
${_.sample(quotes)}
|
||||||
|
|
||||||
:
|
|
||||||
{{attribution ${_.sample(authors)}, *${_.sample(books)}*}}
|
{{attribution ${_.sample(authors)}, *${_.sample(books)}*}}
|
||||||
}}
|
}}
|
||||||
\n`;
|
\n`;
|
||||||
|
|||||||
@@ -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;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user