aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2015-07-02 14:58:47 +0200
committerHakim El Hattab <hakim.elhattab@gmail.com>2015-07-02 14:58:47 +0200
commit523f78eda724006e12a502a7b6d7c8147dc92fbe (patch)
tree080418acabc86f93ede45319d438034724f3dbd2
parent2de01e3219144c52342d6076b5c0f87e606b1380 (diff)
downloadfreenode-live-2017-presentation-523f78eda724006e12a502a7b6d7c8147dc92fbe.tar
freenode-live-2017-presentation-523f78eda724006e12a502a7b6d7c8147dc92fbe.tar.gz
remove harcoded syntax highlight colors #1290
-rw-r--r--css/theme/beige.css4
-rw-r--r--css/theme/black.css4
-rw-r--r--css/theme/blood.css4
-rw-r--r--css/theme/league.css4
-rw-r--r--css/theme/moon.css4
-rw-r--r--css/theme/night.css4
-rw-r--r--css/theme/serif.css4
-rw-r--r--css/theme/simple.css4
-rw-r--r--css/theme/sky.css4
-rw-r--r--css/theme/solarized.css4
-rw-r--r--css/theme/template/theme.scss2
-rw-r--r--css/theme/white.css4
-rw-r--r--index.html12
13 files changed, 17 insertions, 41 deletions
diff --git a/css/theme/beige.css b/css/theme/beige.css
index 944dbd8..8c880a9 100644
--- a/css/theme/beige.css
+++ b/css/theme/beige.css
@@ -146,9 +146,7 @@ body {
padding: 5px;
overflow: auto;
max-height: 400px;
- word-wrap: normal;
- background: #3F3F3F;
- color: #DCDCDC; }
+ word-wrap: normal; }
.reveal table {
margin: auto;
diff --git a/css/theme/black.css b/css/theme/black.css
index ee2ead8..5ff960e 100644
--- a/css/theme/black.css
+++ b/css/theme/black.css
@@ -142,9 +142,7 @@ body {
padding: 5px;
overflow: auto;
max-height: 400px;
- word-wrap: normal;
- background: #3F3F3F;
- color: #DCDCDC; }
+ word-wrap: normal; }
.reveal table {
margin: auto;
diff --git a/css/theme/blood.css b/css/theme/blood.css
index 952fdf2..8d554df 100644
--- a/css/theme/blood.css
+++ b/css/theme/blood.css
@@ -145,9 +145,7 @@ body {
padding: 5px;
overflow: auto;
max-height: 400px;
- word-wrap: normal;
- background: #3F3F3F;
- color: #DCDCDC; }
+ word-wrap: normal; }
.reveal table {
margin: auto;
diff --git a/css/theme/league.css b/css/theme/league.css
index 41967d2..ed1641c 100644
--- a/css/theme/league.css
+++ b/css/theme/league.css
@@ -148,9 +148,7 @@ body {
padding: 5px;
overflow: auto;
max-height: 400px;
- word-wrap: normal;
- background: #3F3F3F;
- color: #DCDCDC; }
+ word-wrap: normal; }
.reveal table {
margin: auto;
diff --git a/css/theme/moon.css b/css/theme/moon.css
index ac93638..55e1662 100644
--- a/css/theme/moon.css
+++ b/css/theme/moon.css
@@ -146,9 +146,7 @@ body {
padding: 5px;
overflow: auto;
max-height: 400px;
- word-wrap: normal;
- background: #3F3F3F;
- color: #DCDCDC; }
+ word-wrap: normal; }
.reveal table {
margin: auto;
diff --git a/css/theme/night.css b/css/theme/night.css
index 6a5ed31..efaa969 100644
--- a/css/theme/night.css
+++ b/css/theme/night.css
@@ -140,9 +140,7 @@ body {
padding: 5px;
overflow: auto;
max-height: 400px;
- word-wrap: normal;
- background: #3F3F3F;
- color: #DCDCDC; }
+ word-wrap: normal; }
.reveal table {
margin: auto;
diff --git a/css/theme/serif.css b/css/theme/serif.css
index fc83e5d..69dbf96 100644
--- a/css/theme/serif.css
+++ b/css/theme/serif.css
@@ -142,9 +142,7 @@ body {
padding: 5px;
overflow: auto;
max-height: 400px;
- word-wrap: normal;
- background: #3F3F3F;
- color: #DCDCDC; }
+ word-wrap: normal; }
.reveal table {
margin: auto;
diff --git a/css/theme/simple.css b/css/theme/simple.css
index ea08a27..e63edc2 100644
--- a/css/theme/simple.css
+++ b/css/theme/simple.css
@@ -142,9 +142,7 @@ body {
padding: 5px;
overflow: auto;
max-height: 400px;
- word-wrap: normal;
- background: #3F3F3F;
- color: #DCDCDC; }
+ word-wrap: normal; }
.reveal table {
margin: auto;
diff --git a/css/theme/sky.css b/css/theme/sky.css
index 83842c4..99bf027 100644
--- a/css/theme/sky.css
+++ b/css/theme/sky.css
@@ -149,9 +149,7 @@ body {
padding: 5px;
overflow: auto;
max-height: 400px;
- word-wrap: normal;
- background: #3F3F3F;
- color: #DCDCDC; }
+ word-wrap: normal; }
.reveal table {
margin: auto;
diff --git a/css/theme/solarized.css b/css/theme/solarized.css
index 649f7a9..56e8b36 100644
--- a/css/theme/solarized.css
+++ b/css/theme/solarized.css
@@ -146,9 +146,7 @@ body {
padding: 5px;
overflow: auto;
max-height: 400px;
- word-wrap: normal;
- background: #3F3F3F;
- color: #DCDCDC; }
+ word-wrap: normal; }
.reveal table {
margin: auto;
diff --git a/css/theme/template/theme.scss b/css/theme/template/theme.scss
index bd89d31..12edb51 100644
--- a/css/theme/template/theme.scss
+++ b/css/theme/template/theme.scss
@@ -178,8 +178,6 @@ body {
overflow: auto;
max-height: 400px;
word-wrap: normal;
- background: #3F3F3F;
- color: #DCDCDC;
}
.reveal table {
diff --git a/css/theme/white.css b/css/theme/white.css
index c77d5ab..171e719 100644
--- a/css/theme/white.css
+++ b/css/theme/white.css
@@ -142,9 +142,7 @@ body {
padding: 5px;
overflow: auto;
max-height: 400px;
- word-wrap: normal;
- background: #3F3F3F;
- color: #DCDCDC; }
+ word-wrap: normal; }
.reveal table {
margin: auto;
diff --git a/index.html b/index.html
index aad2046..0159b7f 100644
--- a/index.html
+++ b/index.html
@@ -189,16 +189,16 @@
</section>
<section data-background="https://s3.amazonaws.com/hakim-static/reveal-js/image-placeholder.png">
<h2>Image Backgrounds</h2>
- <pre><code>&lt;section data-background="image.png"&gt;</code></pre>
+ <pre><code class="hljs">&lt;section data-background="image.png"&gt;</code></pre>
</section>
<section data-background="https://s3.amazonaws.com/hakim-static/reveal-js/image-placeholder.png" data-background-repeat="repeat" data-background-size="100px">
<h2>Tiled Backgrounds</h2>
- <pre><code style="word-wrap: break-word;">&lt;section data-background="image.png" data-background-repeat="repeat" data-background-size="100px"&gt;</code></pre>
+ <pre><code class="hljs" style="word-wrap: break-word;">&lt;section data-background="image.png" data-background-repeat="repeat" data-background-size="100px"&gt;</code></pre>
</section>
<section data-background-video="https://s3.amazonaws.com/static.slid.es/site/homepage/v1/homepage-video-editor.mp4,https://s3.amazonaws.com/static.slid.es/site/homepage/v1/homepage-video-editor.webm" data-background-color="#000000">
<div style="background-color: rgba(0, 0, 0, 0.9); color: #fff; padding: 20px;">
<h2>Video Backgrounds</h2>
- <pre><code style="word-wrap: break-word;">&lt;section data-background-video="video.mp4,video.webm"&gt;</code></pre>
+ <pre><code class="hljs" style="word-wrap: break-word;">&lt;section data-background-video="video.mp4,video.webm"&gt;</code></pre>
</div>
</section>
<section data-background="http://i.giphy.com/90F8aUepslB84.gif">
@@ -211,7 +211,7 @@
<p>
Different background transitions are available via the backgroundTransition option. This one's called "zoom".
</p>
- <pre><code>Reveal.configure({ backgroundTransition: 'zoom' })</code></pre>
+ <pre><code class="hljs">Reveal.configure({ backgroundTransition: 'zoom' })</code></pre>
</section>
<section data-transition="slide" data-background="#b5533c" data-background-transition="zoom">
@@ -219,12 +219,12 @@
<p>
You can override background transitions per-slide.
</p>
- <pre><code style="word-wrap: break-word;">&lt;section data-background-transition="zoom"&gt;</code></pre>
+ <pre><code class="hljs" style="word-wrap: break-word;">&lt;section data-background-transition="zoom"&gt;</code></pre>
</section>
<section>
<h2>Pretty Code</h2>
- <pre><code data-trim contenteditable>
+ <pre><code class="hljs" data-trim contenteditable>
function linkify( selector ) {
if( supports3DTransforms ) {