Improve NL skin
authorx2003augustin <x2003augustin@839d8a87-29fc-0310-9880-83ba4fa771e5>
Mon, 29 Jan 2007 10:25:35 +0000 (10:25 +0000)
committerx2003augustin <x2003augustin@839d8a87-29fc-0310-9880-83ba4fa771e5>
Mon, 29 Jan 2007 10:25:35 +0000 (10:25 +0000)
Port recent changes to AX mails

git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1423 839d8a87-29fc-0310-9880-83ba4fa771e5

htdocs/css/ax.css
htdocs/css/nl.css
templates/axletter/letter.tpl
templates/newsletter/nl.tpl

index 816f6cd..32f1058 100644 (file)
 
 
 div.ax_mail {
+    margin : 0;
+    padding : 1em 0;
+    background-color: #ddd;
+    color: #000;
+}
+
+div.ax_text {
     margin : auto;
     width : 72ex;
     font-family : "Georgia", "Times New Roman", serif;
-    font-size : 11pt;
+    font-size : 10pt;
     text-align : justify;
     background-color : #fff;
     color : #000;
@@ -41,7 +48,7 @@ div.ax_mail a[href]:hover {
 
 div.ax_mail div.title {
     margin : 0ex;
-    padding : 72px 1ex 1ex 1ex;
+    padding : 68px 1ex 1ex 1ex;
     font-size : 120%;
     font-weight : bold;
     text-align : right;
@@ -49,7 +56,7 @@ div.ax_mail div.title {
     color : #a40000;
     background-repeat : no-repeat;
     background-position : 0ex 0ex;
-    background-image : url(http://dev.m4x.org/images/ax_mail_header.png);
+    background-image : url(http://www.polytechnique.org/images/ax_mail_header.jpg);
 }
 
 div.ax_mail div.intro {
@@ -87,7 +94,7 @@ div.ax_mail div.body h2 {
 
 div.ax_mail div.signature {
     margin : 2ex 2ex 0 0ex;
-    font-size : 80%;
+    font-size : 90%;
     font-style: italic;
     text-align : right;
 
index 6c10869..e70c210 100644 (file)
  *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                *
  ***************************************************************************/
 
-
 div.nl {
+    margin : 0;
+    padding : 1em 0;
+    background-color: #ddd;
+    color: #000;
+}
+
+div.nl_text {
     margin : auto;
     width : 72ex;
     font-family : "Verdana", "Arial", "Helvetica", sans-serif;
index c9f25d0..d592e07 100644 (file)
@@ -55,12 +55,9 @@ ne plus recevoir : [https://www.polytechnique.org/ax/out{if $hash}/{$hash}{/if}]
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml"> 
   <head>  
-    <title></title>
+    <title>Lettre d'information de l'AX</title>
     <style type="text/css">
     <!--
-      {literal}
-      body      { background-color: #ddd; color: #000; }
-      {/literal}
       {$am->css()}
     -->
     </style>
@@ -68,6 +65,7 @@ ne plus recevoir : [https://www.polytechnique.org/ax/out{if $hash}/{$hash}{/if}]
   <body>
 {/if}
     <div class='ax_mail'>
+    <div class='ax_text'>
       <div class="title">{$am->title()}</div>
       <div class="intro">{$am->head($prenom, $nom, $sexe, 'html')|smarty:nodefaults}</div>
       <div class="body">{$am->body('html')|smarty:nodefaults}</div>
@@ -80,6 +78,7 @@ ne plus recevoir : [https://www.polytechnique.org/ax/out{if $hash}/{$hash}{/if}]
         <a href="https://www.polytechnique.org/ax/out{if $hash}/{$hash}{/if}">ne plus recevoir</a>]
       </div>
     </div>
+    </div>
 {if $is_mail}
   </body>
 </html>
index c4880c6..7e9bff2 100644 (file)
@@ -73,12 +73,9 @@ ne plus recevoir : [https://www.polytechnique.org/nl/out]
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml"> 
   <head>  
-    <title></title>
+    <title>Lettre mensuelle de Polytechnique.org</title>
     <style type="text/css">
     <!--
-      {literal}
-      body      { background-color: #ddd; color: #000; }
-      {/literal}
       {$nl->css()}
     -->
     </style>
@@ -86,6 +83,7 @@ ne plus recevoir : [https://www.polytechnique.org/nl/out]
   <body>
 {/if}
     <div class='nl'>
+    <div class='nl_text'>
       <div class="title">{$nl->title()}</div>
       <div class="intro">{$nl->head($prenom, $nom, $sexe, 'html')|smarty:nodefaults}</div>
       <a id="top_lnk"></a>
@@ -115,6 +113,7 @@ ne plus recevoir : [https://www.polytechnique.org/nl/out]
          <a href="https://www.polytechnique.org/nl/submit">écrire dans la NL</a>&nbsp;|
          <a href="https://www.polytechnique.org/nl/out">ne plus recevoir</a>]
       </div>
+      </div>
     </div>
 {if $is_mail}
   </body>