Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 07-24-2022, 05:11 AM   #1
valarcher
Member
valarcher began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Jul 2011
Device: kindle
default css of sigil

Hi - I copied some text - with <p>'s and <ul> - from my text editor into Sigil. I notice it has default paragraph spacing and left-indent for <ul> that displays in ADE. Is there a .css download file anywhere that shows what Sigil is using for its defaults?

I know html & css and am just looking for a quick way to redefine the defaults rather than create my own css from scratch. Thank you!
valarcher is offline   Reply With Quote
Old 07-24-2022, 06:22 AM   #2
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,818
Karma: 198099188
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Sigil uses NO default css. What you are seeing is how xhtml renders with no css. You must provide all of the css you want to be applied.
DiapDealer is offline   Reply With Quote
Advert
Old 07-24-2022, 08:53 AM   #3
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,160
Karma: 18843349
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire


Another, oft overlooked, feature of Sigil is "Inspect Page" ( the </> button at the bottom of the preview window).

It has helped me to track down css issues many times.
Turtle91 is offline   Reply With Quote
Old 07-24-2022, 12:03 PM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,280
Karma: 57979022
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Turtle91 View Post


Another, oft overlooked, feature of Sigil is "Inspect Page" ( the </> button at the bottom of the preview window).

It has helped me to track down css issues many times.


(This does require understanding the box model and how nesting works.)
Personally, I find having it open on a second monitor more convenient than surfacing windows.
theducks is offline   Reply With Quote
Old 07-24-2022, 04:42 PM   #5
pazos
cosiñeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 1,316
Karma: 2200073
Join Date: Apr 2014
Device: BQ Cervantes 4
Blink defaults to https://chromium.googlesource.com/ch...e/css/html.css
pazos is offline   Reply With Quote
Advert
Old 07-25-2022, 06:53 AM   #6
valarcher
Member
valarcher began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Jul 2011
Device: kindle
Quote:
Originally Posted by Turtle91 View Post


Another, oft overlooked, feature of Sigil is "Inspect Page" ( the </> button at the bottom of the preview window).
That's so cool - thank you! I've just come to Sigil and am blown away by its ease of use. Is there a list somewhere of most useful features?
valarcher is offline   Reply With Quote
Old 07-25-2022, 07:32 AM   #7
valarcher
Member
valarcher began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Jul 2011
Device: kindle
Quote:
Originally Posted by pazos View Post
wow, this is so useful - thank you!
valarcher is offline   Reply With Quote
Old 07-25-2022, 08:22 AM   #8
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,818
Karma: 198099188
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
It's really not all that useful. It's similar to all browser defaults when there's no css. Not to mention that it should not be relied upon due to the fact that every epub rendering system will be a little different. This is merely how things render in chrome when no css is present. Not something to build upon for styling epubs.
DiapDealer is offline   Reply With Quote
Old 07-25-2022, 03:10 PM   #9
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,280
Karma: 57979022
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by valarcher View Post
That's so cool - thank you! I've just come to Sigil and am blown away by its ease of use. Is there a list somewhere of most useful features?
Listen to Diap
But it is useful to track down cases where your code has gone far into left field
theducks is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre default CSS to <body> heitormsilva Conversion 11 11-24-2017 10:46 AM
Preference to Default CSS 'pretty' theducks Sigil 0 01-04-2015 06:08 PM
Do kindles have default CSS? Barty Kindle Developer's Corner 0 01-09-2014 12:01 PM
Opus Opus default CSS sjpt Bookeen 4 08-16-2011 05:50 AM
Sigil 0.3.4 / Problème CSS entre Sigil et iPad Grivels Software 10 07-03-2011 09:06 AM


All times are GMT -4. The time now is 04:34 AM.


MobileRead.com is a privately owned, operated and funded community.