From 523f78eda724006e12a502a7b6d7c8147dc92fbe Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Thu, 2 Jul 2015 14:58:47 +0200 Subject: [PATCH] remove harcoded syntax highlight colors #1290 --- css/theme/beige.css | 4 +--- css/theme/black.css | 4 +--- css/theme/blood.css | 4 +--- css/theme/league.css | 4 +--- css/theme/moon.css | 4 +--- css/theme/night.css | 4 +--- css/theme/serif.css | 4 +--- css/theme/simple.css | 4 +--- css/theme/sky.css | 4 +--- css/theme/solarized.css | 4 +--- css/theme/template/theme.scss | 2 -- css/theme/white.css | 4 +--- index.html | 12 ++++++------ 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 @@

Image Backgrounds

-
<section data-background="image.png">
+
<section data-background="image.png">

Tiled Backgrounds

-
<section data-background="image.png" data-background-repeat="repeat" data-background-size="100px">
+
<section data-background="image.png" data-background-repeat="repeat" data-background-size="100px">

Video Backgrounds

-
<section data-background-video="video.mp4,video.webm">
+
<section data-background-video="video.mp4,video.webm">
@@ -211,7 +211,7 @@

Different background transitions are available via the backgroundTransition option. This one's called "zoom".

-
Reveal.configure({ backgroundTransition: 'zoom' })
+
Reveal.configure({ backgroundTransition: 'zoom' })
@@ -219,12 +219,12 @@

You can override background transitions per-slide.

-
<section data-background-transition="zoom">
+
<section data-background-transition="zoom">

Pretty Code

-

+					

 function linkify( selector ) {
   if( supports3DTransforms ) {