From ac6009710ec09ab2f64de5c1f97ca5491f1b51dd Mon Sep 17 00:00:00 2001 From: David Chambers Date: Mon, 15 Aug 2016 18:10:04 +0200 Subject: [PATCH] fix aspect ratio of "city" photos --- _site/css/main.css | 10 +++++----- _site/feed.xml | 4 ++-- _site/index.html | 6 +----- css/main.css | 10 +++++----- index.html | 6 +----- 5 files changed, 14 insertions(+), 22 deletions(-) diff --git a/_site/css/main.css b/_site/css/main.css index 0525cda..f65ebc7 100644 --- a/_site/css/main.css +++ b/_site/css/main.css @@ -95,11 +95,11 @@ body { color: #797b91; } -#events-list img.city { - display: block; - max-width: 247px; - max-height: 247px; - background-position: ; +#events-list .city { + width: 247px; + height: 247px; + background-position: center; + background-size: cover; } #events-list img.organizer { diff --git a/_site/feed.xml b/_site/feed.xml index 8601728..a73e8ed 100644 --- a/_site/feed.xml +++ b/_site/feed.xml @@ -5,8 +5,8 @@ ClojureBridge aims to increase diversity within the Clojure community by offering free, beginner-friendly Clojure programming workshops for women. http://clojurebridge.org/ - Mon, 15 Aug 2016 17:59:08 +0200 - Mon, 15 Aug 2016 17:59:08 +0200 + Mon, 15 Aug 2016 18:08:21 +0200 + Mon, 15 Aug 2016 18:08:21 +0200 Jekyll v3.2.1 diff --git a/_site/index.html b/_site/index.html index ef1313f..9dc4667 100644 --- a/_site/index.html +++ b/_site/index.html @@ -91,11 +91,7 @@

  • -
    -
    - -
    -
    +

    Berlin, Germany diff --git a/css/main.css b/css/main.css index 0525cda..f65ebc7 100644 --- a/css/main.css +++ b/css/main.css @@ -95,11 +95,11 @@ body { color: #797b91; } -#events-list img.city { - display: block; - max-width: 247px; - max-height: 247px; - background-position: ; +#events-list .city { + width: 247px; + height: 247px; + background-position: center; + background-size: cover; } #events-list img.organizer { diff --git a/index.html b/index.html index f908b83..86afd9b 100644 --- a/index.html +++ b/index.html @@ -24,11 +24,7 @@

    {% assign postStartDate = post.date | date: '%s' %} {% if postStartDate >= curDate %}
  • -
    -
    - -
    -
    +

    {{ post.title }}