Improved navigation

This commit is contained in:
Eduard Urbach 2016-12-06 20:06:13 +09:00
parent adbcebe9d2
commit b04497649a
2 changed files with 5 additions and 3 deletions

View File

@ -5,7 +5,7 @@ component Navigation
NavigationButton("Forum", "/forum", "comment")
NavigationButton("Genres", "/genres", "tags")
NavigationButton("Airing", "/airing", "rss")
NavigationButton("Users", "/users", "globe")
//- NavigationButton("Users", "/users", "globe")
component NavigationButton(name string, target string, icon string)
a.navigation-link.ajax(href=target)

View File

@ -1,7 +1,6 @@
#navigation
horizontal
padding 0 content-padding
height nav-height
overflow hidden
background-color nav-color
justify-content center
@ -32,7 +31,7 @@
text-shadow 1px 1px 3px rgba(4, 4, 4, 0.1)
.navigation-button
font-size 1.1em
font-size 1.5em
line-height 1em
padding 0.75em 1em
@ -40,6 +39,9 @@
display none
> 930px
.navigation-button
font-size 1.1em
#navigation
justify-content flex-start