diff --git a/src/404.md b/src/404.md new file mode 100644 index 0000000..7789c8e --- /dev/null +++ b/src/404.md @@ -0,0 +1,6 @@ +# 404 Not Found + +
+

頁面不見啦!

+

返回上一級 | 返回主頁面

+
diff --git a/src/assets/main.css b/src/assets/main.css index b4392a0..ccd5adf 100644 --- a/src/assets/main.css +++ b/src/assets/main.css @@ -40,14 +40,14 @@ main { } nav { - margin: 0; + margin-top: 1em; padding: 0 16pt; box-shadow: 0 0 8pt var(--shade); display: flex; justify-content: space-between; flex-wrap: wrap; position: sticky; - top: 1em; + top: 0; text-align: center; background-color: var(--back); } @@ -88,17 +88,25 @@ dd { table { border-collapse: collapse; - /* margin: 0 auto; */ -} -tr { - border-bottom: 1px solid var(--shade); -} -thead, tbody tr:nth-last-child(1) { + border-top: 2px solid var(--fore); border-bottom: 2px solid var(--fore); } +tr:not(:nth-last-child(1)) { + border-bottom: 1px solid var(--shade); +} td { padding: 2pt 8pt; } +table.pages { + border-top: none; + border-bottom: none; +} +table.pages tr { + border-bottom: none; +} +table.pages td:nth-child(1) { + border-right: 1px solid var(--shade); +} @media (max-width: 520px) { nav { diff --git a/src/page/Git服務.md b/src/page/Git服務.md index 7de85c3..bd3ae78 100644 --- a/src/page/Git服務.md +++ b/src/page/Git服務.md @@ -8,4 +8,4 @@ 本網站的原始碼也在[這裡](https://git.amaharacya.one/amainait/amaharacya.one)。 -如果你想要一個賬號,可以聯絡 Amahara。在[主頁](/)可找到聯絡方式。 +在服務主頁可直接用你的郵箱申請賬號。如果驗證郵箱沒有送達,請檢查垃圾郵件列表。 diff --git a/src/page/XMPP服務.md b/src/page/XMPP服務.md index c600ed7..88c8750 100644 --- a/src/page/XMPP服務.md +++ b/src/page/XMPP服務.md @@ -5,5 +5,3 @@ 本站伺服器建有 [XMPP 服務](https://wikipedia.org/wiki/XMPP),使用了 [ejabberd](https://www.ejabberd.im/)。 如果你想要一個賬號,可以聯絡 Amahara。在[主頁](/)可找到聯絡方式。 - -此事在 [FSFans Wiki](https://wiki.fsfans.club/doku.php?id=start) 亦有記載。 diff --git a/src/tmpl.html b/src/tmpl.html index 75436d5..711a619 100644 --- a/src/tmpl.html +++ b/src/tmpl.html @@ -47,17 +47,20 @@

緒山 雨晴

Amahara Oyama

-
- {{.Html}} -
+
{{.Html}}
{{end}} {{define "pages"}} {{.Html}} - + + + {{- range .ListM -}} + + + + + {{- end -}} + +
{{.Date}}{{.Title}}
{{end}} diff --git a/tpl/page-index.php b/tpl/page-index.php index 5709291..8496410 100644 --- a/tpl/page-index.php +++ b/tpl/page-index.php @@ -30,9 +30,17 @@ array_multisort( ); ?> - + + + \n"; + ?> + +
", + date("Y-m-d", $page["date"]), + "", + $page["title"], + "