]> git.plutz.net Git - serve0/blobdiff - style.css
Merge branch 'master' of git.plutz.net:serve0
[serve0] / style.css
index c757fdd4c5d21fc2ce983f100de9e517625f670a..dd67361b51d8d14d09e9bb3ecdb6cd21e3c50368 100644 (file)
--- a/style.css
+++ b/style.css
@@ -55,13 +55,25 @@ body {
   -padding: 0 .25em;
   margin: 0 .5%;
   margin-bottom: 1em;
+  overflow: hidden;
 }
 
 .itemlist .list img {
-  width: 100%; height: 11em;
+  -width: 1000%; height: 11em;
+  max-width: unset;
   background-color: #111;
-  object-fit: contain;
+  object-fit: cover;
+  transform: translate(-05%, 0);
+  margin-left: 50%;
+}
+.itemlist .list:hover img {
+  animation: thumbscroll 8s steps(10, end) infinite;
 }
+@keyframes thumbscroll {
+  from { transform: translate(-05%, 0);}
+  to   { transform: translate(-105%, 0);}
+}
+
 .itemlist .list label {
   display: block;
   font-weight: bolder;