Remove justify and hyphens

In order to increase readability accordingly to an frontend dev.
This commit is contained in:
Daniel Siepmann 2020-01-21 09:14:26 +01:00
parent 035c4349cf
commit cbcb76f7a7

View file

@ -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;
}
}