From cbcb76f7a7c01d69a6971357511a39b19ea1a91b Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Tue, 21 Jan 2020 09:14:26 +0100 Subject: [PATCH] Remove justify and hyphens In order to increase readability accordingly to an frontend dev. --- Resources/Private/Sass/layout/_content.scss | 26 --------------------- 1 file changed, 26 deletions(-) diff --git a/Resources/Private/Sass/layout/_content.scss b/Resources/Private/Sass/layout/_content.scss index 6f07460..1a9bd39 100644 --- a/Resources/Private/Sass/layout/_content.scss +++ b/Resources/Private/Sass/layout/_content.scss @@ -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; - } -}