From 98514a4e0037aa0879e45bbad660aeda8837c624 Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Tue, 28 Apr 2020 14:20:10 +0200 Subject: add session as controller var --- assets/css/home.css | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) (limited to 'assets') diff --git a/assets/css/home.css b/assets/css/home.css index 2451f9b..38de17b 100644 --- a/assets/css/home.css +++ b/assets/css/home.css @@ -476,6 +476,45 @@ main.media table#medialist .thumbnail:hover img { display: block; } +.media ul#gallery { + overflow: hidden; + display: inline-block; +} + +#gallery li .thumbnail{ + font-size: 8em; + text-align: center; + width: 200px; + height: 150px; +} + +#gallery li .thumbnail img {max-width: 100%;max-height: 100%;} + + +#gallery li code { + white-space: nowrap; + display: block; + overflow: auto; +} + +#gallery li { + display: inline-block; + width: 200px; + overflow: hidden; + height: 200px; + margin: 0; + padding: 0; + border: solid 1px grey; + background-color: darkgrey; +} + + + +#gallery li .thumbnail img { + width: 100%; + max-height: 100%; + object-fit: contain; +} @@ -679,3 +718,5 @@ footer { } + + -- cgit v1.2.3