summaryrefslogtreecommitdiff
path: root/style.css
diff options
context:
space:
mode:
authorAnthony Wang2024-01-29 23:38:39 +0000
committerAnthony Wang2024-04-13 04:32:14 +0000
commit04d15f2b1dbe2bf5d051569917acdef4baa724dc (patch)
tree15a396aff50e2bd284a5f6a5a8e03fbd0e6609b8 /style.css
parent389eeeb48d5bc1ca6eb04517152b60450e7705b5 (diff)
Support different sized SVGs, center picture
Diffstat (limited to 'style.css')
-rw-r--r--style.css6
1 files changed, 3 insertions, 3 deletions
diff --git a/style.css b/style.css
index dc17f93..8a473a1 100644
--- a/style.css
+++ b/style.css
@@ -49,8 +49,8 @@ div {
}
img {
- display: block;
- margin-left: auto;
- margin-right: auto;
+ position: absolute;
+ left: 50vw;
+ transform: translateX(-50%);
height: 100vh;
}