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 {
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{

View File

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