Merge branch 'main' of codeberg.org:angestoepselt/homepage into main

This commit is contained in:
Lunantic 2022-06-12 20:43:48 +02:00
commit 6cfcc033be
3 changed files with 17 additions and 3 deletions

View file

@ -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 = {

View file

@ -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@"

View file

@ -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);
}
}