Make h-entries look WAY better, the home page looks great now

This commit is contained in:
Danielle McLean 2017-10-09 12:28:44 +11:00
parent 764935adbd
commit 1f1108a886
Signed by: 00dani
GPG key ID: 5A5D2D1AFF12EEC5
5 changed files with 16 additions and 5 deletions

View file

@ -0,0 +1,2 @@
ol.h-feed
margin: 2em

2
templates/entry.cassius Normal file
View file

@ -0,0 +1,2 @@
article.h-entry
margin: 2em

View file

@ -2,7 +2,11 @@ body > main
display: flex
flex-direction: row-reverse
margin: 2em
> .entries
> ol.h-feed
flex: 1
margin-right: 2em;
> .author
max-width: 30%
> .h-card
position: sticky
top: 1em

View file

@ -1,4 +1,2 @@
<div .author>
^{hCard userE}
<div .entries>
^{hFeed entries}
<div .author>^{hCard userE}
^{hFeed entries}

View file

@ -0,0 +1,5 @@
ol.h-feed
list-style: none
padding-left: 0
> li:not(:last-child)
margin-bottom: 1em