-
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.
Merge pull request #1204 from alphagov/revert-1200-update-taxonomy-si…
…debar-design Revert "Update design of taxonomy sidebar"
- Loading branch information
Showing
5 changed files
with
23 additions
and
34 deletions.
There are no files selected for viewing
38 changes: 15 additions & 23 deletions
38
app/assets/stylesheets/govuk-component/_taxonomy-sidebar.scss
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,37 +1,29 @@ | ||
.govuk-taxonomy-sidebar { | ||
border-top: 2px solid $govuk-blue; | ||
padding-top: $gutter-half; | ||
border-top: 10px solid $mainstream-brand; | ||
padding-top: 5px; | ||
@include core-16; | ||
|
||
.govuk-taxonomy-sidebar__heading { | ||
margin-top: 0; | ||
margin-bottom: $gutter-one-third; | ||
@include bold-19; | ||
h2 { | ||
@include bold-24; | ||
margin-top: 0.3em; | ||
margin-bottom: 0.5em; | ||
} | ||
|
||
.taxon-description { | ||
margin-top: 0; | ||
margin-bottom: $gutter-one-third; | ||
} | ||
|
||
a { | ||
text-decoration: none; | ||
} | ||
|
||
nav { | ||
margin-bottom: $gutter; | ||
} | ||
|
||
li { | ||
padding: 0; | ||
list-style-type: none; | ||
margin-bottom: $gutter-one-third; | ||
margin-bottom: 0.75em; | ||
} | ||
|
||
ul { | ||
// reset the default browser styles | ||
padding: 0; | ||
margin: 0; | ||
list-style: none; | ||
margin-bottom: 1.25em; | ||
} | ||
|
||
li { | ||
// reset the default browser styles | ||
padding: 0; | ||
margin-bottom: 0.75em; | ||
} | ||
} | ||
} |
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 |
---|---|---|
|
@@ -32,5 +32,3 @@ en: | |
related_items: | ||
more: "More" | ||
in: "in" | ||
taxonomy_sidebar: | ||
related_content: "Related content" |
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