Sfoglia il codice sorgente

word break rules and hyphens where possible for titles

Hakim El Hattab 12 anni fa
parent
commit
1732d67cf5
2 ha cambiato i file con 14 aggiunte e 0 eliminazioni
  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