mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-09-26 07:02:57 +00:00
Reapply "add named aliases for first-letter drop-cap style"
This reverts commit a9be3d913d.
This commit is contained in:
+16
-15
@@ -85,23 +85,24 @@
|
||||
line-height : 1em;
|
||||
-webkit-column-span : all;
|
||||
-moz-column-span : all;
|
||||
& + p::first-letter {
|
||||
float : left;
|
||||
padding-bottom : 2px;
|
||||
padding-left : 40px; //Allow background color to extend into margins
|
||||
margin-top : -0.3cm;
|
||||
margin-bottom : -20px;
|
||||
margin-left : -40px;
|
||||
font-family : 'SolberaImitationRemake';
|
||||
font-size : 3.5cm;
|
||||
line-height : 1em;
|
||||
color : rgba(0, 0, 0, 0);
|
||||
background-image : linear-gradient(-45deg, #322814, #998250, #322814);
|
||||
-webkit-background-clip : text;
|
||||
background-clip : text;
|
||||
}
|
||||
& + p::first-line { font-variant : small-caps; }
|
||||
}
|
||||
.first-letter, .drop-cap,
|
||||
h1 + p::first-letter {
|
||||
float : left;
|
||||
padding-bottom : 2px;
|
||||
padding-left : 40px; //Allow background color to extend into margins
|
||||
margin-top : -0.3cm;
|
||||
margin-bottom : -20px;
|
||||
margin-left : -40px;
|
||||
font-family : 'SolberaImitationRemake';
|
||||
font-size : 3.5cm;
|
||||
line-height : 1em;
|
||||
color : rgba(0, 0, 0, 0);
|
||||
background-image : linear-gradient(-45deg, #322814, #998250, #322814);
|
||||
-webkit-background-clip : text;
|
||||
background-clip : text;
|
||||
}
|
||||
h2 {
|
||||
//margin-top : 0px; //Font is misaligned. Shift up slightly
|
||||
//margin-bottom : 0.05cm;
|
||||
|
||||
Reference in New Issue
Block a user