diff --git a/.gitattributes b/.gitattributes index 05fa0e6..38b1230 100644 --- a/.gitattributes +++ b/.gitattributes @@ -36,3 +36,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text *.stl filter=lfs diff=lfs merge=lfs -text *.wav filter=lfs diff=lfs merge=lfs -text *.png filter=lfs diff=lfs merge=lfs -text +*.webp filter=lfs diff=lfs merge=lfs -text diff --git a/assets/duck-head-mark-open.webp b/assets/duck-head-mark-open.webp new file mode 100644 index 0000000..a00b7cc --- /dev/null +++ b/assets/duck-head-mark-open.webp @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e4c51525c4c79a82c9c7a32be1632e7488ed8d6119068375095ba6f8e8d06c94 +size 40026 diff --git a/assets/duck-head-mark.webp b/assets/duck-head-mark.webp new file mode 100644 index 0000000..720f57a --- /dev/null +++ b/assets/duck-head-mark.webp @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ad08b60991fa0568409a68001d53868341d55179c757007831ad8000cc1f96bd +size 32622 diff --git a/assets/logo-wordmark.png b/assets/logo-wordmark.png deleted file mode 100644 index abbc2a4..0000000 --- a/assets/logo-wordmark.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9f091b8cc94594d422755963c581984c515d5aab05444c3b9a2b2c4056038d47 -size 246308 diff --git a/index.html b/index.html index 7720f86..8101c51 100644 --- a/index.html +++ b/index.html @@ -281,12 +281,18 @@ from { transform: translateY(18px) scale(0.94); opacity: 0; } to { transform: none; opacity: 1; } } - #welcome .logo-wordmark { - display: block; - width: min(78%, 300px); + /* Duck-head mark from the site header: closed by default, open on + hover (same swap as the site). */ + #welcome .logo-head { + position: relative; + width: 7.2rem; margin: 0.3rem auto 0; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.45)); } + #welcome .logo-head img { display: block; width: 100%; } + #welcome .logo-head .open { position: absolute; inset: 0; opacity: 0; } + #welcome .logo-head:hover .open { opacity: 1; } + #welcome .logo-head:hover .closed { opacity: 0; } #welcome .subtitle { margin-top: 0.55rem; font-size: 0.62rem; @@ -400,7 +406,10 @@