specificity normalisation across themes/snippets

This commit is contained in:
Eric
2026-09-21 14:08:39 +10:00
parent 6a6006d525
commit fa86a62356
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -14,7 +14,8 @@
.note table tbody tr:nth-child(odd) { background : #FFFFFF; } .note table tbody tr:nth-child(odd) { background : #FFFFFF; }
/* DROP CAP */ /* DROP CAP */
.first-letter, .drop-cap p.first-letter::first-letter,
p.drop-cap::first-letter,
h1 + p::first-letter { h1 + p::first-letter {
color : black; color : black;
background-image : unset; background-image : unset;
+2 -2
View File
@@ -30,8 +30,8 @@ export default [
name : 'Tweak Drop Cap', name : 'Tweak Drop Cap',
icon : 'fas fa-sliders-h', icon : 'fas fa-sliders-h',
gen : dedent`/* Drop Cap settings */ gen : dedent`/* Drop Cap settings */
.page .first-letter::first-letter, .page p.first-letter::first-letter,
.page .drop-cap::first-letter, .page p.drop-cap::first-letter,
.page h1 + p::first-letter { .page h1 + p::first-letter {
font-family: SolberaImitationRemake; font-family: SolberaImitationRemake;
font-size: 3.5cm; font-size: 3.5cm;