diff options
| author | Joel Klinghed <the_jk@spawned.biz> | 2021-11-17 22:34:57 +0100 |
|---|---|---|
| committer | Joel Klinghed <the_jk@spawned.biz> | 2021-11-17 22:34:57 +0100 |
| commit | 6232d13f5321b87ddf12a1aa36b4545da45f173d (patch) | |
| tree | 23f3316470a14136debd9d02f9e920ca2b06f4cc /example/static/style/viewer.css | |
Travel3: Simple image and video display site
Reads the images and videos from filesystem and builds a site in
memroy.
Diffstat (limited to 'example/static/style/viewer.css')
| -rw-r--r-- | example/static/style/viewer.css | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/example/static/style/viewer.css b/example/static/style/viewer.css new file mode 100644 index 0000000..5881f84 --- /dev/null +++ b/example/static/style/viewer.css @@ -0,0 +1,37 @@ +body { + background-color: black; + color: lightgrey; + margin: 0; +} + +#header { + height: 3em; +} + +#header a { + color: lightgrey; + height: 2.5em; + font-weight: bold; + text-decoration: none; + cursor: pointer; + margin: 0 0.5em; +} + +#header li { + margin: 0 1em; +} + +#header ul { + height: 100%; + list-style: none; + display: flex; + align-items: center; + justify-content: space-between; + padding: 0; +} + +.content { + object-fit: scale-down; + width: 100%; + height: calc(100vh - 3em); +} |
