summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2015-02-03 10:02:25 (GMT)
committerAlex Pott2015-02-03 10:02:25 (GMT)
commit07b3f0a1fee83e0a405f569faf71f91365271f08 (patch)
treef45ad52d9949177384fb504650f41498caf16e82
parent22a1fd62cf29b42e71ff05c3230ad11b360aa905 (diff)
Issue #2400233 by emma.maria, rpayanm, Katiemouse, LewisNyman: Add reusable heading classes to Bartik
-rw-r--r--core/themes/bartik/css/base/elements.css31
1 files changed, 24 insertions, 7 deletions
diff --git a/core/themes/bartik/css/base/elements.css b/core/themes/bartik/css/base/elements.css
index 907d52d..bc930d0 100644
--- a/core/themes/bartik/css/base/elements.css
+++ b/core/themes/bartik/css/base/elements.css
@@ -30,34 +30,51 @@ h2 a,
.toolbar a {
border-bottom: none !important;
}
+
+/**
+ * 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 {
+h6,
+.heading-a,
+.heading-b,
+.heading-c,
+.heading-d,
+.heading-e,
+.heading-f {
margin: 1.0em 0 0.5em;
font-weight: inherit;
}
-h1 {
+h1,
+.heading-a {
font-size: 1.357em;
color: #000;
}
-h2 {
+h2,
+.heading-b {
font-size: 1.143em;
}
-h3 {
+h3,
+.heading-c {
font-size: 1.092em;
}
-h4 {
+h4,
+.heading-d {
font-size: 1.05em;
}
-h5 {
+h5,
+.heading-e {
font-size: 0.889em;
text-transform: uppercase;
letter-spacing: 0.1em;
}
-h6 {
+h6,
+.heading-f {
font-size: 0.67em;
text-transform: uppercase;
letter-spacing: 0.1em;