mirror of
https://gitlab.com/upRootNutrition/website.git
synced 2025-06-16 20:35:13 -05:00
feat: standardized formatting conventions across pages
This commit is contained in:
parent
ead41f0ed0
commit
5e25267fbe
3 changed files with 39 additions and 62 deletions
|
@ -169,14 +169,19 @@ myTooltip str =
|
|||
, D.rounded 5
|
||||
, D.width 2
|
||||
, F.center
|
||||
, clip
|
||||
, E.width <| px 300
|
||||
, D.color colourTheme.highlightText
|
||||
, F.size 15
|
||||
, D.shadow
|
||||
{ offset = ( 0, 3 ), blur = 6, size = 0, color = rgba 0 0 0 0.32 }
|
||||
, E.htmlAttribute (H.style "position" "fixed")
|
||||
, E.htmlAttribute (H.style "z-index" "9999")
|
||||
, F.color colourTheme.nonHighlightedText
|
||||
, F.regular
|
||||
, F.size 14
|
||||
]
|
||||
(text str)
|
||||
|> el [ F.color colourTheme.nonHighlightedText, F.regular, F.size 14 ]
|
||||
|
||||
|
||||
tooltip : (Element msg -> Attribute msg) -> Element Never -> Attribute msg
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue