aboutsummaryrefslogtreecommitdiff
path: root/src/app/components/gallery/index.css
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2026-10-26 15:45:33 +0100
committerNathan Reiner <nathan@nathanreiner.xyz>2026-10-26 15:45:33 +0100
commitfeeedb0bf31314b182e7bbc135182f6e0bc859b2 (patch)
tree163948cd874729925c2bf57d0927619065d2322d /src/app/components/gallery/index.css
parent91d9b6992ac0ebee13704a3faefa8fd41a00075e (diff)
update zilch
Diffstat (limited to 'src/app/components/gallery/index.css')
-rw-r--r--src/app/components/gallery/index.css33
1 files changed, 32 insertions, 1 deletions
diff --git a/src/app/components/gallery/index.css b/src/app/components/gallery/index.css
index c6a5817..35cab60 100644
--- a/src/app/components/gallery/index.css
+++ b/src/app/components/gallery/index.css
@@ -1,3 +1,34 @@
:host {
- background: gray;
+ background: black;
+ --gallery-splits: 5;
+ display: flex;
+ flex-wrap: wrap;
+ overflow: auto;
+}
+
+#control {
+ position: absolute;
+ bottom: 10px;
+ right: 70px;
+ width: 100px;
+ height: 50px;
+ background: var(--primary);
+ border-radius: 50px;
+ display: grid;
+ grid-template-columns: 1fr 1fr;
+ cursor: pointer;
+ user-select: none;
+
+ div {
+ user-select: none;
+ color: var(--color);
+ width: 50px;
+ height: 50px;
+ text-align: center;
+ align-content: center;
+ }
+}
+
+app-image {
+ width: calc(100% / var(--gallery-splits));
}