Skip to content
Snippets Groups Projects
Commit 07b3f0a1 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2400233 by emma.maria, rpayanm, Katiemouse, LewisNyman: Add reusable...

Issue #2400233 by emma.maria, rpayanm, Katiemouse, LewisNyman: Add reusable heading classes to Bartik
parent 22a1fd62
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -30,34 +30,51 @@ h2 a, ...@@ -30,34 +30,51 @@ h2 a,
.toolbar a { .toolbar a {
border-bottom: none !important; border-bottom: none !important;
} }
/**
* Reusable heading classes are included to help modules change the styling of
* headings on a page without affecting accessibility
*/
h1, h1,
h2, h2,
h3, h3,
h4, h4,
h5, h5,
h6 { h6,
.heading-a,
.heading-b,
.heading-c,
.heading-d,
.heading-e,
.heading-f {
margin: 1.0em 0 0.5em; margin: 1.0em 0 0.5em;
font-weight: inherit; font-weight: inherit;
} }
h1 { h1,
.heading-a {
font-size: 1.357em; font-size: 1.357em;
color: #000; color: #000;
} }
h2 { h2,
.heading-b {
font-size: 1.143em; font-size: 1.143em;
} }
h3 { h3,
.heading-c {
font-size: 1.092em; font-size: 1.092em;
} }
h4 { h4,
.heading-d {
font-size: 1.05em; font-size: 1.05em;
} }
h5 { h5,
.heading-e {
font-size: 0.889em; font-size: 0.889em;
text-transform: uppercase; text-transform: uppercase;
letter-spacing: 0.1em; letter-spacing: 0.1em;
} }
h6 { h6,
.heading-f {
font-size: 0.67em; font-size: 0.67em;
text-transform: uppercase; text-transform: uppercase;
letter-spacing: 0.1em; letter-spacing: 0.1em;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment