Created
April 7, 2023 14:53
-
-
Save simevidas/b1e29d86923805526d2e7a0dd723778c to your computer and use it in GitHub Desktop.
Make reveal.js slides render without JavaScript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* { | |
box-sizing: border-box !important; | |
pointer-events: initial !important; | |
} | |
.slides { | |
position: static !important; | |
} | |
.slides section { | |
position: static !important; | |
display: grid !important; | |
justify-content: center !important; | |
align-content: center !important; | |
height: auto !important; | |
min-height: 100vh !important; | |
padding-block: 1em !important; | |
border-bottom: 3px solid black !important; | |
} | |
.slides section > * { | |
max-width: 80vw !important; | |
} | |
.fragment { | |
opacity: 1 !important; | |
visibility: visible !important; | |
} | |
h2 { | |
white-space: initial !important; | |
} | |
h2 br { | |
display: none !important; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment