mirror of
https://codeberg.org/bunbun/bunbun.dev
synced 2025-06-07 12:20:00 -07:00
added title to template.html and 404.html
This commit is contained in:
79
404.html
79
404.html
@ -1,54 +1,53 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<style>
|
||||
:root {
|
||||
--foreground: #ffffff;
|
||||
--background: #000000;
|
||||
|
||||
--accent-50: #adadad;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: light) {
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>404 Not Found</title>
|
||||
<style>
|
||||
:root {
|
||||
--foreground: #000000;
|
||||
--background: #ffffff;
|
||||
--foreground: #ffffff;
|
||||
--background: #000000;
|
||||
|
||||
--accent-50: #525252;
|
||||
--accent-50: #adadad;
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin: 0;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
min-height: 100vh;
|
||||
}
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
--foreground: #000000;
|
||||
--background: #ffffff;
|
||||
|
||||
body {
|
||||
background: var(--background);
|
||||
font-family: "Roboto", sans-serif;
|
||||
color: var(--foreground);
|
||||
--accent-50: #525252;
|
||||
}
|
||||
}
|
||||
|
||||
h1 {
|
||||
body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin: 0;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
h3 {
|
||||
margin: 0;
|
||||
color: var(--accent-50);
|
||||
body {
|
||||
background: var(--background);
|
||||
font-family: "Roboto", sans-serif;
|
||||
color: var(--foreground);
|
||||
|
||||
h1 {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
h3 {
|
||||
margin: 0;
|
||||
color: var(--accent-50);
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>404</h1>
|
||||
<h3>Page Not Found</h3>
|
||||
</body>
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>404</h1>
|
||||
<h3>Page Not Found</h3>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user