mirror of
https://codeberg.org/bunbun/bunbun.dev
synced 2025-06-07 21:09:50 -07:00
Compare commits
3 Commits
a74c54d63c
...
main
Author | SHA1 | Date | |
---|---|---|---|
e5d6bc0298 | |||
607c6d605d | |||
55733a27e9 |
81
404.html
81
404.html
@ -1,54 +1,53 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html>
|
<html lang="en">
|
||||||
|
<head>
|
||||||
<head>
|
<meta charset="UTF-8" />
|
||||||
<meta charset="UTF-8" />
|
<title>404 Not Found</title>
|
||||||
<style>
|
<style>
|
||||||
:root {
|
|
||||||
--foreground: #ffffff;
|
|
||||||
--background: #000000;
|
|
||||||
|
|
||||||
--accent-50: #adadad;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (prefers-color-scheme: light) {
|
|
||||||
:root {
|
:root {
|
||||||
--foreground: #000000;
|
--foreground: #ffffff;
|
||||||
--background: #ffffff;
|
--background: #000000;
|
||||||
|
|
||||||
--accent-50: #525252;
|
--accent-50: #adadad;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
@media (prefers-color-scheme: light) {
|
||||||
display: flex;
|
:root {
|
||||||
flex-direction: column;
|
--foreground: #000000;
|
||||||
margin: 0;
|
--background: #ffffff;
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
min-height: 100vh;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
--accent-50: #525252;
|
||||||
background: var(--background);
|
}
|
||||||
font-family: "Roboto", sans-serif;
|
}
|
||||||
color: var(--foreground);
|
|
||||||
|
|
||||||
h1 {
|
body {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
min-height: 100vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
h3 {
|
body {
|
||||||
margin: 0;
|
background: var(--background);
|
||||||
color: var(--accent-50);
|
font-family: "Roboto", sans-serif;
|
||||||
|
color: var(--foreground);
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
h3 {
|
||||||
|
margin: 0;
|
||||||
|
color: var(--accent-50);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
</style>
|
||||||
</style>
|
</head>
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
<h1>404</h1>
|
|
||||||
<h3>Page Not Found</h3>
|
|
||||||
</body>
|
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<h1>404</h1>
|
||||||
|
<h3>Page Not Found</h3>
|
||||||
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
64
flake.nix
64
flake.nix
@ -1,38 +1,40 @@
|
|||||||
{
|
{
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
|
flake-utils.url = "github:numtide/flake-utils";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, ... } @ inputs:
|
outputs = { self, nixpkgs, flake-utils }:
|
||||||
let
|
flake-utils.lib.eachDefaultSystem (system:
|
||||||
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
let pkgs = nixpkgs.legacyPackages.${system};
|
||||||
in
|
in with pkgs; {
|
||||||
{
|
devShells.default = mkShell {
|
||||||
devShells.x86_64-linux.default = pkgs.mkShell {
|
buildInputs = [
|
||||||
buildInputs = [
|
(lua5_3.withPackages (ps:
|
||||||
(pkgs.lua5_1.withPackages (ps: with ps; [
|
with ps; [
|
||||||
({ fetchFromGitHub, fetchurl }:
|
(buildLuarocksPackage {
|
||||||
ps.buildLuarocksPackage {
|
pname = "cmark";
|
||||||
pname = "cmark";
|
version = "0.30.2-1";
|
||||||
version = "0.30.2-1";
|
knownRockspec = (fetchurl {
|
||||||
knownRockspec = (fetchurl {
|
url = "mirror://luarocks/cmark-0.30.2-1.rockspec";
|
||||||
url = "mirror://luarocks/cmark-0.30.2-1.rockspec";
|
sha256 =
|
||||||
sha256 = "077kvl9xa9yj0fxyyxxw43k9v9dgd5f11ax8hhxj3nx8vfs5rps8";
|
"077kvl9xa9yj0fxyyxxw43k9v9dgd5f11ax8hhxj3nx8vfs5rps8";
|
||||||
}).outPath;
|
}).outPath;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "jgm";
|
owner = "jgm";
|
||||||
repo = "cmark-lua";
|
repo = "cmark-lua";
|
||||||
rev = "0.30.2";
|
rev = "0.30.2";
|
||||||
hash = "sha256-6Bzq0FdyqXXiL6pLDRFbULFJpowF0P6CvAw8iqFXkkQ=";
|
hash =
|
||||||
};
|
"sha256-6Bzq0FdyqXXiL6pLDRFbULFJpowF0P6CvAw8iqFXkkQ=";
|
||||||
})
|
};
|
||||||
luafilesystem
|
})
|
||||||
luasocket
|
luafilesystem
|
||||||
luasec
|
luasocket
|
||||||
fennel
|
luasec
|
||||||
]))
|
fennel
|
||||||
];
|
]))
|
||||||
};
|
];
|
||||||
};
|
};
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width" />
|
<meta name="viewport" content="width=device-width" />
|
||||||
<link rel="stylesheet" type="text/css" href="style.css" />
|
<link rel="stylesheet" type="text/css" href="style.css" />
|
||||||
|
<title>bunbun.dev</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
Reference in New Issue
Block a user