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