commit:260bc694bf7c988f064077758da3536a775d5eb2
author:Chip Black
committer:Chip Black
date:Sat Nov 16 02:27:13 2013 -0800
parents:b8652ebcc24f8c9cc73ebcd453fed6c9d4fc8ba7
Change some Welcome style as suggested by Benny
diff --git a/www/css/blerg.css b/www/css/blerg.css
line changes: +44/-8
index b99c134..eb34757
--- a/www/css/blerg.css
+++ b/www/css/blerg.css
@@ -152,7 +152,7 @@ h1, h2, h3 {
 }
 
 .blerg-main {
-	padding: 15pt 15pt 20pt 15pt;
+	padding: 15pt 15pt 0 15pt;
 }
 
 .signup-button {
@@ -291,27 +291,62 @@ h1, h2, h3 {
 	margin: 1em 0;
 }
 
+.latest {
+	display: table;
+	margin: 0 auto;
+	border-spacing: 10px;
+	height: 600px;
+}
+
 .latest h2 {
 	font-size: 16pt;
+	margin-top: 0;
+}
+
+.latest-scroller {
+	max-height: 600px;
+	padding: 12px;
+	overflow-y: auto;
+}
+
+.latest-posts {
+	display: table-cell;
+	border: 2px solid #E6E6E6;
+	color: #4C4C4C;
+	width: 850px;
+}
+
+.latest-posts .record {
+	font-size: 12pt;
+	margin: 10px 0;
 }
 
 .latest-tags {
-	text-align: center;
+	display: table-cell;
+	border: 2px solid #E6E6E6;
+	background-color: #FAE3FC;
 	line-height: 2em;
+	width: 480px;
 }
 
 .latest-tags a {
 	margin: 0 0.75em;
 }
 
-.latest-posts {
-	height: 184pt;
-	overflow: hidden;
+@media screen and (min-width: 1400px) {
+	.latest { width: 1340px; }
 }
 
-.latest-posts .record {
-	font-size: 12pt;
-	margin: 8pt 0;
+@media screen and (max-width: 1100px) {
+	.latest { display: block; }
+	.latest-posts {
+		display: block;
+		width: auto;
+		margin-right: 0;
+		overflow: auto;
+		height: auto;
+	}
+	.latest-tags { display: block; width: auto; }
 }
 
 .author {
@@ -364,6 +399,7 @@ table.help td {
 }
 
 footer {
+	clear: both;
 	margin: 15pt;
 	font-size: small;
 	color: #333;

diff --git a/www/development.html b/www/development.html
line changes: +3/-0
index 86c2403..6a5601a
--- a/www/development.html
+++ b/www/development.html
@@ -17,5 +17,8 @@
 <script type="text/javascript">
 new blerg.Blerg().write();
 </script>
+<footer>
+<a href="/doc/privacy_data.html">Privacy and Data Policies</a>
+</footer>
 </body>
 </html>

diff --git a/www/jssrc/blerg/Welcome.js b/www/jssrc/blerg/Welcome.js
line changes: +12/-4
index aff858f..6b7f2ad
--- a/www/jssrc/blerg/Welcome.js
+++ b/www/jssrc/blerg/Welcome.js
@@ -20,10 +20,18 @@ enyo.kind({
         {style: "clear: both;"},
         {name: "contentBox", allowHtml: true},
         {classes: "latest", components: [
-            {tag: "h2", content: "Latest posts"},
-            {name: "latestPosts", classes: "latest-posts", onmouseover: "pauseTicker", onmouseout: "startTicker"},
-            {tag: "h2", content: "Latest tags"},
-            {name: "latestTags", classes: "latest-tags"}
+            {classes: "latest-posts", components: [
+                {classes: "latest-scroller", components: [
+                    {tag: "h2", content: "Latest posts"},
+                    {name: "latestPosts", onmouseover: "pauseTicker", onmouseout: "startTicker"}
+                ]}
+            ]},
+            {classes: "latest-tags", components: [
+                {classes: "latest-scroller", components: [
+                    {tag: "h2", content: "Latest tags"},
+                    {name: "latestTags"}
+                ]}
+            ]}
         ]}
     ],
     create: function() {