Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old October 8, 2019, 08:39   #1
PowerWyrm
Prophet
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 2,655
PowerWyrm is on a distinguished road
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?
__________________
PWMAngband variant maintainer - check http://powerwyrm.monsite-orange.fr (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!
PowerWyrm is offline   Reply With Quote
Old October 8, 2019, 08:44   #2
PowerWyrm
Prophet
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 2,655
PowerWyrm is on a distinguished road
Seems like:

p {
color: white;
}

does the trick for the most part. No idea why the online help files have everything magically set.
__________________
PWMAngband variant maintainer - check http://powerwyrm.monsite-orange.fr (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!
PowerWyrm is offline   Reply With Quote
Old October 8, 2019, 21:59   #3
takkaria
Veteran
 
takkaria's Avatar
 
Join Date: Apr 2007
Posts: 1,932
Donated: $40
takkaria is on a distinguished road
Quote:
Originally Posted by PowerWyrm View Post
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.
__________________
takkaria whispers something about options. -more-
takkaria is offline   Reply With Quote
Old October 9, 2019, 08:16   #4
PowerWyrm
Prophet
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 2,655
PowerWyrm is on a distinguished road
Quote:
Originally Posted by takkaria View Post
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.
__________________
PWMAngband variant maintainer - check http://powerwyrm.monsite-orange.fr (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!
PowerWyrm is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Just a quick question Tyranicus Vanilla 3 November 7, 2013 22:10
Quick question about ui-menu.c nppangband Development 2 September 5, 2010 20:46
quick question Malak Darkhunter Vanilla 2 February 8, 2010 00:57
Quick Stealth Question Zikke Vanilla 9 November 4, 2009 11:43
Quick Term_erase question. PaulBlay Development 7 May 28, 2009 14:19


All times are GMT +1. The time now is 13:56.


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