Make h-entries look WAY better, the home page looks great now
This commit is contained in:
parent
764935adbd
commit
1f1108a886
5 changed files with 16 additions and 5 deletions
2
templates/entries.cassius
Normal file
2
templates/entries.cassius
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
ol.h-feed
|
||||||
|
margin: 2em
|
2
templates/entry.cassius
Normal file
2
templates/entry.cassius
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
article.h-entry
|
||||||
|
margin: 2em
|
|
@ -2,7 +2,11 @@ body > main
|
||||||
display: flex
|
display: flex
|
||||||
flex-direction: row-reverse
|
flex-direction: row-reverse
|
||||||
margin: 2em
|
margin: 2em
|
||||||
> .entries
|
> ol.h-feed
|
||||||
flex: 1
|
flex: 1
|
||||||
|
margin-right: 2em;
|
||||||
> .author
|
> .author
|
||||||
max-width: 30%
|
max-width: 30%
|
||||||
|
> .h-card
|
||||||
|
position: sticky
|
||||||
|
top: 1em
|
||||||
|
|
|
@ -1,4 +1,2 @@
|
||||||
<div .author>
|
<div .author>^{hCard userE}
|
||||||
^{hCard userE}
|
^{hFeed entries}
|
||||||
<div .entries>
|
|
||||||
^{hFeed entries}
|
|
||||||
|
|
5
templates/mf2/h-feed.cassius
Normal file
5
templates/mf2/h-feed.cassius
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
ol.h-feed
|
||||||
|
list-style: none
|
||||||
|
padding-left: 0
|
||||||
|
> li:not(:last-child)
|
||||||
|
margin-bottom: 1em
|
Loading…
Reference in a new issue