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

Bug#854375: [www.debian.org] Add style to <kbd> tag



Package: www.debian.org
Severity: normal
Tags: patch

Dear all:

The report in https://lists.debian.org/debian-www/2017/02/msg00008.html suggests to put in italics certain commands mentioned in the page https://www.debian.org/MailingLists/

Those commands are indeed tagged with <kbd> in our source wml files, but it seems our style sheet does not add any particular style to the <kbd> tag (which is used in other pages too).

The attached patch adds to <kbd> the same style as we use, for now, for the <code> tags.

If nobody complains, I'll merge it in a few days.

Best regards
--
Laura Arjona Reina
https://wiki.debian.org/LauraArjona
Index: debian.css
===================================================================
RCS file: /cvs/webwml/webwml/english/debian.css,v
retrieving revision 1.104
diff -u -r1.104 debian.css
--- debian.css  8 Jul 2016 10:06:39 -0000       1.104
+++ debian.css  6 Feb 2017 13:22:46 -0000
@@ -418,7 +418,7 @@
        white-space: pre;
        color: black;
 }
-tt, code {
+tt, kbd, code {
        font-family: monospace;
        /* see https://lists.debian.org/debian-www/2011/08/msg00181.html */
        /* white-space: pre; */

Reply to: