-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Create a masthead component with multiple variants.
- Loading branch information
1 parent
41b8ebd
commit 5b7712d
Showing
19 changed files
with
689 additions
and
65 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -20,4 +20,5 @@ | |
'main-nav/index', | ||
'quote/index', | ||
'site-search/index', | ||
'skiplinks/index'; | ||
'skiplinks/index', | ||
'masthead/index'; |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
@charset "UTF-8"; | ||
|
||
// Masthead with center-aligned Main Nav | ||
|
||
.su-masthead--center { | ||
.su-main-nav { | ||
@include grid-media-min("lg") { | ||
> ul { | ||
justify-content: center; | ||
} | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
@charset "UTF-8"; | ||
|
||
// Masthead with dark color theme | ||
|
||
.su-masthead--dark { | ||
background-color: color(bg--reverse); | ||
|
||
.su-lockup__wordmark, | ||
.su-lockup__line1, | ||
.su-lockup__line2, | ||
.su-lockup__line3, | ||
.su-lockup__line4, | ||
.su-lockup__line5 { | ||
color: color(link--reverse); | ||
} | ||
|
||
.su-lockup__cell2 { | ||
border-color: color(link--reverse); | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
@charset "UTF-8"; | ||
|
||
// Masthead with right-aligned Main Nav | ||
|
||
.su-masthead--right { | ||
.su-main-nav { | ||
@include grid-media-min("lg") { | ||
> ul { | ||
justify-content: flex-end; | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.