diff --git a/layouts/partials/posts-defile.html b/layouts/partials/posts-defile.html index 4af780e..c552bd1 100644 --- a/layouts/partials/posts-defile.html +++ b/layouts/partials/posts-defile.html @@ -2,33 +2,32 @@ {{ $context := .context }}
+
+
{{- $pages := where $context.Site.RegularPages "Section" "ne" "" -}} {{- range (sort $pages "Date" "desc") -}} - + {{ .Section }} -

{{ .Title }}

-
- {{ .Title }} cover image -
+ {{ .Title }}

{{ .Date.Format "2006-01-02" }}

{{- end -}}
-
+ + +
s {{- $pages := where $context.Site.RegularPages "Section" "ne" "" -}} {{- range (sort $pages "Date" "desc") -}} - + {{ .Section }} -

{{ .Title }}

-
- {{ .Title }} cover image -
+ {{ .Title }}

{{ .Date.Format "2006-01-02" }}

{{- end -}}
+
@@ -65,12 +64,18 @@ background: var(--entry); border-radius: var(--radius); border: 1px solid var(--border); + height: 100px; + + background-position: center; + background-repeat: no-repeat; + background-size: cover; + backdrop-filter: blur(100px); } -.scrolling-posts-item h2 { +.scrolling-posts-item-title { font-size: 1em; margin: 0; - color: var(--text); + color: #ccc; font-weight: 400; line-height: 1.5em; text-decoration: none; @@ -80,7 +85,7 @@ .scrolling-posts-date { font-size: 0.8em; - color: var(--text); + color: #ccc; margin: 0; text-align: left; } @@ -90,7 +95,7 @@ font-size: 0.8em; padding: 2px 6px; margin-right: 5px; - background: var(--theme); + background-color: var(--theme); border-radius: 3px; color: var(--primary); }