diff --git a/css/reveal.css b/css/reveal.css index 6637bd33..71cfdb61 100644 --- a/css/reveal.css +++ b/css/reveal.css @@ -66,26 +66,6 @@ body { } -/********************************************* - * HEADERS - *********************************************/ - -.reveal h1, -.reveal h2, -.reveal h3, -.reveal h4, -.reveal h5, -.reveal h6 { - word-wrap: break-word; - line-height: 1; -} - -.reveal h1 { font-size: 3.77em; } -.reveal h2 { font-size: 2.11em; } -.reveal h3 { font-size: 1.55em; } -.reveal h4 { font-size: 1em; } - - /********************************************* * VIEW FRAGMENTS *********************************************/ @@ -439,8 +419,6 @@ body { padding: 20px 0px; z-index: 10; - line-height: 1.2em; - font-weight: inherit; -webkit-transform-style: preserve-3d; -moz-transform-style: preserve-3d; diff --git a/css/theme/beige.css b/css/theme/beige.css index 94ba61fc..685f490e 100644 --- a/css/theme/beige.css +++ b/css/theme/beige.css @@ -35,6 +35,11 @@ body { background: rgba(79, 64, 28, 0.99); text-shadow: none; } +.reveal .slides > section, +.reveal .slides > section > section { + line-height: 1.2em; + font-weight: inherit; } + /********************************************* * HEADERS *********************************************/ @@ -50,7 +55,20 @@ body { line-height: 1em; letter-spacing: 0.02em; text-transform: uppercase; - text-shadow: none; } + text-shadow: none; + word-wrap: break-word; } + +.reveal h1 { + font-size: 3.77em; } + +.reveal h2 { + font-size: 2.11em; } + +.reveal h3 { + font-size: 1.55em; } + +.reveal h4 { + font-size: 1em; } .reveal h1 { text-shadow: 0 1px 0 #cccccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbbbbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaaaaa, 0 6px 1px rgba(0, 0, 0, 0.1), 0 0 5px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.3), 0 3px 5px rgba(0, 0, 0, 0.2), 0 5px 10px rgba(0, 0, 0, 0.25), 0 20px 20px rgba(0, 0, 0, 0.15); } diff --git a/css/theme/blood.css b/css/theme/blood.css index 0015f464..a29b11dd 100644 --- a/css/theme/blood.css +++ b/css/theme/blood.css @@ -35,6 +35,11 @@ body { background: #aa2233; text-shadow: none; } +.reveal .slides > section, +.reveal .slides > section > section { + line-height: 1.2em; + font-weight: inherit; } + /********************************************* * HEADERS *********************************************/ @@ -50,7 +55,20 @@ body { line-height: 1em; letter-spacing: 0.02em; text-transform: uppercase; - text-shadow: 2px 2px 2px #222222; } + text-shadow: 2px 2px 2px #222222; + word-wrap: break-word; } + +.reveal h1 { + font-size: 3.77em; } + +.reveal h2 { + font-size: 2.11em; } + +.reveal h3 { + font-size: 1.55em; } + +.reveal h4 { + font-size: 1em; } .reveal h1 { text-shadow: 0 1px 0 #cccccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbbbbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaaaaa, 0 6px 1px rgba(0, 0, 0, 0.1), 0 0 5px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.3), 0 3px 5px rgba(0, 0, 0, 0.2), 0 5px 10px rgba(0, 0, 0, 0.25), 0 20px 20px rgba(0, 0, 0, 0.15); } diff --git a/css/theme/default.css b/css/theme/default.css index f0ac4d43..708bfa43 100644 --- a/css/theme/default.css +++ b/css/theme/default.css @@ -35,6 +35,11 @@ body { background: #ff5e99; text-shadow: none; } +.reveal .slides > section, +.reveal .slides > section > section { + line-height: 1.2em; + font-weight: inherit; } + /********************************************* * HEADERS *********************************************/ @@ -50,7 +55,20 @@ body { line-height: 1em; letter-spacing: 0.02em; text-transform: uppercase; - text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2); } + text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2); + word-wrap: break-word; } + +.reveal h1 { + font-size: 3.77em; } + +.reveal h2 { + font-size: 2.11em; } + +.reveal h3 { + font-size: 1.55em; } + +.reveal h4 { + font-size: 1em; } .reveal h1 { text-shadow: 0 1px 0 #cccccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbbbbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaaaaa, 0 6px 1px rgba(0, 0, 0, 0.1), 0 0 5px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.3), 0 3px 5px rgba(0, 0, 0, 0.2), 0 5px 10px rgba(0, 0, 0, 0.25), 0 20px 20px rgba(0, 0, 0, 0.15); } diff --git a/css/theme/moon.css b/css/theme/moon.css index 41581cc3..a7b236b2 100644 --- a/css/theme/moon.css +++ b/css/theme/moon.css @@ -35,6 +35,11 @@ body { background: #d33682; text-shadow: none; } +.reveal .slides > section, +.reveal .slides > section > section { + line-height: 1.2em; + font-weight: inherit; } + /********************************************* * HEADERS *********************************************/ @@ -50,7 +55,20 @@ body { line-height: 1em; letter-spacing: 0.02em; text-transform: uppercase; - text-shadow: none; } + text-shadow: none; + word-wrap: break-word; } + +.reveal h1 { + font-size: 3.77em; } + +.reveal h2 { + font-size: 2.11em; } + +.reveal h3 { + font-size: 1.55em; } + +.reveal h4 { + font-size: 1em; } .reveal h1 { text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2); } diff --git a/css/theme/night.css b/css/theme/night.css index 0892623f..ec488025 100644 --- a/css/theme/night.css +++ b/css/theme/night.css @@ -24,6 +24,11 @@ body { background: #e7ad52; text-shadow: none; } +.reveal .slides > section, +.reveal .slides > section > section { + line-height: 1.2em; + font-weight: inherit; } + /********************************************* * HEADERS *********************************************/ @@ -39,7 +44,20 @@ body { line-height: 1em; letter-spacing: -0.03em; text-transform: none; - text-shadow: none; } + text-shadow: none; + word-wrap: break-word; } + +.reveal h1 { + font-size: 3.77em; } + +.reveal h2 { + font-size: 2.11em; } + +.reveal h3 { + font-size: 1.55em; } + +.reveal h4 { + font-size: 1em; } .reveal h1 { text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2); } diff --git a/css/theme/serif.css b/css/theme/serif.css index 65d1646f..a060bc8a 100644 --- a/css/theme/serif.css +++ b/css/theme/serif.css @@ -26,6 +26,11 @@ body { background: #26351c; text-shadow: none; } +.reveal .slides > section, +.reveal .slides > section > section { + line-height: 1.2em; + font-weight: inherit; } + /********************************************* * HEADERS *********************************************/ @@ -41,7 +46,20 @@ body { line-height: 1em; letter-spacing: 0.02em; text-transform: none; - text-shadow: none; } + text-shadow: none; + word-wrap: break-word; } + +.reveal h1 { + font-size: 3.77em; } + +.reveal h2 { + font-size: 2.11em; } + +.reveal h3 { + font-size: 1.55em; } + +.reveal h4 { + font-size: 1em; } .reveal h1 { text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2); } diff --git a/css/theme/simple.css b/css/theme/simple.css index 89371713..528bac8a 100644 --- a/css/theme/simple.css +++ b/css/theme/simple.css @@ -26,6 +26,11 @@ body { background: rgba(0, 0, 0, 0.99); text-shadow: none; } +.reveal .slides > section, +.reveal .slides > section > section { + line-height: 1.2em; + font-weight: inherit; } + /********************************************* * HEADERS *********************************************/ @@ -41,7 +46,20 @@ body { line-height: 1em; letter-spacing: 0.02em; text-transform: none; - text-shadow: none; } + text-shadow: none; + word-wrap: break-word; } + +.reveal h1 { + font-size: 3.77em; } + +.reveal h2 { + font-size: 2.11em; } + +.reveal h3 { + font-size: 1.55em; } + +.reveal h4 { + font-size: 1em; } .reveal h1 { text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2); } diff --git a/css/theme/sky.css b/css/theme/sky.css index ad35ecb4..0601db49 100644 --- a/css/theme/sky.css +++ b/css/theme/sky.css @@ -33,6 +33,11 @@ body { background: #134674; text-shadow: none; } +.reveal .slides > section, +.reveal .slides > section > section { + line-height: 1.2em; + font-weight: inherit; } + /********************************************* * HEADERS *********************************************/ @@ -48,7 +53,20 @@ body { line-height: 1em; letter-spacing: -0.08em; text-transform: uppercase; - text-shadow: none; } + text-shadow: none; + word-wrap: break-word; } + +.reveal h1 { + font-size: 3.77em; } + +.reveal h2 { + font-size: 2.11em; } + +.reveal h3 { + font-size: 1.55em; } + +.reveal h4 { + font-size: 1em; } .reveal h1 { text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2); } diff --git a/css/theme/solarized.css b/css/theme/solarized.css index b9b9cb9e..866c3149 100644 --- a/css/theme/solarized.css +++ b/css/theme/solarized.css @@ -35,6 +35,11 @@ body { background: #d33682; text-shadow: none; } +.reveal .slides > section, +.reveal .slides > section > section { + line-height: 1.2em; + font-weight: inherit; } + /********************************************* * HEADERS *********************************************/ @@ -50,7 +55,20 @@ body { line-height: 1em; letter-spacing: 0.02em; text-transform: uppercase; - text-shadow: none; } + text-shadow: none; + word-wrap: break-word; } + +.reveal h1 { + font-size: 3.77em; } + +.reveal h2 { + font-size: 2.11em; } + +.reveal h3 { + font-size: 1.55em; } + +.reveal h4 { + font-size: 1em; } .reveal h1 { text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2); } diff --git a/css/theme/template/theme.scss b/css/theme/template/theme.scss index f1ba2666..17cf6886 100644 --- a/css/theme/template/theme.scss +++ b/css/theme/template/theme.scss @@ -23,6 +23,12 @@ body { text-shadow: none; } +.reveal .slides>section, +.reveal .slides>section>section { + line-height: 1.2em; + font-weight: inherit; +} + /********************************************* * HEADERS *********************************************/ @@ -42,8 +48,15 @@ body { text-transform: $headingTextTransform; text-shadow: $headingTextShadow; + + word-wrap: break-word; } +.reveal h1 { font-size: 3.77em; } +.reveal h2 { font-size: 2.11em; } +.reveal h3 { font-size: 1.55em; } +.reveal h4 { font-size: 1em; } + .reveal h1 { text-shadow: $heading1TextShadow; }