Improved navigation
This commit is contained in:
parent
adbcebe9d2
commit
b04497649a
@ -5,7 +5,7 @@ component Navigation
|
|||||||
NavigationButton("Forum", "/forum", "comment")
|
NavigationButton("Forum", "/forum", "comment")
|
||||||
NavigationButton("Genres", "/genres", "tags")
|
NavigationButton("Genres", "/genres", "tags")
|
||||||
NavigationButton("Airing", "/airing", "rss")
|
NavigationButton("Airing", "/airing", "rss")
|
||||||
NavigationButton("Users", "/users", "globe")
|
//- NavigationButton("Users", "/users", "globe")
|
||||||
|
|
||||||
component NavigationButton(name string, target string, icon string)
|
component NavigationButton(name string, target string, icon string)
|
||||||
a.navigation-link.ajax(href=target)
|
a.navigation-link.ajax(href=target)
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
#navigation
|
#navigation
|
||||||
horizontal
|
horizontal
|
||||||
padding 0 content-padding
|
padding 0 content-padding
|
||||||
height nav-height
|
|
||||||
overflow hidden
|
overflow hidden
|
||||||
background-color nav-color
|
background-color nav-color
|
||||||
justify-content center
|
justify-content center
|
||||||
@ -32,7 +31,7 @@
|
|||||||
text-shadow 1px 1px 3px rgba(4, 4, 4, 0.1)
|
text-shadow 1px 1px 3px rgba(4, 4, 4, 0.1)
|
||||||
|
|
||||||
.navigation-button
|
.navigation-button
|
||||||
font-size 1.1em
|
font-size 1.5em
|
||||||
line-height 1em
|
line-height 1em
|
||||||
padding 0.75em 1em
|
padding 0.75em 1em
|
||||||
|
|
||||||
@ -40,6 +39,9 @@
|
|||||||
display none
|
display none
|
||||||
|
|
||||||
> 930px
|
> 930px
|
||||||
|
.navigation-button
|
||||||
|
font-size 1.1em
|
||||||
|
|
||||||
#navigation
|
#navigation
|
||||||
justify-content flex-start
|
justify-content flex-start
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user