mirror of
https://gitlab.com/upRootNutrition/website.git
synced 2025-06-16 12:25:12 -05:00
feat: changed navbar formatting
This commit is contained in:
parent
68b6a45d6c
commit
31e9d1cef2
2 changed files with 15 additions and 5 deletions
|
@ -48,11 +48,19 @@ transitionNonHighlightedLinkHover =
|
|||
|
||||
|
||||
transitionNonHighlightedLinkHoverWithMove : Element msg -> Element msg
|
||||
transitionNonHighlightedLinkHoverWithMove =
|
||||
transitionNonHighlightedLinkHoverWithMove content =
|
||||
el
|
||||
[ mouseOver [ F.color colourTheme.highlightText, moveRight 10 ]
|
||||
, transitionStyle
|
||||
[ width fill
|
||||
, height (px 30)
|
||||
]
|
||||
(el
|
||||
[ centerX
|
||||
, centerY
|
||||
, mouseOver [ F.color colourTheme.highlightText, F.size 25 ]
|
||||
, transitionStyle
|
||||
]
|
||||
content
|
||||
)
|
||||
|
||||
|
||||
spartanFont : F.Font
|
||||
|
@ -68,6 +76,7 @@ imageSpacer =
|
|||
navBarLinkFormat : List (Attr () msg)
|
||||
navBarLinkFormat =
|
||||
[ F.size 15
|
||||
, centerX
|
||||
|
||||
-- , F.bold
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue