Browse Source

word break rules and hyphens where possible for titles

Hakim El Hattab 12 years ago
parent
commit
1732d67cf5
2 changed files with 14 additions and 0 deletions
  1. 14 0
      css/reveal.css
  2. 0 0
      css/reveal.min.css

+ 14 - 0
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;	}

File diff suppressed because it is too large
+ 0 - 0
css/reveal.min.css


Some files were not shown because too many files changed in this diff