mirror of
https://codeberg.org/bunbun/bunbun.dev
synced 2025-06-08 02:29: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>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<style>
|
||||
:root {
|
||||
--foreground: #ffffff;
|
||||
--background: #000000;
|
||||
|
||||
--accent-50: #adadad;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: light) {
|
||||
<html lang="en">
|
||||
<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>
|
||||
|
64
flake.nix
64
flake.nix
@ -1,38 +1,40 @@
|
||||
{
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, ... } @ inputs:
|
||||
let
|
||||
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||
in
|
||||
{
|
||||
devShells.x86_64-linux.default = pkgs.mkShell {
|
||||
buildInputs = [
|
||||
(pkgs.lua5_1.withPackages (ps: with ps; [
|
||||
({ fetchFromGitHub, fetchurl }:
|
||||
ps.buildLuarocksPackage {
|
||||
pname = "cmark";
|
||||
version = "0.30.2-1";
|
||||
knownRockspec = (fetchurl {
|
||||
url = "mirror://luarocks/cmark-0.30.2-1.rockspec";
|
||||
sha256 = "077kvl9xa9yj0fxyyxxw43k9v9dgd5f11ax8hhxj3nx8vfs5rps8";
|
||||
}).outPath;
|
||||
outputs = { self, nixpkgs, flake-utils }:
|
||||
flake-utils.lib.eachDefaultSystem (system:
|
||||
let pkgs = nixpkgs.legacyPackages.${system};
|
||||
in with pkgs; {
|
||||
devShells.default = mkShell {
|
||||
buildInputs = [
|
||||
(lua5_3.withPackages (ps:
|
||||
with ps; [
|
||||
(buildLuarocksPackage {
|
||||
pname = "cmark";
|
||||
version = "0.30.2-1";
|
||||
knownRockspec = (fetchurl {
|
||||
url = "mirror://luarocks/cmark-0.30.2-1.rockspec";
|
||||
sha256 =
|
||||
"077kvl9xa9yj0fxyyxxw43k9v9dgd5f11ax8hhxj3nx8vfs5rps8";
|
||||
}).outPath;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jgm";
|
||||
repo = "cmark-lua";
|
||||
rev = "0.30.2";
|
||||
hash = "sha256-6Bzq0FdyqXXiL6pLDRFbULFJpowF0P6CvAw8iqFXkkQ=";
|
||||
};
|
||||
})
|
||||
luafilesystem
|
||||
luasocket
|
||||
luasec
|
||||
fennel
|
||||
]))
|
||||
];
|
||||
};
|
||||
};
|
||||
src = fetchFromGitHub {
|
||||
owner = "jgm";
|
||||
repo = "cmark-lua";
|
||||
rev = "0.30.2";
|
||||
hash =
|
||||
"sha256-6Bzq0FdyqXXiL6pLDRFbULFJpowF0P6CvAw8iqFXkkQ=";
|
||||
};
|
||||
})
|
||||
luafilesystem
|
||||
luasocket
|
||||
luasec
|
||||
fennel
|
||||
]))
|
||||
];
|
||||
};
|
||||
});
|
||||
}
|
||||
|
@ -1,9 +1,10 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<link rel="stylesheet" type="text/css" href="style.css" />
|
||||
<title>bunbun.dev</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
Reference in New Issue
Block a user