aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2014-06-11 12:48:19 +0200
committerHakim El Hattab <hakim.elhattab@gmail.com>2014-06-11 12:48:19 +0200
commit06e76c1be3f17ab2663b1f3587e8418f9d524098 (patch)
tree8e15445f532ec4f458b70ee1e5da84dc70586aa3
parent38301d57c547a349e2cc790996c1213720aed9d4 (diff)
downloadfosdem-2018-presentation-06e76c1be3f17ab2663b1f3587e8418f9d524098.tar
fosdem-2018-presentation-06e76c1be3f17ab2663b1f3587e8418f9d524098.tar.gz
shift a few additional styles from core to theme
-rw-r--r--css/reveal.css22
-rw-r--r--css/theme/beige.css20
-rw-r--r--css/theme/blood.css20
-rw-r--r--css/theme/default.css20
-rw-r--r--css/theme/moon.css20
-rw-r--r--css/theme/night.css20
-rw-r--r--css/theme/serif.css20
-rw-r--r--css/theme/simple.css20
-rw-r--r--css/theme/sky.css20
-rw-r--r--css/theme/solarized.css20
-rw-r--r--css/theme/template/theme.scss13
11 files changed, 184 insertions, 31 deletions
diff --git a/css/reveal.css b/css/reveal.css
index 6637bd3..71cfdb6 100644
--- a/css/reveal.css
+++ b/css/reveal.css
@@ -67,26 +67,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 94ba61f..685f490 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 0015f46..a29b11d 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 f0ac4d4..708bfa4 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 41581cc..a7b236b 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 0892623..ec48802 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 65d1646..a060bc8 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 8937171..528bac8 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 ad35ecb..0601db4 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 b9b9cb9..866c314 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 f1ba266..17cf688 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;
}