Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
deeb74e3
Commit
deeb74e3
authored
9 years ago
by
Chris Rebert
Browse files
Options
Download
Email Patches
Plain Diff
Make heading class styles trump heading element styles; fixes #16947
[skip sauce] [skip validator]
parent
a30a5bb9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scss/_type.scss
+16
-6
scss/_type.scss
with
16 additions
and
6 deletions
+16
-6
scss/_type.scss
+
16
-
6
View file @
deeb74e3
...
@@ -21,12 +21,22 @@ h6, .h6 {
...
@@ -21,12 +21,22 @@ h6, .h6 {
margin-bottom
:
$headings-margin-bottom
;
margin-bottom
:
$headings-margin-bottom
;
}
}
h1
,
.h1
{
font-size
:
$font-size-h1
;
}
h1
{
font-size
:
$font-size-h1
;
}
h2
,
.h2
{
font-size
:
$font-size-h2
;
}
h2
{
font-size
:
$font-size-h2
;
}
h3
,
.h3
{
font-size
:
$font-size-h3
;
}
h3
{
font-size
:
$font-size-h3
;
}
h4
,
.h4
{
font-size
:
$font-size-h4
;
}
h4
{
font-size
:
$font-size-h4
;
}
h5
,
.h5
{
font-size
:
$font-size-h5
;
}
h5
{
font-size
:
$font-size-h5
;
}
h6
,
.h6
{
font-size
:
$font-size-h6
;
}
h6
{
font-size
:
$font-size-h6
;
}
// These declarations are kept separate from and placed after
// the previous tag-based declarations so that the classes beat the tags in
// the CSS cascade, and thus <h1 class="h2"> will be styled like an h2.
.h1
{
font-size
:
$font-size-h1
;
}
.h2
{
font-size
:
$font-size-h2
;
}
.h3
{
font-size
:
$font-size-h3
;
}
.h4
{
font-size
:
$font-size-h4
;
}
.h5
{
font-size
:
$font-size-h5
;
}
.h6
{
font-size
:
$font-size-h6
;
}
.lead
{
.lead
{
font-size
:
$lead-font-size
;
font-size
:
$lead-font-size
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets