Browse Source

working on new index view

pull/2/head
rra 5 years ago
parent
commit
93dc9efd86
  1. 15
      themes/homebrewtheme/static/css/main.css
  2. 2
      themes/homebrewtheme/templates/index.html

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

2
themes/homebrewtheme/templates/index.html

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

Loading…
Cancel
Save