summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--assets/css/_vars.scss4
-rw-r--r--assets/css/components/_post-list.scss13
-rw-r--r--scripts/metadata_filter.lua1
-rw-r--r--templates/layouts/categorized_list.html9
4 files changed, 15 insertions, 12 deletions
diff --git a/assets/css/_vars.scss b/assets/css/_vars.scss
index 5ba9fa2..ab3d9e5 100644
--- a/assets/css/_vars.scss
+++ b/assets/css/_vars.scss
@@ -68,8 +68,8 @@ $gray7: hsl(220, 7%, 100%);
68 --link: ( 68 --link: (
69 --idle: var(--colors--fg-lo), 69 --idle: var(--colors--fg-lo),
70 --colored: ( 70 --colored: (
71 --idle: hsl(210, 90%, 72%), // hsl(354, 100%, 66%), 71 --idle: hsl(210, 90%, 72%), //hsl(var(--colors--accent--h), 100%, 66%), //
72 --visited: hsl(270, 60%, 75%), // hsl(354, 50%, 66%), 72 --visited: hsl(270, 60%, 75%), //hsl(var(--colors--accent--h), 50%, 66%), //
73 ) 73 )
74 ), 74 ),
75 ) 75 )
diff --git a/assets/css/components/_post-list.scss b/assets/css/components/_post-list.scss
index 764fe3f..5e9f520 100644
--- a/assets/css/components/_post-list.scss
+++ b/assets/css/components/_post-list.scss
@@ -5,8 +5,8 @@
5 --fg: prop(--colors --fg-lo, $global: true), 5 --fg: prop(--colors --fg-lo, $global: true),
6 ), 6 ),
7 --post: ( 7 --post: (
8 --idle-fg: hsl(210, 90%, 72%), // hsl(354, 100%, 66%), 8 --idle-fg: prop(--colors --fg-lo, $global: true),
9 --visited-fg: hsl(270, 60%, 75%), // hsl(354, 50%, 66%), 9 --visited-fg: prop(--colors --fg, $global: true),
10 --bg: prop(--colors --bg-lo, $global: true), 10 --bg: prop(--colors --bg-lo, $global: true),
11 --border: prop(--colors --obj-hi, $global: true), 11 --border: prop(--colors --obj-hi, $global: true),
12 ), 12 ),
@@ -41,7 +41,7 @@
41 text-decoration: none; 41 text-decoration: none;
42 42
43 @include next-twin-element { 43 @include next-twin-element {
44 border-top: 1px solid prop(--colors --post --border); 44 margin-top: 2px;
45 } 45 }
46 46
47 &:visited { 47 &:visited {
@@ -52,10 +52,9 @@
52 } 52 }
53 53
54 @include element('post-title') { 54 @include element('post-title') {
55 margin-right: 1em; 55 margin-right: 1em;
56 color: prop(--colors --post --idle-fg); 56 color: prop(--colors --post --idle-fg);
57 font-size: 1 / 16 * 17em; 57 font-size: 1 / 16 * 17em;
58 text-decoration: underline;
59 } 58 }
60 59
61 @include element('post-date') { 60 @include element('post-date') {
diff --git a/scripts/metadata_filter.lua b/scripts/metadata_filter.lua
index 5f2d9af..914cd09 100644
--- a/scripts/metadata_filter.lua
+++ b/scripts/metadata_filter.lua
@@ -13,6 +13,7 @@ function format_date(date)
13 dd = os.date("%d", time), 13 dd = os.date("%d", time),
14 rfc3339 = os.date("%FT%T+00:00", time), 14 rfc3339 = os.date("%FT%T+00:00", time),
15 long = os.date("%B %d, %Y", time), 15 long = os.date("%B %d, %Y", time),
16 short = os.date("%b %d, %y", time),
16 } 17 }
17end 18end
18 19
diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html
index 60729bd..5dddc55 100644
--- a/templates/layouts/categorized_list.html
+++ b/templates/layouts/categorized_list.html
@@ -1,6 +1,6 @@
1<section class="l-section l-section--fullscreen l-section--no-head"> 1<section class="l-section l-section--fullscreen l-section--no-head">
2 <div class="l-container l-container--pad-x l-container--pad-y l-container--content s-colored-links"> 2 <div class="l-container l-container--pad-x l-container--pad-y l-container--content">
3 <div class="s-headlines"> 3 <div class="s-headlines s-colored-links">
4 <h1 class="u-mt0"><span class="s-headlines__title-inner">$title$</span></h1> 4 <h1 class="u-mt0"><span class="s-headlines__title-inner">$title$</span></h1>
5 5
6$body$ 6$body$
@@ -18,7 +18,10 @@ $body$
18 </span> 18 </span>
19 19
20 $if(it.category.show_date)$ 20 $if(it.category.show_date)$
21 <time datetime="$it.date.yyyy_mm_dd$" class="c-post-list__post-date"> 21 <time datetime="$it.date.yyyy_mm_dd$" class="c-post-list__post-date u-dn@sm-hi">
22 $it.date.short$
23 </time>
24 <time datetime="$it.date.yyyy_mm_dd$" class="c-post-list__post-date u-dn@sm-lo">
22 $it.date.long$ 25 $it.date.long$
23 </time> 26 </time>
24 $endif$ 27 $endif$