-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4289 from alphagov/add_header
Add header
- Loading branch information
Showing
6 changed files
with
86 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
@import "govuk_publishing_components/individual_component_support"; | ||
|
||
.landing-page-header { | ||
// I've used the hex value for the background colour as it doesn't exist in the colour palette | ||
background-color: #231F20; | ||
} | ||
|
||
.landing-page-header__blue-bar { | ||
background-color: govuk-colour("blue"); | ||
height: govuk-spacing(2); | ||
} | ||
|
||
.landing-page-header__org { | ||
padding-top: govuk-spacing(2); | ||
padding-bottom: govuk-spacing(6); | ||
|
||
// I've added this styling here rather than in the gem because it's application specific | ||
// and it would introduce further work to make this variation work in the gem without | ||
// affecting the other variants. | ||
// TODO add this as a variant in the components gem. | ||
.gem-c-organisation-logo__link:link:not(:hover) { | ||
text-decoration: none; | ||
} | ||
} |
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