Skip to content

Commit

Permalink
using more width in slides
Browse files Browse the repository at this point in the history
  • Loading branch information
j-i-l committed Oct 9, 2024
1 parent 4fd690f commit 73fd13e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/_static/slides.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.bd-page-width {
max-width: max(88rem, 85vw);
}
1 change: 1 addition & 0 deletions source/_templates/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
smallText.style.fontSize = (vh * 0.02) + 'px'; // 3% of viewport height for small
}


// Adjust font size on initial load
adjustFontSize();

Expand Down
2 changes: 2 additions & 0 deletions source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,5 +120,7 @@ def setup(app):
}
# only show discuss and pages icons in sidebar
app.config.html_theme_options['icon_links'] = [discuss_icon, pages_icon]
# adding the new styling
app.config.html_css_files.append('slides.css')
app.connect("source-read", rstjinja)
app.connect("include-read", include_rstjinja)

0 comments on commit 73fd13e

Please sign in to comment.