]> git.plutz.net Git - confetti/blobdiff - templates/attendees.css.sh
basic update functions for vcards
[confetti] / templates / attendees.css.sh
index 52e771ffb6389e9d2bfdbb534ce8d3aaac245d08..c024559d05bc74126ff9ba2f683c3466932f2159 100644 (file)
@@ -6,36 +6,47 @@ cat <<EOF
 #cardlist {}
 
 .cardlist .card {
-  margin: 4px;
+  margin: 4px 10%;
   border-width: 1px;
   border-style: solid;
-  padding: .5em 1em 1em .5em;
+  padding: .5em 1em 1em 120px;
+  overflow: auto;
   min-height: 160px;
   display: block;
 }
 
 .cardlist .card .PHOTO {
   float: left;
-  position: absolute;
+  position: relative;
+  left: -110px;
   border-width: 1px;
   border-style: solid;
   padding: 1px;
-  margin: 1em .5em;
+  margin: 1em -110px 1em .5em;
   width: 96px;
   max-height: 144px;
 }
  
+.cardlist .card .item {
+  display: block;
+  white-space: nowrap;
+  height: 1.2em;
+}
+
 .cardlist .card .KEY {
-  margin-left: 120px;
+  display: inline;
+  margin: 0px;
   font: normal bold 1em sans-serif;
 }
 
 .cardlist .card .VALUE {
+  display: inline;
+  margin: 0px;
   font: normal normal 1em sans-serif;
 }
 
 .cardlist .card .FN {
-  margin: .25em .5em 1em 120px;
+  margin: .25em .5em 1em 0px;
   font: normal bold 2em sans-serif;
 }