View Single Post
Old 08-29-2023, 05:32 AM   #13
repilo
Enthusiast
repilo began at the beginning.
 
Posts: 43
Karma: 10
Join Date: Apr 2021
Location: Spain
Device: Kobo Libra 2
Quote:
Originally Posted by DiapDealer View Post
As one of the two Sigil developers, I can assure you that Sigil has done no such thing. The only webkit css Sigil ever injects, is for scrollbars and backgrounds in dark mode. And those are never saved as part of the epub, they're only used to render things darkly within Sigil's Preview.

Have you ever played with using a custom css for Sigil's Preview that is stored in its preference directory?
As far as I know, I have not touched or seen any custom css in the preferences directory. What exactly is that file called and what subdirectory is it in? I've searched for *.css and don't find anything (except in the "repo" folder, which seems to contain backups of my epubs).

I've created a new empty epub, without stylesheet, containing only one line with <h1>Header 1</h1>, then created a TOC and looked at TOC.xhtml with the inspector. This is what I see when I expand <body>, and then <div class="sgc-toc-level-1"> and place the cursor on <a href="Section0001.xhtml">Header 1</a>:
Code:
element.style {
}
                                      user agent stylesheet
a:-webkit-any-link {
    color: -webkit-link;
    cursor: pointer;
    text-decoration: underline;
}
Can you please do this same thing on your computer?
If you get a different result, I would like to know what happens in my case.
Sorry for the inconvenience.
repilo is offline   Reply With Quote