diff --git a/flake.nix b/flake.nix index 8671177..d35325d 100644 --- a/flake.nix +++ b/flake.nix @@ -64,8 +64,11 @@ ExposedPorts = { "80/tcp" = {}; }; + # See here for the stdout redirection: + # https://redmine.lighttpd.net/boards/2/topics/8382 Cmd = [ (pkgs.writeShellScript "angestoepselt-site" '' ${pkgs.coreutils}/bin/mkdir -p /var/tmp + exec 3>&1 ${pkgs.lighttpd}/bin/lighttpd -Df ${packages.lighttpdConfig} '') ]; Healthcheck = { diff --git a/sites/angestoepselt/httpd.conf b/sites/angestoepselt/httpd.conf index 926105e..6271580 100644 --- a/sites/angestoepselt/httpd.conf +++ b/sites/angestoepselt/httpd.conf @@ -1,7 +1,10 @@ -server.modules += ( "mod_alias", "mod_cgi", "mod_redirect", "mod_rewrite", "mod_setenv" ) +server.modules += ( "mod_accesslog" "mod_alias", "mod_cgi", "mod_redirect", "mod_rewrite", "mod_setenv" ) server.port = 80 +# See here: https://redmine.lighttpd.net/boards/2/topics/8382 +accesslog.filename = "/dev/fd/3" + include "@lighttpd@/share/lighttpd/doc/config/conf.d/mime.conf" server.document-root = "@site@" diff --git a/styles/components/_site.scss b/styles/components/_site.scss index e71624c..832c105 100644 --- a/styles/components/_site.scss +++ b/styles/components/_site.scss @@ -17,12 +17,13 @@ > .angestoepselt-logo { height: 1em; vertical-align: middle; + transition: stroke motion.$subtle; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 4px; - stroke: colors.$gray-900; + stroke: currentColor; stroke-miterlimit: 10; .plug { @@ -35,6 +36,13 @@ } &:hover > .angestoepselt-logo { + stroke: currentColor; + + .plug { + fill: colors.$yellow-500; + transition: fill #{0.5 * motion.$prominent-duration} motion.$prominent-timing; + } + @keyframes angestoepselt-logo-hover { 0% { transform: none; @@ -43,7 +51,7 @@ transform: translateX(0.6rem); } 100% { - transform: translateX(-0.6rem); + transform: translateX(-0.4rem); } }