diff options
author | tzlil <tzlils@protonmail.com> | 2023-04-28 23:50:57 +0300 |
---|---|---|
committer | tzlil <tzlils@protonmail.com> | 2023-04-28 23:50:57 +0300 |
commit | 3f671fc05742109633339de45e86819e13b88c7f (patch) | |
tree | ff525edbb1268cbf00234e60096b755e5f4f8c74 | |
parent | b4f449899af68b28999ee3cd50857f7920afabcb (diff) |
add dark mode preference to site
-rw-r--r-- | hosts/vps/website.nix | 49 |
1 files changed, 48 insertions, 1 deletions
diff --git a/hosts/vps/website.nix b/hosts/vps/website.nix index ef057e0..1e987c2 100644 --- a/hosts/vps/website.nix +++ b/hosts/vps/website.nix @@ -41,7 +41,15 @@ "tzlil.net".extraConfig = '' bind 0.0.0.0 handle_path / { - try_files ${pkgs.writeText "index.txt" '' + try_files ${pkgs.writeText "index.html" '' + <style> + @media (prefers-color-scheme: dark) { + body { background-color: #121212; color: #d4d4d4; } + a { color: #7878ff; } + a:visited { color: #6464fa; } + } + </style> + <pre> ~?~+=I?~~IIIII++,: .?= .,I=O8OZ.DNNO, ZD7:::=.? ,,:,,I,,:,~+?II?I?II?=+=~+7$ZO ?==++??==+I???7..:. :II$77?I+ID~NND8.ZMN7~=~I7:,., :?7,.,.~+?I???????,+~7+$ZOZ 7+===I+~===?I77: ? ,$7$.:.,I?=7NNNINMMMNOI=++ .~==I$7, ..++?I???I+=?.+:O+ZZOZ @@ -64,7 +72,46 @@ ???I7I:,~=:,+II+=~I??:.,,,.:77777777$ODMM8 .:+ZI. ,~,..~~ :II?==~:?II??IIIIIIIII No matter where you go, everyone's connected + my name is tzlil, i'm 18 and from israel + i currently work as a security researcher + but in a few months i will be drafed to the army + + my interests: + plan9 + lambda calculus + functional programming + binary exploitation + keyboards and layouts + yggdrasil + nixos + + my wares: + hard: + aurora lily58 with kailh low profile + laptop(s): + - lenovo v14 + + phone: + - google pixel 6 + + desktop: + - amd ryzen 5 5600g + + soft: + <a href="/cgit/flake.git">nixos</a> + keepassxc + syncthing + tailscale (to mesh between my devices) + calyxos + <a href="/cgit/flake.git/tree/hosts/vps/hydrus.nix">hydrus</a> + + contact info: + tzlil:tzlil.net + tzlils@protonmail.com + tzlil@irc.libera.chat + /cgit/ for repositories + </pre> ''} / file_server } |