Changed background color on reveal slides

This commit is contained in:
Nathan Schneider
2023-09-08 13:49:56 -06:00
parent a85fe1d701
commit f39aab83cc
2 changed files with 6 additions and 3 deletions
+2
View File
@@ -3,3 +3,5 @@
name = Nathan Schneider name = Nathan Schneider
[core] [core]
editor = emacs editor = emacs
[init]
defaultBranch = main
+4 -3
View File
@@ -2,7 +2,7 @@
* Black theme for reveal.js. This is the opposite of the 'white' theme. * Black theme for reveal.js. This is the opposite of the 'white' theme.
* *
* By Hakim El Hattab, http://hakim.se, edited by Nathan Schneider, ntnsndr.in * By Hakim El Hattab, http://hakim.se, edited by Nathan Schneider, ntnsndr.in
* Needs to be placed in ~/.revealjs/reveal.js/css/theme/ * Needs to be placed in ~/.revealjs/reveal.js/dist/theme/
*/ */
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 { 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; } color: #222; }
@@ -13,8 +13,9 @@ section.has-light-background, section.has-light-background h1, section.has-light
body { body {
background: #222; background: #222;
background-color: #222; background-color: #222;
background-image: linear-gradient(black, purple);} /* ntnsndr added */ background-image: linear-gradient(#CFB87C, #CFB87C, black); /* ntnsndr added */
}
.reveal { .reveal {
font-family: "Dinreg", "D-DIN", "CMU Bright", Helvetica, sans-serif; /* ntnsndr adjusted */ font-family: "Dinreg", "D-DIN", "CMU Bright", Helvetica, sans-serif; /* ntnsndr adjusted */
font-size: 38px; font-size: 38px;