aboutsummaryrefslogtreecommitdiff
path: root/src/app/components/gallery/index.css
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/components/gallery/index.css')
-rw-r--r--src/app/components/gallery/index.css34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/app/components/gallery/index.css b/src/app/components/gallery/index.css
new file mode 100644
index 0000000..35cab60
--- /dev/null
+++ b/src/app/components/gallery/index.css
@@ -0,0 +1,34 @@
+:host {
+ 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));
+}