View Single Post
Old 09-23-2018, 06:21 AM   #1
Leonatus
Wizard
Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.
 
Leonatus's Avatar
 
Posts: 1,055
Karma: 11391181
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
Pseudo classes to be deleted as unused classes

I worked out a book using a pseudo-class of this type:
Code:
.initial:first-letter	{
	font-family: FoglihtenNo04;
  font-size: 55px;
  line-height: 40px;
  color: #FFF;
  background-color: #8342F4;
  float: left;
  padding: 20px 20px 10px 15px;
  margin: 4px 10px 0 0;
}
leaving to a text style as shown in the jpg annex.
Choosing "Tools"->"Delete unused stylesheet-classes", shows the above mentioned stye as unused and to be deleted. This will eventually delete the whole style.

If I run epubcheck and w3c css validator, my style is not rejected, however, and the style also works on my reader. Is this a bug in Sigil?
Attached Thumbnails
Click image for larger version

Name:	sample.jpg
Views:	330
Size:	163.2 KB
ID:	166452  
Leonatus is offline   Reply With Quote