paulrouget / dzslides

DZSlides is a one-file HTML template to build slides in HTML5 and CSS3.
http://paulrouget.com/dzslides
932 stars 255 forks source link

Move figure CSS into userland #90

Closed wasnotrice closed 12 years ago

wasnotrice commented 12 years ago

Resizing figures is a nice feature, as long as your images are the right shape and size. However, resizing can change the aspect ratio of images, resulting in poor appearance, if the images are not of the right shape.

Currently, the CSS that resizes the figures is inside the dzslides-core section of the template, where editing is somewhat discouraged.

This commit moves the css for figures out of dzslides-core and up into the style tag that is intended for user modification. It's easier to modify this way, for those presentations that need to modify it.

hsablonniere commented 12 years ago

I don't see any problems with that.

@paulrouget Can I merge?