clay-0.13.1: CSS preprocessor as embedded Haskell.

Safe HaskellNone
LanguageHaskell98

Clay.Text

Contents

Synopsis

Letter and word-spacing.

Text-rendering.

Text-shadow.

textShadow :: Size a -> Size a -> Size a -> Color -> Css Source #

Text-indent.

Supply a length — optionally annotated with each-line or hanging or both, or a global value. It is possible to apply the same annotation multiple times, but it has no defined effect.

Note browser support is currently (March 2018) non-existent, but the Prince typesetting system supports the syntax.

Formal argument syntax

<length-percentage> && hanging? && each-line?
where
<length-percentage> = <length> | <percentage>

eachLine :: TextIndent -> TextIndent Source #

Annotate the supplied TextIndent with each-line or hanging or both.

eachLine . hanging . indent $ px 3 :: TextIndent

hanging :: TextIndent -> TextIndent Source #

Annotate the supplied TextIndent with each-line or hanging or both.

eachLine . hanging . indent $ px 3 :: TextIndent

Text-direction.

Text-align.

White-space.

Text-decoration.

Text-transform.

Text-overflow.

Word-break.

Overflow-wrap (and Word-wrap).

Content.