diff --git a/templates/entries.cassius b/templates/entries.cassius new file mode 100644 index 0000000..7ba39cf --- /dev/null +++ b/templates/entries.cassius @@ -0,0 +1,2 @@ +ol.h-feed + margin: 2em diff --git a/templates/entry.cassius b/templates/entry.cassius new file mode 100644 index 0000000..93df855 --- /dev/null +++ b/templates/entry.cassius @@ -0,0 +1,2 @@ +article.h-entry + margin: 2em diff --git a/templates/home.cassius b/templates/home.cassius index 56442f7..16234f9 100644 --- a/templates/home.cassius +++ b/templates/home.cassius @@ -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 diff --git a/templates/home.hamlet b/templates/home.hamlet index 695a518..26b5e93 100644 --- a/templates/home.hamlet +++ b/templates/home.hamlet @@ -1,4 +1,2 @@ -
- ^{hCard userE} -
- ^{hFeed entries} +
^{hCard userE} +^{hFeed entries} diff --git a/templates/mf2/h-feed.cassius b/templates/mf2/h-feed.cassius new file mode 100644 index 0000000..f684b42 --- /dev/null +++ b/templates/mf2/h-feed.cassius @@ -0,0 +1,5 @@ +ol.h-feed + list-style: none + padding-left: 0 + > li:not(:last-child) + margin-bottom: 1em