]> dev.renevier.net Git - syj.git/blobdiff - public/css/list.css
fix alignement in list page
[syj.git] / public / css / list.css
index 4f87230a49d908633f8ccc6f2b65da1e6353c7c1..303541eb9867d7b6acc9d7f60ad65daa690531de 100644 (file)
@@ -1,6 +1,6 @@
 .item {
     float: left;
-    width: 240px;
+    width: 250px;
     margin: 0px 10px 10px 10px;
 }
 
@@ -9,9 +9,12 @@
     border: 1px solid black;
     width: 100px;
     height: 100px;
-    margin: 0 10px 6px 0;
+    margin: 0 4px 6px 0;
     position: relative;
 }
+.control-link {
+    margin-bottom: 1em;
+}
 
 .map {
     position: absolute;
@@ -20,7 +23,8 @@
 }
 
 .title {
-    height: 2em;
+    *margin-top: -1em; /* in ie <=7, .control-link margin-bottom "pushes" .title */
+    height: 32px;
     clear: left;
 }
 
@@ -63,3 +67,9 @@
     border-radius: 5px;
 }
 
+#other-language {
+    margin: 10px 10px 20px 20px;
+    /* .item: 108px +.title: 32px + margin-bottom: 10px => 150px */
+    /* margin: 30px + padding: 10px => height = 150 - 40 */
+    height: 110px;
+}