Skip to content

Commit 0749b1e

Browse files
committed
Add reveal-override.css
Fix image handling in the "white" theme so that it doesn't draw an ugly black border and box shadow around each image, making it look like an obituary.
1 parent 991a40b commit 0749b1e

File tree

3 files changed

+38
-0
lines changed

3 files changed

+38
-0
lines changed

itnot/css/reveal-override.css

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

itnot/css/reveal-override.scss

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
/* This file is linked from index.html, and should include any CSS
2+
overrides that you want to apply to your selected reveal.js
3+
"white" theme.
4+
*/
5+
6+
.reveal {
7+
h3, h4, h5, h6 {
8+
text-transform: none;
9+
}
10+
11+
.hidden {
12+
display: none !important;
13+
}
14+
15+
section {
16+
img {
17+
border: none;
18+
box-shadow: none;
19+
}
20+
}
21+
}

itnot/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
<link rel="stylesheet" href="css/reveal.css">
1010
<link rel="stylesheet" href="css/theme/white.css">
11+
<link rel="stylesheet" href="css/reveal-override.css">
1112

1213
<!-- Theme used for syntax highlighting of code -->
1314
<link rel="stylesheet" href="lib/css/zenburn.css">

0 commit comments

Comments
 (0)