feat: refined some formatting

This commit is contained in:
Nick 2024-11-14 19:40:16 -06:00
parent aa81fa7ad3
commit a55ba3c627

View file

@ -18,13 +18,13 @@ import View exposing (View)
makeDodge : Dodge -> Int -> Element msg makeDodge : Dodge -> Int -> Element msg
makeDodge dodgeEntry index = makeDodge dodgeEntry index =
column paragraphAlignLeft column paragraphAlignLeft
[ row paragraphFormat [ row (paragraphFormat++[F.size 18])
[ text " " [ text " "
, text (String.fromInt index ++ ". ") , text (String.fromInt index ++ ". ")
, paragraphLinkFormat , paragraphLinkFormat
{ url = dodgeEntry.dodgeLink { url = dodgeEntry.dodgeLink
, label = , label =
row [] row [F.size 18]
[ transitionHighlightedLinkHover <| [ transitionHighlightedLinkHover <|
text text
(case dodgeEntry.dodgeDescription of (case dodgeEntry.dodgeDescription of
@ -122,14 +122,14 @@ cuckMaker cuck =
, column , column
paragraphAlignLeft paragraphAlignLeft
[ row nonHighlightedTitleFormat [ text cuck.cuckName ] [ row nonHighlightedTitleFormat [ text cuck.cuckName ]
, row paragraphBoldFormat , row (paragraphBoldFormat++[F.size 18])
[ text "Social:" [ text "Social:"
, paragraphLinkFormat , paragraphLinkFormat
{ url = cuck.cuckSocial { url = cuck.cuckSocial
, label = transitionHighlightedLinkHover <| text (formatCuckSocial cuck.cuckSocial) , label = transitionHighlightedLinkHover <| text (formatCuckSocial cuck.cuckSocial)
} }
] ]
, row paragraphBoldFormat [ text "Dodges:" ] , row (paragraphBoldFormat++[F.size 18]) [ text "Dodges:" ]
, column [ spacing 8 ] <| , column [ spacing 8 ] <|
List.map2 (\x y -> makeDodge x y) List.map2 (\x y -> makeDodge x y)
cuck.cuckDodges cuck.cuckDodges