From 457885075f8fa004f3a190efdcf381af218e1bb7 Mon Sep 17 00:00:00 2001 From: Steven Black Date: Wed, 25 Feb 2015 04:00:37 +0200 Subject: Javascript docs: Accessibility and cosmetic changes to headings. Closes #15915 by merging it. --- docs/assets/css/src/docs.css | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs/assets/css') diff --git a/docs/assets/css/src/docs.css b/docs/assets/css/src/docs.css index 3c88d4865..d95ba093c 100644 --- a/docs/assets/css/src/docs.css +++ b/docs/assets/css/src/docs.css @@ -28,6 +28,13 @@ body { font-weight: normal; } +/* Inline code within headings retain the heading's background-color */ +h2 code, +h3 code, +h4 code { + background-color: inherit; +} + /* Outline button for use within the docs */ .btn-outline { color: #563d7c; -- cgit v1.2.3