about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2023-02-17 23:22:02 +0900
committerNguyễn Gia Phong <mcsinyx@disroot.org>2023-02-17 23:22:02 +0900
commit53bf75c9bd411ba434d159862f78469c13165944 (patch)
tree7db5e62065556af3199431eaa8d15a85957bf26f
parent21f317aab2368ec6ef341dc23b4257ffa24946af (diff)
downloadpx-53bf75c9bd411ba434d159862f78469c13165944.tar.gz
px-53bf75c9bd411ba434d159862f78469c13165944.tar.zst
Change cursor to hint link to image's original size
-rw-r--r--.gitignore2
-rw-r--r--style.css5
2 files changed, 5 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index e66f51d..85b5dd0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,5 @@
 *.small.jpg
-*/index.xhtml
+index.xhtml
 /index.xml
 /atom.xml
 /result
diff --git a/style.css b/style.css
index 8120cea..b719ddf 100644
--- a/style.css
+++ b/style.css
@@ -28,7 +28,10 @@ a[href] {
 }
 h1 { margin: 0.5ex 0 }
 h2 { margin: 0 0 0.5ex 0 }
-img { max-width: 100% }
+img {
+    cursor: zoom-in;
+    max-width: 100%;
+}
 article + article { margin-top: 1rem }
 nav {
     align-items: center;