View Single Post
Old 07-27-2022, 09:54 AM   #7
enuddleyarbl
Guru
enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.
 
enuddleyarbl's Avatar
 
Posts: 781
Karma: 1538394
Join Date: Sep 2013
Device: Kobo Sage
With these classes:
Code:
h1 + p, h2 + p, h3 + p, hr + p {
  text-indent: 0;
}
h1 + p::first-letter, h2 + p::first-letter, h3 + p::first-letter, hr + p::first-letter	{
  font-weight: bold;
}

.noindent {
  text-indent: 0;
}
.firstletter::first-letter {
  font-weight: bold;
}
That seems to handle it. The two hn + p classes pick up most situations and <p class="noindent firstletter"> picks up any troublesome cases.
enuddleyarbl is offline   Reply With Quote