From 52f7d2c3f926625737be69430278870e339227c2 Mon Sep 17 00:00:00 2001
From: Christoph Groth <christoph.groth@cea.fr>
Date: Sat, 4 May 2013 20:43:35 +0200
Subject: [PATCH] enable text justification and hyphenation

---
 content/common/kwant.css | 7 +++++++
 templates/base.mako      | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/content/common/kwant.css b/content/common/kwant.css
index 59f0ae0..6b9fd7c 100644
--- a/content/common/kwant.css
+++ b/content/common/kwant.css
@@ -5,6 +5,13 @@ body {
     max-width: 60em;
     margin: 0 auto;
     font-family: "Bitstream Vera Serif",  Georgia, serif;
+
+    text-align:justify;
+    -webkit-hyphens: auto;
+    -moz-hyphens: auto;
+    -ms-hyphens: auto;
+    -o-hyphens: auto;
+    hyphens: auto;
 }
 
 ul.navigation{
diff --git a/templates/base.mako b/templates/base.mako
index c67617e..03bcb91 100644
--- a/templates/base.mako
+++ b/templates/base.mako
@@ -1,7 +1,7 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
 
-<html xmlns="http://www.w3.org/1999/xhtml">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
 
 <head>
 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
-- 
GitLab