From 2949aba2bb08efc85cce8e698954bb763705b4ce 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 b17e0da..ca2c500 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 a4ac80d..057bd25 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; @@ -154,4 +155,4 @@ a.btn:active { } .collapsable:target { display: block; -} \ No newline at end of file +} diff --git a/www/index.php b/www/index.php index 568fa34..5c5c56f 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 9a1db84..88b9836 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 83ab6d1..563720a 100644 --- a/www/sosiale/index.html +++ b/www/sosiale/index.html @@ -1,4 +1,5 @@ + Sosialverkstedet