Skip to content

Commit

Permalink
update theme
Browse files Browse the repository at this point in the history
  • Loading branch information
picobird committed Feb 17, 2024
1 parent e9471df commit a6e59c8
Show file tree
Hide file tree
Showing 234 changed files with 56,898 additions and 0 deletions.
Binary file added .DS_Store
Binary file not shown.
236 changes: 236 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,236 @@
<!doctype html>





























<html
class="not-ready lg:text-base"
style="--bg: #faf8f1"
lang="zh-cn"
>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>


<title>404 Page not found - picobird&#39;s blog</title>


<meta name="theme-color" />






<meta
name="description"
content="A personal blog"
/>
<meta name="author" content="picobird&#39;s blog" />








<link rel="preload stylesheet" as="style" href="https://synclue.com/main.min.css" />






<link rel="preload" as="image" href="https://synclue.com/theme.png" />



















<link rel="icon" href="https://synclue.com/favicon.ico" />
<link rel="apple-touch-icon" href="https://synclue.com/apple-touch-icon.png" />


<meta name="generator" content="Hugo 0.121.2">






<meta itemprop="name" content="404 Page not found">
<meta itemprop="description" content="">

<meta property="og:title" content="404 Page not found" />
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://synclue.com/404.html" />



<meta name="twitter:card" content="summary"/><meta name="twitter:title" content="404 Page not found"/>
<meta name="twitter:description" content=""/>




<link rel="canonical" href="https://synclue.com/404.html" />


</head>

<body class="text-black duration-200 ease-out dark:text-white">
<header class="mx-auto flex h-[4.5rem] max-w-3xl px-8 lg:justify-center">
<div class="relative z-50 mr-auto flex items-center">
<a
class="-translate-x-[1px] -translate-y-[1px] text-2xl font-semibold"
href="https://synclue.com/"
>picobird&#39;s blog</a
>
<div
class="btn-dark text-[0] ml-4 h-6 w-6 shrink-0 cursor-pointer [background:url(./theme.png)_left_center/_auto_theme('spacing.6')_no-repeat] [transition:_background-position_0.4s_steps(5)] dark:[background-position:right]"
role="button"
aria-label="Dark"
></div>
</div>

<div
class="btn-menu relative z-50 -mr-8 flex h-[4.5rem] w-[5rem] shrink-0 cursor-pointer flex-col items-center justify-center gap-2.5 lg:hidden"
role="button"
aria-label="Menu"
></div>



<script>

const htmlClass = document.documentElement.classList;
setTimeout(() => {
htmlClass.remove('not-ready');
}, 10);


const btnMenu = document.querySelector('.btn-menu');
btnMenu.addEventListener('click', () => {
htmlClass.toggle('open');
});


const metaTheme = document.querySelector('meta[name="theme-color"]');
const lightBg = '#faf8f1'.replace(/"/g, '');
const setDark = (isDark) => {
metaTheme.setAttribute('content', isDark ? '#000' : lightBg);
htmlClass[isDark ? 'add' : 'remove']('dark');
localStorage.setItem('dark', isDark);
};


const darkScheme = window.matchMedia('(prefers-color-scheme: dark)');
if (htmlClass.contains('dark')) {
setDark(true);
} else {
const darkVal = localStorage.getItem('dark');
setDark(darkVal ? darkVal === 'true' : darkScheme.matches);
}


darkScheme.addEventListener('change', (event) => {
setDark(event.matches);
});


const btnDark = document.querySelector('.btn-dark');
btnDark.addEventListener('click', () => {
setDark(localStorage.getItem('dark') !== 'true');
});
</script>

<div
class="nav-wrapper fixed inset-x-0 top-full z-40 flex h-full select-none flex-col justify-center pb-16 duration-200 dark:bg-black lg:static lg:h-auto lg:flex-row lg:!bg-transparent lg:pb-0 lg:transition-none"
>




</div>
</header>


<main
class="prose prose-neutral relative mx-auto min-h-[calc(100%-9rem)] max-w-3xl px-8 pb-16 pt-12 dark:prose-invert"
>

<h1
class="absolute inset-x-8 bottom-20 top-0 flex items-center justify-center text-9xl"
>
404
</h1>

</main>

<footer
class="opaco mx-auto flex h-[4.5rem] max-w-3xl items-center px-8 text-[0.9em] opacity-60"
>
<div class="mr-auto">
&copy; 2024
<a class="link" href="https://synclue.com/">picobird&#39;s blog</a>
</div>
<a class="link mx-6" href="https://gohugo.io/" rel="noopener" target="_blank"
>Powered by Hugo️️</a
>
<a
class="link"
href="https://github.com/nanxiaobei/hugo-paper"
rel="noopener"
target="_blank"
>✎ Paper</a
>
</footer>

</body>
</html>
Binary file added apple-touch-icon-144-precomposed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit a6e59c8

Please sign in to comment.