Skip to content

Commit efb2860

Browse files
authored
Enhance slide layout with custom styles and adjust object height (#63)
* Enhance slide layout with custom styles and adjust object height * Adjust slide layout max-width and object height for improved presentation
1 parent 3551b08 commit efb2860

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

_layouts/slide.html

+11-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,18 @@
22
layout: default
33
---
44

5+
<style>
6+
/* Override the default styles for the slide layout */
7+
#main.container {
8+
max-width: 1000px;
9+
}
10+
11+
</style>
12+
513
<h1>{{ page.title }}</h1>
614
<div class="speaker-name">{{ page.speaker }}</div>
715

8-
<object data="{{ page.filename }}" width="100%" height="500" type="application/pdf"></object>
9-
16+
<object data="{{ page.filename }}" width="100%" height="600" type="application/pdf"></object>
17+
<center>
1018
<p><a href="/slides">Back to Slides</a></p>
19+
</center>

0 commit comments

Comments
 (0)