feat: improved debate page

This commit is contained in:
Nick 2024-11-12 19:23:16 -06:00
parent 036122095e
commit bec8dc53bf
5 changed files with 330 additions and 226 deletions

View file

@ -21,7 +21,7 @@ pageList =
[ spacing 40
, centerX
, centerY
, moveDown 60
, moveDown 30
, alignTop
]
@ -47,6 +47,14 @@ transitionNonHighlightedLinkHover =
]
transitionNonHighlightedLinkHoverWithMove : Element msg -> Element msg
transitionNonHighlightedLinkHoverWithMove =
el
[ mouseOver [ F.color colourTheme.highlightText, moveRight 10 ]
, transitionStyle
]
spartanFont : F.Font
spartanFont =
F.typeface "League Spartan"
@ -143,6 +151,7 @@ paragraphAlignLeft =
[ alignLeft, paragraphWidth ]
++ paragraphText
paragraphAlignCenter : List (Attr () msg)
paragraphAlignCenter =
[ centerX, paragraphWidth ]