From 750071567bc04258dc343778eaf95fae60c92843 Mon Sep 17 00:00:00 2001 From: Alex Pott <alex.a.pott@googlemail.com> Date: Tue, 3 Feb 2015 16:26:59 +0000 Subject: [PATCH] Issue #2402061 by emma.maria, Katiemouse, er.pushpinderrana: Reusable heading classes should be "heading-*" not "header-*" --- core/themes/seven/css/base/elements.css | 29 +++++++++++++++---------- 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/core/themes/seven/css/base/elements.css b/core/themes/seven/css/base/elements.css index 073d17a55ed3..618cb664e905 100644 --- a/core/themes/seven/css/base/elements.css +++ b/core/themes/seven/css/base/elements.css @@ -30,43 +30,48 @@ summary, font-weight: bold; text-transform: uppercase; } + +/** + * Reusable heading classes are included to help modules change the styling of + * headings on a page without affecting accessibility. + */ h1, h2, h3, h4, h5, h6, -.header-a, -.header-b, -.header-c, -.header-d, -.header-e, -.header-f { +.heading-a, +.heading-b, +.heading-c, +.heading-d, +.heading-e, +.heading-f { font-weight: bold; margin: 10px 0; } h1, -.header-a { +.heading-a { font-size: 1.538em; } h2, -.header-b { +.heading-b { font-size: 1.385em; } h3, -.header-c { +.heading-c { font-size: 1.231em; } h4, -.header-d { +.heading-d { font-size: 1.154em; } h5, -.header-e { +.heading-e { font-size: 1.077em; } h6, -.header-f { +.heading-f { font-size: 1.077em; } p { -- GitLab