n1k0 / landslide

An HTML5 slideshow generator based on Markdown or reStructuredText
Apache License 2.0
172 stars 19 forks source link

default theme not generating correct title slides #8

Closed brunobord closed 14 years ago

brunobord commented 14 years ago

Stumbled upon a display bug. When I was generating a slideshow using title slides, these were not correctly displayed : they were on the top-left of the slide.

I've tried a few things and saw that the addition of the "aside" page numbers excluded these header>h1 off the "only-child" rules.

In the default theme, screen.css file:

Line 125 was: section, .slide header:only-child h1 {

but should read: section, .slide header h1:only-child {

Same with line 154, which should read: .slide header h1:only-child {

I'm not sure which one is the most important, though.

n1k0 commented 14 years ago

fixed :)