Skip to content

Commit

Permalink
Merge pull request #73 from dxw/fix/529-only-visited-links-should-be-…
Browse files Browse the repository at this point in the history
…purple

Only colour visited links purple
  • Loading branch information
Calum Ryan authored May 1, 2020
2 parents a165c0c + cb7b84d commit 3dfbc6f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [3.1.2] - 2020-05-01

### Changed
- Visited link colour is only applied to visited links, rather than all links

## [3.1.1] - 2020-04-29

### Changed
Expand Down
6 changes: 5 additions & 1 deletion assets/css/common/type.scss
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,11 @@ cite {
top: -10px;
}

a, a:visited {
a {
color: $govuk-link-colour;
}

a:visited {
color: $govuk-link-visited-colour;
}

Expand Down
2 changes: 1 addition & 1 deletion build/main.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Description: This is the beta theme in use for the blogs hosted at blog.gov.uk.
* License: GNU General Public License v2.0
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
* Version: 3.1.1
* Version: 3.1.2
*
* GOV.UK Blogs theme, Copyright (c) 2013 HM Government (Government Digital Service)
* This theme is distributed under the terms of the GNU GPL, version 2.
Expand Down

0 comments on commit 3dfbc6f

Please sign in to comment.