Improved navigation
This commit is contained in:
parent
adbcebe9d2
commit
b04497649a
@ -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)
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user