diff options
| author | eltrac <hi@eltr.ac> | 2026-04-07 14:53:17 +0800 |
|---|---|---|
| committer | eltrac <hi@eltr.ac> | 2026-04-07 14:53:17 +0800 |
| commit | 10431bd8f5ff71690ae4e5444e8d7894fd401ae5 (patch) | |
| tree | 62b7fd1b6c1f68d2804f380eb522bcebeb2c8d9f /layouts/404.html | |
| parent | 3e0edacc4a0cafa53ede57ebb6f0378c93f3123b (diff) | |
chore: move templates out of site repo
Diffstat (limited to 'layouts/404.html')
| -rw-r--r-- | layouts/404.html | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/layouts/404.html b/layouts/404.html deleted file mode 100644 index 6f17a145..00000000 --- a/layouts/404.html +++ /dev/null @@ -1,47 +0,0 @@ -{{ define "main" }} - <style> - .page-404 { - position: relative; - height: calc(100dvh - var(--page-margin-y) * 2) - } - .page-404 .title-404 { - position: absolute; - bottom: 0; - right: 0; - font-size: 5rem; - font-style: italic; - filter: url(#x); - color: var(--secondary-text-color); - margin: 0; - } - - .image-404 { - width: 10rem; - filter: url(#xs); - @media (prefers-color-scheme: dark) { - filter: url(#xs) invert(1); - } - } - - @media screen and (min-width: 768px) { - .page-404 { - display: flex; - align-items: center; - justify-content: center; - gap: 5rem; - } - .image-404 { - width: 15rem; - } - } - </style> - <article class="page-404"> - <img src="/img/ghost-window.svg" class="image-404" /> - <div class="markdown-body text-size-lg md:text-size-xl"> - <h1 class="title-404">404</h1> - <p>Windows 和幽灵偷走了你的页面</p> - <p>可恶的微软和能量体生物!</p> - <p><a href="/">Mac 和骷髅为你祈祷</a></p> - </div> - </article> -{{ end }} |
