diff --git a/css/reveal.css b/css/reveal.css index 6637bd33ef056ee8912ac2b13ea996b9c4d244de..71cfdb616a31d75ad4bb5c800f05c699121eaa87 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 94ba61fc96a64ca06b82573d7363f4dee231bfab..685f490ef0b8014ee1bd6ef305874577e484efa3 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 0015f464b0f88a35112f28cb031f429d9f5aadd7..a29b11dd458330c76566b2c600b162afa3d13319 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 f0ac4d433d65d4a5b95eae372f44855f6e01fee9..708bfa4313eb8e6f7f2cc0b61b199515dbb61747 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 41581cc3904d528bcb63073e081516560ed97c34..a7b236b21e5b6ac99967fa9be4dbf4199cdef8ea 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 0892623f9ccc9a928ad8f4fe24fcd6d3e43adba5..ec48802502c0ccfc7ce41ed5fb03908ec5a91937 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 65d1646f353372b2b7fa6deeec923f4b4b4e0a89..a060bc8a989a45f9289b1ecbdc72fb920dd52893 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 8937171337ac64bd1b4d0f237abce385288650e6..528bac8a03ba2498d3a4b1b276378310878b6139 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 ad35ecb4f4c017d4b3c5a3b58c9f8c86474093d3..0601db49604793c445ea5886c68742e7caafe4ee 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 b9b9cb9ebf4aae50dc6c9e153243f468cf2ce368..866c314958b15aa346fe2ff1546db25dc9bda904 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 f1ba2666ada9532393fdd5410d2cbccdca9ba34b..17cf6886c7701d9b7a16b6fa23eea6a07f72c372 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; }