← Back to team overview

widelands-dev team mailing list archive

[Merge] lp:~franku/widelands-website/forum_tables into lp:widelands-website

 

kaputtnik has proposed merging lp:~franku/widelands-website/forum_tables into lp:widelands-website.

Requested reviews:
  Widelands Developers (widelands-dev)

For more details, see:
https://code.launchpad.net/~franku/widelands-website/forum_tables/+merge/250839

This branch make some corrections to tables in the forum. See https://bugs.launchpad.net/widelands-website/+bug/1424758

+ "update copyright statement": https://bugs.launchpad.net/widelands-website/+bug/1408398 

Additional i sorted forum.css, made some comments and cleanups.
-- 
Your team Widelands Developers is requested to review the proposed merge of lp:~franku/widelands-website/forum_tables into lp:widelands-website.
=== modified file 'media/css/forum.css'
--- media/css/forum.css	2012-05-04 19:07:35 +0000
+++ media/css/forum.css	2015-02-24 20:33:04 +0000
@@ -1,3 +1,14 @@
+/*++++++++++++++++++*/
+/*   Forum pages    */
+/*------------------*/
+/*  Effects to all  */
+/*   forum pages    */
+/*++++++++++++++++++*/
+
+/********************/
+/* Base Forum table */
+/********************/
+
 .forum {
 	border: none; 
 	border-collapse: collapse;
@@ -17,6 +28,10 @@
 	padding: 8px;
 }
 
+/********************/
+/* Forums overviews */
+/********************/
+
 .forumIcon {
 	width: 50px;
 }
@@ -33,6 +48,19 @@
 	text-align: right;
 }
 
+/******************/
+/* Topic specific */
+/******************/
+
+tr.spacer {
+	height: 10px;
+	border: none;
+}
+
+/******************/
+/* Author colummn */
+/******************/
+
 .forum .author {
 	width: 140px;
 	text-align: center;
@@ -40,25 +68,32 @@
 	vertical-align: top;
 }
 
-.forum .post {
-	vertical-align: top;
-}
-
 .authorStats {
 	text-align: left;
 	font-size: 10px;
 	line-height: 12px;
 }
 
-tr.spacer {
-	height: 10px;
-	border: none;
-}
-
-.post p {
-	margin: 0px;
-	margin-bottom: 8px;
-	padding: 0px;
+/*****************/
+/*  Post colummn */
+/*****************/
+
+a.permalink {
+	width: 16px;
+	height: 20px;
+	background-image: url("../forum/img/permalink.png");
+}
+
+a.permalink:hover {
+	background-image: url("../forum/img/permalink_hover.png");
+}
+
+.forum .post {
+	vertical-align: top;
+}
+
+div.blogEntry .post p {
+	margin-bottom: 4px;
 }
 
 .post blockquote {
@@ -71,6 +106,26 @@
 	margin: 4px;
 }
 
+.post table {
+	margin-bottom: 1em;
+	border-collapse: collapse;
+}
+
+.post th {
+	padding: 0 1em 0 1em;
+	border: 1px solid black;
+}
+
+.post td {
+	padding: 0 1em 0 1em;
+	border: 1px solid black;
+}
+
+/*****************/
+/* Edit/add Post */
+/*   related     */
+/*****************/
+
 .preview-box .content {
 	background-image: url("../img/black50.png");
 	border: 1px solid black;
@@ -78,24 +133,8 @@
 	width: 98%;
 }
 
-.post-form #id_subject {
-    width: 40%;
-}
-.post-form #id_name {
-    width: 40%;
-}
 .post-form #id_body {
    width: 98%;
    max-width: 98%;
    height: 150px;
-}
-
-a.permalink {
-	width: 16px;
-	height: 20px;
-	background-image: url("../forum/img/permalink.png");
-}
-
-a.permalink:hover {
-	background-image: url("../forum/img/permalink_hover.png");
-}
+}
\ No newline at end of file

=== modified file 'templates/footer.html'
--- templates/footer.html	2013-06-12 06:25:52 +0000
+++ templates/footer.html	2015-02-24 20:33:04 +0000
@@ -7,5 +7,5 @@
 {% endcomment %} 
 
 <div id="footer">
-	Copyright &copy; 2009 - 2013 By the Widelands Development Team
+	Copyright &copy; 2009 - 2015 By the Widelands Development Team
 </div>


Follow ups