Home ยป Forum ยป Bug Report and Feature Requests

Forum: Bug Report and Feature Requests

zip downloads, no dark mode

Freyrs_stories ๐Ÿšซ

I only use dark mode, but zip files are in default with no easy way to change. Is there a work around for this?

Replies:   madnige
madnige ๐Ÿšซ
Updated:

@Freyrs_stories

My brute-force fix would be to download the dark-mode .css and overwrite the .css from the .zip

To get the required .css, use view-source on any story here,
- find the line that looks like @import url('/res/css/stories1.css'); and note the filename between /res/css/ and .css for use below
- type https://storiesonline.net/res/css/((copy name here)).css into the browser address and press enter - this should get you the required .css into a browser page
- save it somewhere handy
- view-source of one of the misbehaving files from the extracted .zip
- use the @import url(... line to locate where the zipped story expects to pick up the .css to use from
- copy the downloaded dark mode .css over the .css in use, finishing up with the contents of the dark-mode .css in the in-use location with the in-use name.
The last step should be repeated for each story affected

Now when the unzipped story looks for the (standard) .css, it will get the dark-mode one. I don't know your system, but it should be possible to replace it in the .zip (just copy to the correct place in the compressed folder, for Windows)

Be careful if there is more than one @import line that you choose the correct one.

Hope this helps until Lazeez mods the .zip download code to use your chosen theme.

Replies:   Freyrs_stories
Freyrs_stories ๐Ÿšซ

@madnige

should be simple enough, used to hand code pages from scratch with nothing but vi, but couldn't get it upgraded to vii (sorry UNIX joke). never learnt style sheets but doubt they work that differently.

Replies:   madnige
madnige ๐Ÿšซ

@Freyrs_stories

couldn't get it upgraded to vii

LOL

never learnt style sheets

--and you don't need to for this method, nor HTML: just broad-strokes knowledge of how they work.

Replies:   Freyrs_stories
Freyrs_stories ๐Ÿšซ

@madnige

as I would expect. I think I know enough theory to read about a dozen different languages but frequently come up against walls when writing code from scratch. but such is life.

I have also noted frequent inconsistencies in how file names are generated by the system with duplication strings in the file name, this appears to be caused by logic reading story name and series / universe denoting errors being a source. issue is most evident when entries in a container span years rather than weeks or months.

Back to Top

 

WARNING! ADULT CONTENT...

Storiesonline is for adult entertainment only. By accessing this site you declare that you are of legal age and that you agree with our Terms of Service and Privacy Policy.


Log In