From 6232d13f5321b87ddf12a1aa36b4545da45f173d Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Wed, 17 Nov 2021 22:34:57 +0100 Subject: Travel3: Simple image and video display site Reads the images and videos from filesystem and builds a site in memroy. --- example/static/style/viewer.css | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 example/static/style/viewer.css (limited to 'example/static/style/viewer.css') 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); +} -- cgit v1.2.3-70-g09d2