Fix semantics and accessibility issues

This commit is contained in:
BatJan
2020-05-24 21:30:38 +02:00
committed by Sebastiaan Janssen
parent a70f95b4e5
commit dc5d418477
3 changed files with 58 additions and 33 deletions

View File

@@ -56,7 +56,7 @@ a.text-success:focus { color: darken(@successText, 10%); }
// Headings
// -------------------------
h1, h2, h3, h4, h5, h6 {
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
margin: (@baseLineHeight / 2) 0;
font-family: @headingsFontFamily;
font-weight: @headingsFontWeight;
@@ -70,21 +70,21 @@ h1, h2, h3, h4, h5, h6 {
}
}
h1,
h2,
h3 { line-height: @baseLineHeight * 2; }
h1, .h1,
h2, .h2,
h3, .h3 { line-height: @baseLineHeight * 2; }
h1 { font-size: @baseFontSize * 2.75; } // ~38px
h2 { font-size: @baseFontSize * 2.25; } // ~32px
h3 { font-size: @baseFontSize * 1.75; } // ~24px
h4 { font-size: @baseFontSize * 1.25; } // ~18px
h5 { font-size: @baseFontSize; }
h6 { font-size: @baseFontSize * 0.85; } // ~12px
h1, .h1 { font-size: @baseFontSize * 2.75; } // ~38px
h2, .h2 { font-size: @baseFontSize * 2.25; } // ~32px
h3, .h3 { font-size: @baseFontSize * 1.75; } // ~24px
h4, .h4 { font-size: @baseFontSize * 1.25; } // ~18px
h5, .h5 { font-size: @baseFontSize; }
h6, .h6 { font-size: @baseFontSize * 0.85; } // ~12px
h1 small { font-size: @baseFontSize * 1.75; } // ~24px
h2 small { font-size: @baseFontSize * 1.25; } // ~18px
h3 small { font-size: @baseFontSize; }
h4 small { font-size: @baseFontSize; }
h1 small, .h1 small { font-size: @baseFontSize * 1.75; } // ~24px
h2 small, .h2 small { font-size: @baseFontSize * 1.25; } // ~18px
h3 small, .h3 small { font-size: @baseFontSize; }
h4 small, .h4 small { font-size: @baseFontSize; }
// Page header