-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Statically Sized Slides? #77
Comments
Garrettwilkin: I added your changes to .slides article{} in firefox devtools, and they seemed to take effect. So, there are a couple of things that might be happening: 1. If you are putting the above in a custom css file, it's possible it's being overridden by the slides theme file, in which case adding !important should solve your problem. 2. The changes you've made above are pretty slight (in my browser, width is only 100px more than default, and height is only 65px), so I would suggest changing them a little bit more just to make sure the changes really are not occurring and you just aren't noticing. I changed the width to be 2000px and the height to be 1000px. Hope this was helpful! |
Yes, the slides are statically sized. Having a "full screen" theme is something that's been brought up a few times, but isn't something I have bandwidth to work on. |
👍, I would also love to get the ability to make the slides span the whole screen in fullscreen (and non-fullscree, to be honest), otherwise this just wastes available space during presentation. |
How hard would it be to integrate something like http://lab.hakim.se/reveal-js as a theme? There has been some work with https://pypi.python.org/pypi/sphinxjp.themes.revealjs but it uses custom ReST directives for inserting slides, instead of mapping ReST sections to slides. |
@petarmaric I just took a brief look at reveal.js, so the following is based on a very brief assessment. When I started building Hieroglyph it used a static HTML layout and the theme just applied CSS and JS. That's about the last time I evaluated reveal.js. Since then (with slides2, especially) Hieroglyph has grown the ability to use Jinja2 templates for emitting individual slide output (ie, https://github.com/nyergler/hieroglyph/blob/master/src/hieroglyph/themes/slides2/slide.html). So I think you could probably write a reasonable Reveal.js theme for Hieroglyph. I'm not sure everything would map (for example, not sure off the top of my head how reveal fragments would be expressed in Sphinx), but you could definitely emit slides. Happy to help review a PR if this is something you're interested in. |
@nyergler Sure I'll give it a shot, once the semester ends. |
I recently created my own theme, so I'm still getting oriented here, but it seems to me that the slides are limited to a static height and width. Am I mistaken?
I ended up trying to get a better "full screen" effect by setting height, width, and margin here:
.slides > article
{
background-color: black;
width: 1000px;
height: 765px;
margin-left: -507px;
margin-top: -388px;
}
The text was updated successfully, but these errors were encountered: