bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: styling flexibility for definitions


From: Per Bothner
Subject: Re: styling flexibility for definitions
Date: Sat, 7 Nov 2020 15:24:20 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0

I checked in some css tweaks for the DomTerm manual to make use
of the latest makeinfo changes.

If you're concerned that '<span class="category-suffix">: </span>'
is verbose I can look into using JavaScript to remove the colon.
(If you're fine with the currently-checked-in code I won't bother.)

One more issue related to definitions is the name itself.
The makeinfo output emphasizes the name with <strong>, but that
is not very semantic.  In my manual I use the color purple for these names:
https://www.gnu.org/software/kawa/Paths.html

I can certainly use a style rule like:

dl.def > dt strong { color: purple }

However, it seems adding a class would be cleaner.  Perhaps <strong 
class="name">?
Personally, I would also add a class="synopsis" to the <dt> element.

Neither of these changes are critical for my needs, and could anyway be added 
later,
but I think they're worth considering.
--
        --Per Bothner
per@bothner.com   http://per.bothner.com/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]