diff --git a/assets/css/_nav.scss b/assets/css/_nav.scss index 409067d..5bd1b1e 100644 --- a/assets/css/_nav.scss +++ b/assets/css/_nav.scss @@ -1,4 +1,4 @@ -header[role='banner'] { +[role='banner'] { background: $black; margin-bottom: 1em; padding: 0.5em 0; @@ -11,7 +11,16 @@ header[role='banner'] { flex: 0; } - nav.user-nav { + a { + color: $white; + text-decoration: none; + + &:hover { + color: $link-color; + } + } + + .user-nav { flex: 1; text-align: right; } diff --git a/lib/chess_web/templates/layout/app.html.eex b/lib/chess_web/templates/layout/app.html.eex index a61d834..e6afcae 100644 --- a/lib/chess_web/templates/layout/app.html.eex +++ b/lib/chess_web/templates/layout/app.html.eex @@ -14,7 +14,7 @@
-

<%= gettext "Chess" %>

+

<%= link gettext("Chess"), to: page_path(@conn, :index) %>