Skip to content

Commit

Permalink
Fixed color contrast ratios
Browse files Browse the repository at this point in the history
  • Loading branch information
madskristensen committed Aug 18, 2017
1 parent 22aae88 commit 4d07105
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 14 deletions.
2 changes: 2 additions & 0 deletions src/TagHelpers/PagingTagHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ public override void Process(TagHelperContext context, TagHelperOutput output)
output.Content.AppendHtml("<span>&lt; Prev</span>");
}

output.Content.AppendHtml(" | ");

if (Model.Next != null)
{
output.Content.AppendHtml($"<a href=\"{Model.Next.Link}\" rel=\"next\" title=\"{Model.Next.Name}\">Next &gt;</a>");
Expand Down
21 changes: 7 additions & 14 deletions src/wwwroot/css/site.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
$header-bgcolor: #555;
$header-color: #f5f5f5;
$link-color: #1270c4;
$body-color: #555;
$body-bgcolor: #f5f5f5;
$header-bgcolor: #444;
$header-color: #fff;
$body-color: #444;
$body-bgcolor: #fff;
$link-color: #0e5494;
$footer-height: 30px;

html {
Expand Down Expand Up @@ -40,12 +40,12 @@ header {

h1 a {
color: $header-color;
text-decoration: none;
}
}

a {
color: $link-color;
text-decoration: none;
}

#title {
Expand All @@ -63,13 +63,6 @@ a {
> nav {
float: right;
}


> nav > :nth-child(2):before {
content: " |";
margin-right: 5px;
text-decoration: none;
}
}

.pic a {
Expand Down Expand Up @@ -177,4 +170,4 @@ footer {
.photo img {
height: auto;
}
}
}

0 comments on commit 4d07105

Please sign in to comment.