Skip to content

Text Spacing by v-vibsingh

Screenshot of Text Spacing

Details

Authorv-vibsingh

LicenseNo License

Categoryaccessibility

Created

Updated

Size336 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

In content implemented using markup languages that support the following text style properties, no loss of content or functionality occurs by setting all of the following and by changing no other style property:

Line height (line spacing) to at least 1.5 times the font size;

Spacing following paragraphs to at least 2 times the font size;

Letter spacing (tracking) to at least 0.12 times the font size;

Word spacing to at least 0.16 times the font size.

Notes

Exception: Human languages and scripts that do not make use of one or more of these text style properties in written text can conform using only the properties that exist for that combination of language and script.

Source code

/* ==UserStyle==
@name           Text Spacing
@namespace      userstyles.world
@version        1.0.0
==/UserStyle== */
@-moz-document domain("userstyles.world") {
* {
    line-height: 1.5 !important;
    letter-spacing: 0.12em !important;
    word-spacing: 0.16em !important;
}

p {
    margin-bottom: 2em !important;
}
}

Reviews

No reviews yet.