0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-03-26 14:48:10 +00:00

Merge pull request #2797 from 5e-Cleric/quote-snippet

Quote Snippet
This commit is contained in:
Trevor Buckner
2023-09-14 16:46:06 -04:00
committed by GitHub
4 changed files with 102 additions and 1 deletions

View File

@@ -82,7 +82,7 @@ body {
// * BASE
// *****************************/
.page{
.page {
p{
overflow-wrap : break-word; //TODO: MAKE ALL MARGINS TOP-ONLY. USE * + * STYLE SELECTORS
display : block;
@@ -241,6 +241,46 @@ body {
}
}
}
//*****************************
// * QUOTE
// *****************************/
.quote {
&>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;
&:before {
content: '---';
margin-right: .2em;
}
}
&+* {
margin-top: 0.54cm;
}
}
//*****************************
// * NOTE
// *****************************/