changeset 143:636fc61e64e7

more style
author casties
date Fri, 31 May 2013 20:16:44 +0200
parents 87122259f888
children 529d397e04f6
files css/mpiwg.css zpt/www/common_template.zpt
diffstat 2 files changed, 17 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/css/mpiwg.css	Fri May 31 17:57:49 2013 +0200
+++ b/css/mpiwg.css	Fri May 31 20:16:44 2013 +0200
@@ -65,6 +65,10 @@
     padding-left: 23px;
 }
 
+a.namelink {
+    color: #3b4186;
+}
+
 h1 {
     color: #3b4186;
     font-size: 20px;
@@ -84,7 +88,7 @@
     margin: 1em 0 0.5em 0;
 }
 
-h2:first-child {
+div > h2:first-child {
     /* does this work correctly? */
     margin-top: 0;
 }
@@ -108,6 +112,13 @@
     text-decoration: none;
 }
 
+h2 a {
+    /* a header with a link looks like a header */
+    color: inherit;
+    font-weight: inherit;
+    text-decoration: none;
+}
+
 p {
     margin: 0.5em 0;
     line-height: 1.5;
@@ -135,6 +146,10 @@
     clear: both;
 }
 
+.blue {
+    color: #3b4186;
+}
+
 /*
  * table-like rows and columns
  */
--- a/zpt/www/common_template.zpt	Fri May 31 17:57:49 2013 +0200
+++ b/zpt/www/common_template.zpt	Fri May 31 20:16:44 2013 +0200
@@ -58,7 +58,7 @@
 
   <!-- short person entry -->
   <tr class="line" metal:define-macro="staff_member_row">
-    <td>
+    <td width="25%">
       <a tal:attributes="href python:member.getUrl(baseUrl=memBaseUrl)"> 
         <span tal:replace="member/content/first_name" />
         <b><span tal:replace="member/content/last_name" /></b>