aboutsummaryrefslogtreecommitdiff
path: root/assets/css
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2020-04-28 14:20:10 +0200
committervincent-peugnet <v.peugnet@free.fr>2020-04-28 20:21:34 +0200
commit98514a4e0037aa0879e45bbad660aeda8837c624 (patch)
treea574e7cf6a53150e1d960fc9b4520a49567b04bd /assets/css
parentcba95c5eb19a33654a6f0995c6f9e0885b7afc20 (diff)
downloadwcms-98514a4e0037aa0879e45bbad660aeda8837c624.tar.gz
wcms-98514a4e0037aa0879e45bbad660aeda8837c624.zip
add session as controller var
Diffstat (limited to 'assets/css')
-rw-r--r--assets/css/home.css41
1 files changed, 41 insertions, 0 deletions
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 {
}
+
+