diff --git a/_posts/demos/2011-01-11-images.html b/_posts/demos/2011-01-11-images.html new file mode 100644 index 0000000..f09899c --- /dev/null +++ b/_posts/demos/2011-01-11-images.html @@ -0,0 +1,55 @@ +--- +title: Images +layout: demo +category: demos +related: etc +photos: + - Stanley + - Officer + - Tony + - Kendra + - Giraffe + - Gavin + - Anita + - Take My Portrait + - Wonder +--- + +
+ +
+ +
+ {% for photo in page.photos %} +
+ {{ photo }} +
+ {% endfor %} +
+ + + + + + + + + + + \ No newline at end of file diff --git a/css/style.css b/css/style.css index c6b089a..35420c9 100644 --- a/css/style.css +++ b/css/style.css @@ -344,6 +344,18 @@ body { max-width: 640px; } +/**** Photo demo ****/ + +.photos .photo { + width: 320px; + margin: 5px; + float: left; +} + +.photos .photo img { + display: block; + width: 100%; +} /**** Docs ****/