Bulma: simple quotes.
This commit is contained in:
parent
0605cf1a05
commit
d8c78e4370
@ -544,6 +544,11 @@ div_content content = HH.div [HP.classes (C.content)] content
|
|||||||
explanation :: forall w i. Array (HH.HTML w i) -> HH.HTML w i
|
explanation :: forall w i. Array (HH.HTML w i) -> HH.HTML w i
|
||||||
explanation content = HH.blockquote [HP.classes [HH.ClassName "justified"]] content
|
explanation content = HH.blockquote [HP.classes [HH.ClassName "justified"]] content
|
||||||
|
|
||||||
|
quote :: forall w i. Array (HH.HTML w i) -> HH.HTML w i
|
||||||
|
quote content = div_content [ explanation content ]
|
||||||
|
|
||||||
|
simple_quote :: forall w i. String -> HH.HTML w i
|
||||||
|
simple_quote content = quote [ p content ]
|
||||||
|
|
||||||
tabs :: forall w i. Array HH.ClassName -> Array (HH.HTML w i) -> HH.HTML w i
|
tabs :: forall w i. Array HH.ClassName -> Array (HH.HTML w i) -> HH.HTML w i
|
||||||
tabs classes tab_list = HH.div [HP.classes $ C.tabs <> classes] [HH.ul_ tab_list]
|
tabs classes tab_list = HH.div [HP.classes $ C.tabs <> classes] [HH.ul_ tab_list]
|
||||||
|
Loading…
Reference in New Issue
Block a user