| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Hledger.Write.Html.Attribute
Description
Helpers and CSS styles for HTML output.
Synopsis
- stylesheet :: [(Text, Text)] -> Text
- tableStylesheet :: Text
- tableStyle :: [(Text, Text)]
- borderStyle :: [(Text, Text)]
- bold :: Text
- alignright :: Text
- alignleft :: Text
- aligncenter :: Text
- collapse :: Text
- lpad :: Text
- rpad :: Text
- hpad :: Text
- vpad :: Text
Documentation
stylesheet :: [(Text, Text)] -> Text Source #
tableStylesheet :: Text Source #
tableStyle :: [(Text, Text)] Source #
borderStyle :: [(Text, Text)] Source #
Rules for the border classes emitted by Hledger.Write.Html,
one per side and line kind, eg .border-top-double. No color is given,
so the lines take the text color and stay visible on any background.
alignright :: Text Source #
aligncenter :: Text Source #