aboutsummaryrefslogtreecommitdiff
path: root/dist
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2020-06-05 10:02:49 +0200
committerHakim El Hattab <hakim.elhattab@gmail.com>2020-06-05 10:03:07 +0200
commit166af89353cacb7198d23a52b3bda77be6715133 (patch)
tree93f7f7e8e5f78c01c42a84ca2e5ae54d0e2475d0 /dist
parentac79c7cd8bd937b1a9e70332b54d73df98814194 (diff)
downloadfosdem-2021-minimalism-presentation-166af89353cacb7198d23a52b3bda77be6715133.tar
fosdem-2021-minimalism-presentation-166af89353cacb7198d23a52b3bda77be6715133.tar.gz
all themes now have contrasting text colors based on slide bg
Diffstat (limited to 'dist')
-rw-r--r--dist/theme/beige.css3
-rw-r--r--dist/theme/blood.css6
-rw-r--r--dist/theme/league.css3
-rw-r--r--dist/theme/moon.css3
-rw-r--r--dist/theme/night.css3
-rw-r--r--dist/theme/serif.css3
-rw-r--r--dist/theme/sky.css3
7 files changed, 24 insertions, 0 deletions
diff --git a/dist/theme/beige.css b/dist/theme/beige.css
index d3182ff..e728ef4 100644
--- a/dist/theme/beige.css
+++ b/dist/theme/beige.css
@@ -5,6 +5,9 @@
*/
@import url(fonts/league-gothic/league-gothic.css);
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
+section.has-dark-background, section.has-dark-background h1, section.has-dark-background h2, section.has-dark-background h3, section.has-dark-background h4, section.has-dark-background h5, section.has-dark-background h6 {
+ color: #fff; }
+
/*********************************************
* GLOBAL STYLES
*********************************************/
diff --git a/dist/theme/blood.css b/dist/theme/blood.css
index 06f6f0e..0a9f5d4 100644
--- a/dist/theme/blood.css
+++ b/dist/theme/blood.css
@@ -10,6 +10,9 @@
*
*/
@import url(https://fonts.googleapis.com/css?family=Ubuntu:300,700,300italic,700italic);
+section.has-light-background, section.has-light-background h1, section.has-light-background h2, section.has-light-background h3, section.has-light-background h4, section.has-light-background h5, section.has-light-background h6 {
+ color: #222; }
+
/*********************************************
* GLOBAL STYLES
*********************************************/
@@ -291,6 +294,9 @@
font-weight: 300;
text-shadow: 1px 1px #222; }
+section.has-light-background p, section.has-light-background h1, section.has-light-background h2, section.has-light-background h3, section.has-light-background h4 {
+ text-shadow: none; }
+
.reveal h1,
.reveal h2,
.reveal h3,
diff --git a/dist/theme/league.css b/dist/theme/league.css
index 1d770eb..d2821e2 100644
--- a/dist/theme/league.css
+++ b/dist/theme/league.css
@@ -7,6 +7,9 @@
*/
@import url(fonts/league-gothic/league-gothic.css);
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
+section.has-light-background, section.has-light-background h1, section.has-light-background h2, section.has-light-background h3, section.has-light-background h4, section.has-light-background h5, section.has-light-background h6 {
+ color: #222; }
+
/*********************************************
* GLOBAL STYLES
*********************************************/
diff --git a/dist/theme/moon.css b/dist/theme/moon.css
index 137ab87..d799c99 100644
--- a/dist/theme/moon.css
+++ b/dist/theme/moon.css
@@ -11,6 +11,9 @@ html * {
color-profile: sRGB;
rendering-intent: auto; }
+section.has-light-background, section.has-light-background h1, section.has-light-background h2, section.has-light-background h3, section.has-light-background h4, section.has-light-background h5, section.has-light-background h6 {
+ color: #222; }
+
/*********************************************
* GLOBAL STYLES
*********************************************/
diff --git a/dist/theme/night.css b/dist/theme/night.css
index d61498d..3f011dd 100644
--- a/dist/theme/night.css
+++ b/dist/theme/night.css
@@ -5,6 +5,9 @@
*/
@import url(https://fonts.googleapis.com/css?family=Montserrat:700);
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic);
+section.has-light-background, section.has-light-background h1, section.has-light-background h2, section.has-light-background h3, section.has-light-background h4, section.has-light-background h5, section.has-light-background h6 {
+ color: #222; }
+
/*********************************************
* GLOBAL STYLES
*********************************************/
diff --git a/dist/theme/serif.css b/dist/theme/serif.css
index 983a73c..e293916 100644
--- a/dist/theme/serif.css
+++ b/dist/theme/serif.css
@@ -7,6 +7,9 @@
.reveal a {
line-height: 1.3em; }
+section.has-dark-background, section.has-dark-background h1, section.has-dark-background h2, section.has-dark-background h3, section.has-dark-background h4, section.has-dark-background h5, section.has-dark-background h6 {
+ color: #fff; }
+
/*********************************************
* GLOBAL STYLES
*********************************************/
diff --git a/dist/theme/sky.css b/dist/theme/sky.css
index 204bdf5..77ab8d5 100644
--- a/dist/theme/sky.css
+++ b/dist/theme/sky.css
@@ -8,6 +8,9 @@
.reveal a {
line-height: 1.3em; }
+section.has-dark-background, section.has-dark-background h1, section.has-dark-background h2, section.has-dark-background h3, section.has-dark-background h4, section.has-dark-background h5, section.has-dark-background h6 {
+ color: #fff; }
+
/*********************************************
* GLOBAL STYLES
*********************************************/