diff options
author | Vincent Bernat <vincent@bernat.im> | 2016-03-24 16:23:12 +0100 |
---|---|---|
committer | Vincent Bernat <Vincent.Bernat@exoscale.ch> | 2016-03-24 16:25:01 +0100 |
commit | a9566dfbd48741b4566b4bdbe07c1222dd48771f (patch) | |
tree | 91cd8ae645f5bce600efddc6241a0c7ae369612f /css | |
parent | 00b9c2b929dd46303696326c9b4bcbf3362578ac (diff) | |
download | fosdem-2018-presentation-a9566dfbd48741b4566b4bdbe07c1222dd48771f.tar fosdem-2018-presentation-a9566dfbd48741b4566b4bdbe07c1222dd48771f.tar.gz |
make theme "simple" use white titles on dark backgrounds
This is similar to what is done in the "white" theme.
Diffstat (limited to 'css')
-rw-r--r-- | css/theme/simple.css | 3 | ||||
-rw-r--r-- | css/theme/source/simple.scss | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/css/theme/simple.css b/css/theme/simple.css index b17fa5c..8b48be1 100644 --- a/css/theme/simple.css +++ b/css/theme/simple.css @@ -7,6 +7,9 @@ */ @import url(https://fonts.googleapis.com/css?family=News+Cycle:400,700); @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/css/theme/source/simple.scss b/css/theme/source/simple.scss index 84c7d9b..394c9cd 100644 --- a/css/theme/source/simple.scss +++ b/css/theme/source/simple.scss @@ -31,6 +31,11 @@ $linkColor: #00008B; $linkColorHover: lighten( $linkColor, 20% ); $selectionBackgroundColor: rgba(0, 0, 0, 0.99); +section.has-dark-background { + &, h1, h2, h3, h4, h5, h6 { + color: #fff; + } +} // Theme template ------------------------------ |