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/base.css | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 example/static/style/base.css (limited to 'example/static/style/base.css') diff --git a/example/static/style/base.css b/example/static/style/base.css new file mode 100644 index 0000000..d77b27b --- /dev/null +++ b/example/static/style/base.css @@ -0,0 +1,34 @@ +body { + font-family: Helvetica, Arial, sans-serif; +} + +.trips { + margin: auto; +} + +.trip a { + font-size: 150%; +} + +a.maps { + font-size: 90%; +} + +.subtitle { + text-color: lightgrey; + font-size: 90%; +} + +img.thumbnail { + background-size: contain; + background-position: center; + background-repeat: no-repeat; +} + +img.image { + background-image: url('../img/placeholder_img.svg'); +} + +img.video { + background-image: url('../img/placeholder_video.svg'); +} -- cgit v1.2.3-70-g09d2