]> git.plutz.net Git - serve0/blobdiff - style.css
implemented full multi file tagging
[serve0] / style.css
index c668365c24536725c2c47df76cc14edfbb42bfa3..0d2bd6eda4d4b18dd92bbe46ea436bc3d789ea3b 100644 (file)
--- a/style.css
+++ b/style.css
@@ -90,18 +90,22 @@ a[href="#advsearch"]:before {
   max-width: 85%;
 }
 
-.itemlist { overflow: hidden; }
+.itemlist { display: block; overflow: hidden; }
 .list {
   position: relative;
-  display: block; float: left;
+  display: inline-block;
   width: 25%;
   min-width: 250px;
-  padding: .5em 1em;
+  padding: .25em;
   overflow: none;
   word-wrap: break-word;
   vertical-align: top;
+  color: black;
 }
-.list, .list a { color: black; }
+.list.dir {
+  padding: .5em 1em;
+}
+
 .list:before {
   position: absolute;
   top: .25em; left: .25em;
@@ -109,14 +113,29 @@ a[href="#advsearch"]:before {
   z-index: -2;
   content: '';
 }
-.list.file:first-of-type { clear: left; }
 .list.dir:before { background-color: #CCF; }
 .list.file:before { background-color: #FDD; }
+.list.file:first-of-type { clear: left; }
 
-.list.file img {
+.list.file a img{
   display: block;
   width: 100%;
+  min-height: 4em;
+}
+.list.file a label{
+  position: absolute;
+  top: 0; padding: .25em .5em;
+  color: white;
+  background-color: rgba(0,0,0,.625);
 }
+
+.list.file .time,
+.list.file .dim {
+  color: white;
+  background-color: #004;
+  padding: .125em .5em;
+}
+
 .pagination {
   display: block;
   text-align: center;