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 944dbd83..8c880a91 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 ee2ead81..5ff960e1 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 952fdf24..8d554dfc 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 41967d2b..ed1641c3 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 ac936385..55e1662f 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 6a5ed317..efaa9693 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 fc83e5df..69dbf968 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 ea08a27f..e63edc21 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 83842c4e..99bf0275 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 649f7a92..56e8b367 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 bd89d316..12edb518 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 c77d5abb..171e7194 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 aad20464..0159b7f7 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 ) {