html - new theme - <keycap> in .xml does not display with differentiation
Bug #1173426 reported by
Doug Smythies
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Server Guide |
Fix Released
|
Undecided
|
Doug Smythies | ||
ubuntu-docs (Ubuntu) |
Fix Released
|
Undecided
|
Doug Smythies |
Bug Description
With the old theme (the one with the brown background) the use of the <keycap></keycap> pair in the source .xml file, resulted in significant text differentiation in the resulting html document.
With the new theme (the one with the red background) the use of the pair results in no differentiation in the resulting html document.
The PDF is O.K.
Example segment of source code:
then press the <keycap>+</keycap> key.
Two screen shots will be attached of the same area, one from the old theme and one from the new theme.
affects: | yelp-xsl (Ubuntu) → ubuntu-docs (Ubuntu) |
Changed in ubuntu-docs (Ubuntu): | |
assignee: | nobody → Doug Smythies (dsmythies) |
Changed in serverguide: | |
status: | New → Confirmed |
assignee: | nobody → Doug Smythies (dsmythies) |
Changed in ubuntu-docs (Ubuntu): | |
status: | Confirmed → Fix Committed |
no longer affects: | serverguide/quantal |
no longer affects: | serverguide/raring |
no longer affects: | serverguide/saucy |
To post a comment you must log in.
When compiled, the issue is in the css file under span.key and there are two issues: First, bold is not specified (and this comes from higher up stuff); Second, there is some weird "span.key a" thing so it doesn't get hit anyway.
If I manually edit en.css and make it:
span.key {
font-weight: bold;
border-bottom: none;
}
Then things work as expected. So the question becomes how to change things such that the css file(s) will be correct.
For reference the default en.css area:
span.key a {
border-bottom: none;
}
And note, for "key" there are only <span class="key keycap"> in the entire document. So what is the "a" for?