From 1043b0a4b91bc5e41809b41eede736bc9601c802 Mon Sep 17 00:00:00 2001 From: Anton Akhmerov <anton.akhmerov@gmail.com> Date: Wed, 25 Nov 2015 13:43:35 +0100 Subject: [PATCH] restore hyphenation --- themes/kwant/assets/css/custom.css | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/themes/kwant/assets/css/custom.css b/themes/kwant/assets/css/custom.css index bc118c0..f46322f 100644 --- a/themes/kwant/assets/css/custom.css +++ b/themes/kwant/assets/css/custom.css @@ -40,3 +40,20 @@ footer { margin-left: 0px; margin-right: 0px; } + +/* Enable hyphenation. */ +body { + text-align:justify; + -webkit-hyphens: auto; + -moz-hyphens: auto; + -ms-hyphens: auto; + -o-hyphens: auto; + hyphens: auto; +} +tt, pre { + -webkit-hyphens: none; + -moz-hyphens: none; + -ms-hyphens: none; + -o-hyphens: none; + hyphens: none; +} -- GitLab