-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minor - Main page title: adding stacked header variant (#2412)
- Loading branch information
Showing
10 changed files
with
487 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,22 @@ | ||
/* H1 short bold red underline */ | ||
|
||
h1#wb-cont { | ||
h1#wb-cont, hgroup#wb-cont h1 { | ||
border-bottom: $main-page-title-rule-thickness solid $main-page-title-rule-color; | ||
border-image: linear-gradient(to right, $main-page-title-rule-color $main-page-title-rule-width, transparent $main-page-title-rule-width); | ||
border-image-slice: 1; | ||
} | ||
|
||
hgroup#wb-cont { | ||
margin-top: 1em; | ||
|
||
p { | ||
color: #555; | ||
font-size: 26px; | ||
font-weight: 500; | ||
margin-bottom: .17em; | ||
} | ||
|
||
h1 { | ||
margin-top: 0; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,8 @@ | ||
{%- if page.sectionTitle -%} | ||
<hgroup id="wb-cont"> | ||
<p>{{ page.sectionTitle }}</p> | ||
<h1 property="name">{{ page.title }}</h1> | ||
</hgroup> | ||
{%- else -%} | ||
<h1 property="name" id="wb-cont">{{ page.title }}</h1> | ||
{%- endif -%} |
Oops, something went wrong.