Angband Forums

Angband Forums (http://angband.oook.cz/forum/index.php)
-   Development (http://angband.oook.cz/forum/forumdisplay.php?f=10)
-   -   Quick question about the HTML manual (http://angband.oook.cz/forum/showthread.php?t=9614)

PowerWyrm October 8, 2019 09:39

Quick question about the HTML manual
 
For PWMAngband, I tried to port the html changes done in 4.2 but I've kept the manual in html form using python + docutils instead of using sphinx and putting the doc online.

My problem: when I go to https://angband.readthedocs.io/en/latest I see all text in white; when I generate manual.html, all my text is black and unreadable. I've checked the style.css sheet and I only see "white" text defined for the "pre" and "tt" directives, which are not used in the generated html.

So I was wondering if anyone with good html knowledge can tell me how to activate the white text?

PowerWyrm October 8, 2019 09:44

Seems like:

p {
color: white;
}

does the trick for the most part. No idea why the online help files have everything magically set.

takkaria October 8, 2019 22:59

Quote:

Originally Posted by PowerWyrm (Post 140435)
For PWMAngband, I tried to port the html changes done in 4.2 but I've kept the manual in html form using python + docutils instead of using sphinx and putting the doc online.

My problem: when I go to https://angband.readthedocs.io/en/latest I see all text in white; when I generate manual.html, all my text is black and unreadable. I've checked the style.css sheet and I only see "white" text defined for the "pre" and "tt" directives, which are not used in the generated html.

So I was wondering if anyone with good html knowledge can tell me how to activate the white text?

I set it up here:

https://github.com/angband/angband/b...cs/conf.py#L66

But if you're not using sphinx I don't know where you'd write that.

PowerWyrm October 9, 2019 09:16

Quote:

Originally Posted by takkaria (Post 140443)
I set it up here:

https://github.com/angband/angband/b...cs/conf.py#L66

But if you're not using sphinx I don't know where you'd write that.

Ah ok it's in the Python configuration file. In my case, I simply looked at the html tags that were used and redefined the color in the style.css file. Works well.


All times are GMT +1. The time now is 02:07.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.