changeset 6:e0cadd9e8161

Grey dotted borders between columns now.
author Atul Varma <varmaa@toolness.com>
date Sat, 28 Feb 2009 14:42:08 -0800
parents 069a5ff4aba6
children c48b85f6aff9
files about-mozilla.css about-mozilla.js
diffstat 2 files changed, 12 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/about-mozilla.css	Sat Feb 28 14:22:52 2009 -0800
+++ b/about-mozilla.css	Sat Feb 28 14:42:08 2009 -0800
@@ -34,13 +34,12 @@
     float: left;
     width: 20em;
     padding: 6pt;
+    border-right: 1px dotted gray;
 }
 
 .headline {
+    font-weight: bold;
     height: 3em;
-    background: gray;
-    color: white;
-    padding: 4pt;
 }
 
 .content {
--- a/about-mozilla.js	Sat Feb 28 14:22:52 2009 -0800
+++ b/about-mozilla.js	Sat Feb 28 14:42:08 2009 -0800
@@ -20,6 +20,16 @@
 
   $(".date").text(ISSUE_DATE);
   $("#issue").fadeIn();
+
+  var tallestHeight = 0;
+  $(".entry").each(
+    function(i) {
+      var height = $(this).height();
+      if (height > tallestHeight)
+        tallestHeight = height;
+    }
+  );
+  $(".entry").height(tallestHeight);
   $(document.body).width($(".entry").width() *
                          $(".entry").length);
 }