Commit 441f9d67 authored by Kevin Locke's avatar Kevin Locke

Support .h1 in place of h1 inside .jumbotron

As in #7284, it can often be useful to style text like a heading in
places where using the heading tag would be either semantically
incorrect, less accessible, or otherwise invalid.

Support this in .jumbotron as in the rest of the document by allowing
elements with class .h1 to stand in for the h1 element.
Signed-off-by: default avatarKevin Locke <kevin@kevinlocke.name>
parent 867e2bef
......@@ -5195,7 +5195,8 @@ a.list-group-item.active > .badge,
background-color: #eeeeee;
}
.jumbotron h1 {
.jumbotron h1,
.jumbotron .h1 {
line-height: 1;
color: inherit;
}
......@@ -5217,7 +5218,8 @@ a.list-group-item.active > .badge,
padding-right: 60px;
padding-left: 60px;
}
.jumbotron h1 {
.jumbotron h1,
.jumbotron .h1 {
font-size: 63px;
}
}
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -12,7 +12,8 @@
color: @jumbotron-color;
background-color: @jumbotron-bg;
h1 {
h1,
.h1 {
line-height: 1;
color: @jumbotron-heading-color;
}
......@@ -33,7 +34,8 @@
padding-right: (@jumbotron-padding * 2);
}
h1 {
h1,
.h1 {
font-size: (@font-size-base * 4.5);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment