Remove justify and hyphens
In order to increase readability accordingly to an frontend dev.
This commit is contained in:
parent
035c4349cf
commit
cbcb76f7a7
1 changed files with 0 additions and 26 deletions
|
@ -117,29 +117,3 @@ aside {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Make main text on pages and blog posts readable
|
|
||||||
article main,
|
|
||||||
main > section {
|
|
||||||
-webkit-hyphens: auto;
|
|
||||||
-ms-hyphens: auto;
|
|
||||||
hyphens: auto;
|
|
||||||
|
|
||||||
li,
|
|
||||||
p {
|
|
||||||
// SOURCE: https://kenneth.io/blog/2012/03/04/word-wrapping-hypernation-using-css/
|
|
||||||
/* Warning: Needed for oldIE support, but words are broken up letter-by-letter */
|
|
||||||
word-break: break-all;
|
|
||||||
|
|
||||||
/* Non standard for webkit */
|
|
||||||
word-break: break-word;
|
|
||||||
}
|
|
||||||
|
|
||||||
p {
|
|
||||||
text-align: justify;
|
|
||||||
}
|
|
||||||
header p {
|
|
||||||
text-align: inherit;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue