aboutsummaryrefslogtreecommitdiff
path: root/src/styles
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-03-03 22:36:44 -0800
committerFuwn <[email protected]>2024-03-03 22:36:44 -0800
commit9f8df698275ecd09f80eaf968c1cec6f95cbd961 (patch)
tree3d8d5bb4dbb869a9cd7734f8549148bcb5142ea7 /src/styles
parentfeat(girls): make languages card a details (diff)
downloaddue.moe-9f8df698275ecd09f80eaf968c1cec6f95cbd961.tar.xz
due.moe-9f8df698275ecd09f80eaf968c1cec6f95cbd961.zip
feat(girls): hoverable images
Diffstat (limited to 'src/styles')
-rw-r--r--src/styles/girls.scss23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/styles/girls.scss b/src/styles/girls.scss
new file mode 100644
index 00000000..c922bc2b
--- /dev/null
+++ b/src/styles/girls.scss
@@ -0,0 +1,23 @@
+.preview {
+ $transition: transform 0.3s ease;
+
+ margin: 0.15rem;
+
+ img {
+ border-radius: 8px;
+ transition: $transition;
+ }
+
+ &:hover {
+ img {
+ position: relative;
+ z-index: 2;
+ transition: $transition;
+ transform: scale(1.05);
+ }
+ }
+
+ display: flex;
+ justify-content: center;
+ align-items: center;
+}