word break rules and hyphens where possible for titles

This commit is contained in:
Hakim El Hattab 2012-11-23 19:26:16 -05:00
parent 0ac4c6e585
commit 1732d67cf5
2 changed files with 15 additions and 1 deletions

View File

@ -78,6 +78,20 @@ body {
* HEADERS * 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 h1 { font-size: 3.77em; }
.reveal h2 { font-size: 2.11em; } .reveal h2 { font-size: 2.11em; }
.reveal h3 { font-size: 1.55em; } .reveal h3 { font-size: 1.55em; }

2
css/reveal.min.css vendored

File diff suppressed because one or more lines are too long