From 93dc9efd860a97b85f7f9851f590157850f90dda Mon Sep 17 00:00:00 2001 From: rra Date: Mon, 24 Jun 2019 10:58:09 +0200 Subject: [PATCH] working on new index view --- themes/homebrewtheme/static/css/main.css | 15 ++++++++------- themes/homebrewtheme/templates/index.html | 2 +- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/themes/homebrewtheme/static/css/main.css b/themes/homebrewtheme/static/css/main.css index 3a37dc1..87a6195 100644 --- a/themes/homebrewtheme/static/css/main.css +++ b/themes/homebrewtheme/static/css/main.css @@ -119,10 +119,13 @@ a { } #post-list { - padding-left:0px; - margin-top:0px; + display: flex; + flex-wrap: wrap; } +.post-item { + max-width: 30%; +} h1{ font-size:2.4rem; @@ -153,11 +156,9 @@ h1, h2,h3 { margin:0; } .hentry{ - border-width: 1px; - border-color: #EAEAEA; - border-style: hidden hidden dashed hidden; - padding-top:2em; - padding-bottom:2em; + background-color: #EAEAEA; + padding:1.4em; + margin-bottom:1.4em; } .entry-title{ diff --git a/themes/homebrewtheme/templates/index.html b/themes/homebrewtheme/templates/index.html index dce61bd..675bf54 100644 --- a/themes/homebrewtheme/templates/index.html +++ b/themes/homebrewtheme/templates/index.html @@ -6,7 +6,7 @@
    {% for article in articles_page.object_list %} -