File tree Expand file tree Collapse file tree 7 files changed +39
-6
lines changed
Expand file tree Collapse file tree 7 files changed +39
-6
lines changed Original file line number Diff line number Diff line change 11< time datetime ="{{ include.post.date | date_to_xmlschema }} ">
22 < a href ="{{ include.post.url }} "
3- > {{ include.post.date | date: "%B %-d, %Y " }}</ a
3+ > {{ include.post.date | date: "%Y – %m – %d " }}</ a
44 >
55</ time >
Original file line number Diff line number Diff line change 11< header >
22 {% include datetime.html post=include.post %}
3- < h1 > < a class ="external " href ="{{ include.post.link }} " target ="_blank " rel ="noopener "> {{ include.post.title }} →</ a > </ h1 >
3+ < h1 > < a class ="external " href ="{{ include.post.link }} " target ="_blank " rel ="noopener "> {{ include.post.title }}→</ a > </ h1 >
44</ header >
55
66{{ include.post.content }}
Original file line number Diff line number Diff line change 1+ < header >
12{% include datetime.html post=include.post %}
3+ </ header >
24
35{{ include.post.content }}
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ $light-mode-color-gridlines: color(display-p3 0.9 0.09 0.2 / 0.25);
1111$dark-mode-color-gridlines : color (display-p3 0.9 0.09 0.2 / 0.25 );
1212
1313$light-mode-background : color (display-p3 0.998 0.982 0.984 );
14- $light-mode-text : color (display-p3 0.364 0.036 0.08 );
14+ $light-mode-text : color (display-p3 0.273 0.027 0.06 );
1515$light-mode-text-secondary : color (display-p3 0.364 0.036 0.08 / 0.7 );
1616$light-mode-text-emphasized : color (display-p3 0.036 0.004 0.008 );
1717$light-mode-accent : color (display-p3 0.9 0.09 0.2 );
Original file line number Diff line number Diff line change 1+ @use ' vendors/vertical-rhythm-reset' as vr ;
2+
13article {
2-
4+ @include vr .set ($margin-top : 1 );
5+
6+ header {
7+ display : grid ;
8+
9+ h1 {
10+ justify-self : start ;
11+ }
12+
13+ time {
14+ @include vr .set ($font-size : -1 );
15+
16+ justify-self : end ;
17+
18+ a {
19+ text-decoration : none ;
20+ }
21+ }
22+ }
323}
Original file line number Diff line number Diff line change 1818
1919@use ' layout/header' ;
2020@use ' layout/footer' ;
21+ @use ' layout/article' ;
2122
2223@use " themes/themes" ;
2324
Original file line number Diff line number Diff line change @@ -7,13 +7,13 @@ $themes: (
77 text-emphasized : $light-mode-text-emphasized ,
88 accent : $light-mode-accent ,
99 link-underline : $light-mode-link-underline ,
10- text-secondary : $light-mode-text-secondary ),
10+ text-secondary : $light-mode-text-secondary ),
1111 dark : (background : $dark-mode-background ,
1212 text : $dark-mode-text ,
1313 text-emphasized : $dark-mode-text-emphasized ,
1414 accent : $dark-mode-accent ,
1515 link-underline : $dark-mode-link-underline ,
16- text-secondary : $dark-mode-text-secondary )
16+ text-secondary : $dark-mode-text-secondary )
1717);
1818
1919@mixin theme ($theme ) {
@@ -64,6 +64,16 @@ $themes: (
6464 }
6565 }
6666 }
67+
68+ article {
69+ header {
70+ time {
71+ a {
72+ color : map .get ($colors , text-secondary );
73+ }
74+ }
75+ }
76+ }
6777}
6878
6979@media (prefers-color-scheme : light ) {
You can’t perform that action at this time.
0 commit comments