Bug#854375: [www.debian.org] Add style to <kbd> tag
Laura Arjona Reina <[email protected]>
| Newsgroups | gmane.linux.debian.devel.www |
|---|---|
| Message-ID | <78e6e8fc-d5cb-4c2b-ac27-c0f77f5832ab__7359.70822065628$1486388186$gmane$org@debian.org> |
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
debian.css.patch
(text/x-diff, 525 B)
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; */