working on new index view

This commit is contained in:
rra 2019-06-24 10:58:09 +02:00
parent 31d988b7a3
commit 93dc9efd86
2 changed files with 9 additions and 8 deletions

View File

@ -119,10 +119,13 @@ a {
} }
#post-list { #post-list {
padding-left:0px; display: flex;
margin-top:0px; flex-wrap: wrap;
} }
.post-item {
max-width: 30%;
}
h1{ h1{
font-size:2.4rem; font-size:2.4rem;
@ -153,11 +156,9 @@ h1, h2,h3 {
margin:0; margin:0;
} }
.hentry{ .hentry{
border-width: 1px; background-color: #EAEAEA;
border-color: #EAEAEA; padding:1.4em;
border-style: hidden hidden dashed hidden; margin-bottom:1.4em;
padding-top:2em;
padding-bottom:2em;
} }
.entry-title{ .entry-title{

View File

@ -6,7 +6,7 @@
<ol id="post-list"> <ol id="post-list">
{% for article in articles_page.object_list %} {% for article in articles_page.object_list %}
<ul><article class="hentry"> <ul class="post-item"><article class="hentry">
<header> <header>
<div class="entry-title"><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></div> <div class="entry-title"><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></div>
</header> </header>