summaryrefslogtreecommitdiffhomepage
path: root/css
diff options
context:
space:
mode:
Diffstat (limited to 'css')
-rw-r--r--css/reveal.css26
-rw-r--r--css/reveal.scss27
-rw-r--r--css/theme/beige.css2
-rw-r--r--css/theme/black.css8
-rw-r--r--css/theme/blood.css2
-rw-r--r--css/theme/league.css2
-rw-r--r--css/theme/moon.css2
-rw-r--r--css/theme/night.css2
-rw-r--r--css/theme/serif.css2
-rw-r--r--css/theme/simple.css2
-rw-r--r--css/theme/sky.css2
-rw-r--r--css/theme/solarized.css2
-rw-r--r--css/theme/source/black.scss2
-rw-r--r--css/theme/template/theme.scss2
-rw-r--r--css/theme/white.css2
15 files changed, 65 insertions, 20 deletions
diff --git a/css/reveal.css b/css/reveal.css
index 51820c7..47f561c 100644
--- a/css/reveal.css
+++ b/css/reveal.css
@@ -249,7 +249,7 @@ body {
visibility: hidden;
opacity: 0;
-webkit-appearance: none;
- -webkit-tap-highlight-color: transparent; }
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
.reveal .controls .controls-arrow:before,
.reveal .controls .controls-arrow:after {
content: '';
@@ -1023,7 +1023,7 @@ body {
opacity: 0;
visibility: hidden;
overflow: hidden;
- background-color: transparent;
+ background-color: rgba(0, 0, 0, 0);
transition: all 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }
.reveal .slide-background-content {
@@ -1430,13 +1430,33 @@ body {
z-index: 30;
cursor: pointer;
transition: all 400ms ease;
- -webkit-tap-highlight-color: transparent; }
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
.reveal.overview .playback {
opacity: 0;
visibility: hidden; }
/*********************************************
+ * CODE HIGHLGIHTING
+ *********************************************/
+.reveal .hljs table {
+ margin: initial; }
+
+.reveal .hljs-ln-code,
+.reveal .hljs-ln-numbers {
+ padding: 0;
+ border: 0; }
+
+.reveal .hljs-ln-numbers {
+ opacity: 0.6;
+ padding-right: 0.75em;
+ text-align: right;
+ vertical-align: top; }
+
+.reveal .hljs[data-line-numbers]:not([data-line-numbers=""]) tr:not(.highlight-line) {
+ opacity: 0.25; }
+
+/*********************************************
* ROLLING LINKS
*********************************************/
.reveal .roll {
diff --git a/css/reveal.scss b/css/reveal.scss
index 8c14529..ab732a4 100644
--- a/css/reveal.scss
+++ b/css/reveal.scss
@@ -1549,7 +1549,6 @@ $controlsArrowAngleActive: 36deg;
}
-
/*********************************************
* PLAYBACK COMPONENT
*********************************************/
@@ -1571,6 +1570,32 @@ $controlsArrowAngleActive: 36deg;
/*********************************************
+ * CODE HIGHLGIHTING
+ *********************************************/
+
+.reveal .hljs table {
+ margin: initial;
+}
+
+.reveal .hljs-ln-code,
+.reveal .hljs-ln-numbers {
+ padding: 0;
+ border: 0;
+}
+
+.reveal .hljs-ln-numbers {
+ opacity: 0.6;
+ padding-right: 0.75em;
+ text-align: right;
+ vertical-align: top;
+}
+
+.reveal .hljs[data-line-numbers]:not([data-line-numbers=""]) tr:not(.highlight-line) {
+ opacity: 0.4;
+}
+
+
+/*********************************************
* ROLLING LINKS
*********************************************/
diff --git a/css/theme/beige.css b/css/theme/beige.css
index fb5f137..615dd6d 100644
--- a/css/theme/beige.css
+++ b/css/theme/beige.css
@@ -153,7 +153,7 @@ body {
font-family: monospace;
line-height: 1.2em;
word-wrap: break-word;
- box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); }
+ box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15); }
.reveal code {
font-family: monospace;
diff --git a/css/theme/black.css b/css/theme/black.css
index dec6385..7dd88c2 100644
--- a/css/theme/black.css
+++ b/css/theme/black.css
@@ -11,8 +11,8 @@ section.has-light-background, section.has-light-background h1, section.has-light
* GLOBAL STYLES
*********************************************/
body {
- background: #222;
- background-color: #222; }
+ background: #191919;
+ background-color: #191919; }
.reveal {
font-family: "Source Sans Pro", Helvetica, sans-serif;
@@ -149,7 +149,7 @@ body {
font-family: monospace;
line-height: 1.2em;
word-wrap: break-word;
- box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); }
+ box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15); }
.reveal code {
font-family: monospace;
@@ -270,4 +270,4 @@ body {
*********************************************/
@media print {
.backgrounds {
- background-color: #222; } }
+ background-color: #191919; } }
diff --git a/css/theme/blood.css b/css/theme/blood.css
index 15e6c20..5cbd488 100644
--- a/css/theme/blood.css
+++ b/css/theme/blood.css
@@ -152,7 +152,7 @@ body {
font-family: monospace;
line-height: 1.2em;
word-wrap: break-word;
- box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); }
+ box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15); }
.reveal code {
font-family: monospace;
diff --git a/css/theme/league.css b/css/theme/league.css
index 9dfa2ce..f8fba4d 100644
--- a/css/theme/league.css
+++ b/css/theme/league.css
@@ -155,7 +155,7 @@ body {
font-family: monospace;
line-height: 1.2em;
word-wrap: break-word;
- box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); }
+ box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15); }
.reveal code {
font-family: monospace;
diff --git a/css/theme/moon.css b/css/theme/moon.css
index 52b3f67..d18f526 100644
--- a/css/theme/moon.css
+++ b/css/theme/moon.css
@@ -153,7 +153,7 @@ body {
font-family: monospace;
line-height: 1.2em;
word-wrap: break-word;
- box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); }
+ box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15); }
.reveal code {
font-family: monospace;
diff --git a/css/theme/night.css b/css/theme/night.css
index 51a3dd3..f5ccb52 100644
--- a/css/theme/night.css
+++ b/css/theme/night.css
@@ -147,7 +147,7 @@ body {
font-family: monospace;
line-height: 1.2em;
word-wrap: break-word;
- box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); }
+ box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15); }
.reveal code {
font-family: monospace;
diff --git a/css/theme/serif.css b/css/theme/serif.css
index ea01066..6514a6f 100644
--- a/css/theme/serif.css
+++ b/css/theme/serif.css
@@ -149,7 +149,7 @@ body {
font-family: monospace;
line-height: 1.2em;
word-wrap: break-word;
- box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); }
+ box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15); }
.reveal code {
font-family: monospace;
diff --git a/css/theme/simple.css b/css/theme/simple.css
index 8432d84..a7a29a6 100644
--- a/css/theme/simple.css
+++ b/css/theme/simple.css
@@ -152,7 +152,7 @@ body {
font-family: monospace;
line-height: 1.2em;
word-wrap: break-word;
- box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); }
+ box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15); }
.reveal code {
font-family: monospace;
diff --git a/css/theme/sky.css b/css/theme/sky.css
index 6f60a1d..d8734c9 100644
--- a/css/theme/sky.css
+++ b/css/theme/sky.css
@@ -156,7 +156,7 @@ body {
font-family: monospace;
line-height: 1.2em;
word-wrap: break-word;
- box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); }
+ box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15); }
.reveal code {
font-family: monospace;
diff --git a/css/theme/solarized.css b/css/theme/solarized.css
index fe81f09..f1a2b9e 100644
--- a/css/theme/solarized.css
+++ b/css/theme/solarized.css
@@ -153,7 +153,7 @@ body {
font-family: monospace;
line-height: 1.2em;
word-wrap: break-word;
- box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); }
+ box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15); }
.reveal code {
font-family: monospace;
diff --git a/css/theme/source/black.scss b/css/theme/source/black.scss
index 84e8d9a..4720c8a 100644
--- a/css/theme/source/black.scss
+++ b/css/theme/source/black.scss
@@ -16,7 +16,7 @@
// Override theme settings (see ../template/settings.scss)
-$backgroundColor: #222;
+$backgroundColor: #191919;
$mainColor: #fff;
$headingColor: #fff;
diff --git a/css/theme/template/theme.scss b/css/theme/template/theme.scss
index 215e2d4..9ccfaf5 100644
--- a/css/theme/template/theme.scss
+++ b/css/theme/template/theme.scss
@@ -167,7 +167,7 @@ body {
word-wrap: break-word;
- box-shadow: 0px 0px 6px rgba(0,0,0,0.3);
+ box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15);
}
.reveal code {
diff --git a/css/theme/white.css b/css/theme/white.css
index 27e44a1..43ef2c7 100644
--- a/css/theme/white.css
+++ b/css/theme/white.css
@@ -149,7 +149,7 @@ body {
font-family: monospace;
line-height: 1.2em;
word-wrap: break-word;
- box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); }
+ box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15); }
.reveal code {
font-family: monospace;