diff options
Diffstat (limited to 'src/app/components/gallery/index.css')
| -rw-r--r-- | src/app/components/gallery/index.css | 33 |
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)); } |