View Single Post
Old 03-02-2015, 01:57 PM   #1
chaot
Head of lunatic asylum
chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.
 
chaot's Avatar
 
Posts: 349
Karma: 77620
Join Date: Jun 2012
Location: UTC +1
Device: Tolino Vision 3HD
Colour coding CSS

Quote:
Originally Posted by EditorOne View Post
Another question, maybe for another thread?
What do the different colors mean in the Calibre CSS?
In general, everything before the colon is green; after the colon I get either green or orange. Does the different color suggest an error?
Another thread: Probably better! But in a nutshell: So far you are lucky! There exist at least another color: Indigo for Errors and Warnings (from my examples).

Error: position is a (correct) property, but the value ? doesn't exist.

Warning: -epub-ruby-position: over: -epub-ruby-position is an unknown property name (as the warning says).
over is a non-existent value. This is not explicitly named as a unknown property can have no value of course, either existing or not.

Demonstration!
Warning: -epub-ruby-position: left: left is an existing value, but the warning is the same than with non-existent value over.
Attached Thumbnails
Click image for larger version

Name:	Error.png
Views:	402
Size:	127.5 KB
ID:	135499   Click image for larger version

Name:	Warning: -epub-ruby-position: over.png
Views:	428
Size:	134.6 KB
ID:	135503   Click image for larger version

Name:	Warning: -epub-ruby-position: left.png
Views:	377
Size:	135.2 KB
ID:	135504  

Last edited by chaot; 03-02-2015 at 02:15 PM. Reason: addition
chaot is offline   Reply With Quote