aboutsummaryrefslogtreecommitdiff
path: root/css/reveal.css
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2012-11-23 19:26:16 -0500
committerHakim El Hattab <hakim.elhattab@gmail.com>2012-11-23 19:26:16 -0500
commit1732d67cf5920a6e12b7420ee81750145c7ba08f (patch)
tree30bbc137ea6a118642a4c00b907d3e9a874db3c6 /css/reveal.css
parent0ac4c6e58541c917a59a8a4fc4171ff2d31780a6 (diff)
downloadfreenode-live-2017-presentation-1732d67cf5920a6e12b7420ee81750145c7ba08f.tar
freenode-live-2017-presentation-1732d67cf5920a6e12b7420ee81750145c7ba08f.tar.gz
word break rules and hyphens where possible for titles
Diffstat (limited to 'css/reveal.css')
-rw-r--r--css/reveal.css14
1 files changed, 14 insertions, 0 deletions
diff --git a/css/reveal.css b/css/reveal.css
index b35bdab..6cfcc70 100644
--- a/css/reveal.css
+++ b/css/reveal.css
@@ -78,6 +78,20 @@ body {
* HEADERS
*********************************************/
+.reveal h1,
+.reveal h2,
+.reveal h3,
+.reveal h4,
+.reveal h5,
+.reveal h6 {
+ -webkit-hyphens: auto;
+ -moz-hyphens: auto;
+ hyphens: auto;
+
+ word-break: break-all;
+ word-break: break-word;
+}
+
.reveal h1 { font-size: 3.77em; }
.reveal h2 { font-size: 2.11em; }
.reveal h3 { font-size: 1.55em; }