31 lines
772 B
HTML
31 lines
772 B
HTML
<!-- This partial is included before the end of the head tag for only the 'example' presentation -->
|
|
<!-- A common use would be to add CSS to the page to customize the theme -->
|
|
<style>
|
|
/* Add padding, margin and a hover effect on code samples */
|
|
.reveal section pre {
|
|
box-shadow: none;
|
|
margin-top: 25px;
|
|
margin-bottom: 25px;
|
|
border: 1px solid lightgrey;
|
|
}
|
|
.reveal section pre:hover {
|
|
border: 1px solid grey;
|
|
transition: border 0.3s ease;
|
|
}
|
|
.reveal section pre > code {
|
|
padding: 10px;
|
|
}
|
|
.reveal table {
|
|
font-size: 0.65em;
|
|
}
|
|
/* For slide-specific CSS example */
|
|
.reveal section.side-by-side h1 {
|
|
position: absolute;
|
|
}
|
|
.reveal section.side-by-side h1:first-of-type {
|
|
left: 25%;
|
|
}
|
|
.reveal section.side-by-side h1:nth-of-type(2) {
|
|
right: 25%;
|
|
}
|
|
</style>
|