Skip to content

Commit 50f0dc2

Browse files
committed
use water.css
1 parent f00bb2f commit 50f0dc2

File tree

6 files changed

+40
-19
lines changed

6 files changed

+40
-19
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,7 @@ and is deployed using [cloudflare workers](https://developers.cloudflare.com/wor
1313
## github actions
1414

1515
through [github actions](https://github.com/zuzhi/my-blog/blob/main/.github/workflows/main.yml)
16+
17+
## run dev
18+
19+
with `lein serve`

content/md/pages/til.md

+14
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
{:title "Today I Learned"
22
:page-index 0}
3+
4+
## 2025-01-15
5+
6+
`SPC t w`: Soft line wrapping
7+
8+
`sql mode` -> sql postgres -> literate programming
9+
10+
## 2024-10-08
11+
12+
`SPC t c`: Fill Column Indicator
13+
14+
## 2024-10-06
15+
16+
query-replace
317

418
## 2024-07-25
519

themes/pico/css/blog.css

+10-11
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
11
main {
2-
width: 400px;
2+
width: 600px;
33
}
44

5-
/* Styles for mobile screens */
65
@media (max-width: 600px) {
76
main {
87
width: 100%;
98
}
109
}
1110

12-
.footnotes li,
13-
.footnotes p {
14-
font-size: .8em;
15-
}
11+
/* .footnotes li, */
12+
/* .footnotes p { */
13+
/* font-size: .8em; */
14+
/* } */
1615

17-
.footnotes p {
18-
margin-bottom: 0;
19-
margin-right: .5em;
20-
display: inline-block;
21-
}
16+
/* .footnotes p { */
17+
/* margin-bottom: 0; */
18+
/* margin-right: .5em; */
19+
/* display: inline-block; */
20+
/* } */

themes/pico/html/archives.html

+4
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ <h4>{{group.group}}</h4>
1515
{% endfor %}
1616
</ul>
1717
{% endfor %}
18+
<h4>til</h4>
19+
<ul>
20+
<li><a href="/til.html">til</a></li>
21+
</ul>
1822

1923
</div>
2024
{% endblock %}

themes/pico/html/base.html

+5-5
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
<link rel="shortcut icon" href="{{blog-prefix}}/img/z.png">
1313

14+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/water.css@2/out/water.css">
15+
1416
{% style "css/blog.css" %}
1517
{% if post.js %}
1618
<link rel=stylesheet"
@@ -26,11 +28,9 @@
2628
<h4>
2729
<a href="/" id="home">zuzhi</a>
2830
<a href="/archives.html">archives</a>
29-
<a href="/til.html">til</a>
30-
<a href="https://progress.huzuzhi.com">progress</a>
31-
<a href="https://chaptify.vercel.app" target="_blank">chaptify</a>
32-
<a href="https://github.com/zuzhi">github</a>
33-
<a href="https://x.com/huzuzhi">x</a>
31+
<a href="https://amply.huzuzhi.com" target="_blank">↗amply</a>
32+
<a href="https://github.com/zuzhi" target="_blank">↗github</a>
33+
<a href="https://x.com/huzuzhi" target="_blank">↗x</a>
3434
</h4>
3535
</header>
3636

themes/pico/html/post-content.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<h1>
22
{{post.title}}
3-
{% if post.draft %}
4-
<small>(Draft)</small>
5-
{% endif %}
63
</h1>
4+
{% if post.draft %}
5+
<small>(still a draft)</small>
6+
{% endif %}
77
{% if post.toc %}{{post.toc|safe}}{% endif %}
88
{{post.content|safe}}
99
<br/>

0 commit comments

Comments
 (0)