- Package:
- docbook-xsl
- Source:
- docbook-xsl
- Submitter:
- Stéphane Blondon
- Date:
- 2015-03-27 23:57:05 UTC
- Severity:
- minor
It's possible to improve the pictures by reusing icons from Tango desktop (http://tango.freedesktop.org/Tango_Icon_Library). The archive linked to the report includes new pictures for previous, next, up and home buttons in GIF and PNG formats. I think that replacing the old pictures by those included in the archive is the only work to do. I modified the color of the arrows from green to grey to fit with the current color of GIF pictures in /usr/share/xml/docbook/stylesheet/docbook-xsl/images/. I removed the shadow under each pictures for the GIF version due to transparency limitation on the GIF format.
Hi, The patch proposed by Stéphane Blondon is yielding nice web pages on Debian DOC: https://www.debian.org/doc/manuals/debian-reference/ https://www.debian.org/doc/manuals/maint-guide/ It is nice on my Desktop with wide screen since it has extra space for width. But on my cell phone(Nexus5), it wastes precious screen width. I woner if this can be adjusted by CSS or Javascript. If any of you web specialist knows how, it will be nice to have that documented or integrated to this proposed patch. Just a thought. Osamu
Hi, 2014-10-16 14:33 GMT+02:00 Osamu Aoki <osamu@debian.org>: I checked it on Samsung S4 to see the problem. If I understand well, you would like the borders are removed on little screen (like phone) so there would have more space for the text. Is it right? It's can be achieved by adding CSS. I can provide a patch to fix it.
Hi, Exactly. Thanks. Osamu
Hi, 2014-10-17 15:09 GMT+02:00 Osamu Aoki <osamu@debian.org>: I modified maint-guide.css as provided in the last version of the reposity maint-guide. It adds media queries to remove border for small screen (less than 5inches width). (It simplifies an instruction too.) An unified diff and the modified complete file are provided to this messsage. Tested with Iceweasel 31.1.0 on Debian and with Firefox and Chrome on Android.
After discussing with some maintainers of Debian documentations, it appears that grey arrows are not great for visibility. In attachment, you can find an archive with red arrows (prev, next and up). They should replace the grey ones. They are based on the same Tango project icons. The red color used is the color of the Debian logo. The svg files are provided in case someone wants to modify them. Cheers