mirror of
https://gitlab.com/upRootNutrition/website.git
synced 2025-06-16 04:25:11 -05:00
feat: refined some formatting
This commit is contained in:
parent
aa81fa7ad3
commit
a55ba3c627
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue