From e0385a9fef76bcbd8e69d92b407af6c8f1578af3 Mon Sep 17 00:00:00 2001 From: Aleksander Wasaznik Date: Thu, 18 Aug 2016 00:25:47 +0200 Subject: [PATCH] Autohyphenate

Add hyphens:auto to

to remove the ugly gaps introduced by text-align: justified. This may cause some unwanted hyphenation on e.g. email addresses. We should strive to not have long unbreakable words. For record; command for adding html tag to all relevant files: $ find -type f -exec sed -i '/DOCTYPE/ a ' {} + --- www/anime/index.html | 1 + www/css/style.css | 3 ++- www/index.php | 1 + www/kurs/index.html | 1 + www/nerdepitsa/index.html | 1 + www/prosjekt/index.html | 1 + www/soek/PR.html | 1 + www/soek/drift.html | 1 + www/soek/index.html | 1 + www/soek/styret.html | 1 + www/soek/trikom.html | 1 + www/sosiale/index.html | 1 + 12 files changed, 13 insertions(+), 1 deletion(-) diff --git a/www/anime/index.html b/www/anime/index.html index 5156bdc..8289cb2 100755 --- a/www/anime/index.html +++ b/www/anime/index.html @@ -1,4 +1,5 @@ + Sosialverkstedet diff --git a/www/css/style.css b/www/css/style.css index 0288e53..ab6106e 100644 --- a/www/css/style.css +++ b/www/css/style.css @@ -50,6 +50,7 @@ article { } article p { text-align: justify; + hyphens: auto; } article:first-child { border-radius: .5rem .5rem 0 0; @@ -145,4 +146,4 @@ a.btn:active { top: 13rem; height: 13em; } -} \ No newline at end of file +} diff --git a/www/index.php b/www/index.php index dfa291d..f529b44 100644 --- a/www/index.php +++ b/www/index.php @@ -1,4 +1,5 @@ + Programvareverkstedet diff --git a/www/kurs/index.html b/www/kurs/index.html index 1f53baf..6b7fa58 100644 --- a/www/kurs/index.html +++ b/www/kurs/index.html @@ -1,4 +1,5 @@ + Kursverkstedet diff --git a/www/nerdepitsa/index.html b/www/nerdepitsa/index.html index 94aa03e..3aedba0 100755 --- a/www/nerdepitsa/index.html +++ b/www/nerdepitsa/index.html @@ -1,4 +1,5 @@ + Sosialverkstedet diff --git a/www/prosjekt/index.html b/www/prosjekt/index.html index f12ec74..d9c48ec 100644 --- a/www/prosjekt/index.html +++ b/www/prosjekt/index.html @@ -1,4 +1,5 @@ + Prosjektverkstedet diff --git a/www/soek/PR.html b/www/soek/PR.html index 210e434..9c88ae0 100644 --- a/www/soek/PR.html +++ b/www/soek/PR.html @@ -1,4 +1,5 @@ + Prosjektverkstedet diff --git a/www/soek/drift.html b/www/soek/drift.html index 3b8b9af..8d99228 100644 --- a/www/soek/drift.html +++ b/www/soek/drift.html @@ -1,4 +1,5 @@ + Prosjektverkstedet diff --git a/www/soek/index.html b/www/soek/index.html index 8f4d2fd..ceedc24 100644 --- a/www/soek/index.html +++ b/www/soek/index.html @@ -1,4 +1,5 @@ + Prosjektverkstedet diff --git a/www/soek/styret.html b/www/soek/styret.html index bcf57b3..3d9c567 100644 --- a/www/soek/styret.html +++ b/www/soek/styret.html @@ -1,4 +1,5 @@ + Prosjektverkstedet diff --git a/www/soek/trikom.html b/www/soek/trikom.html index 4869dd2..c278a2b 100644 --- a/www/soek/trikom.html +++ b/www/soek/trikom.html @@ -1,4 +1,5 @@ + Prosjektverkstedet diff --git a/www/sosiale/index.html b/www/sosiale/index.html index 730bfb7..7cff1b0 100644 --- a/www/sosiale/index.html +++ b/www/sosiale/index.html @@ -1,4 +1,5 @@ + Sosialverkstedet