From 183a157b55b751eadba39f140a714ed8538191a9 Mon Sep 17 00:00:00 2001 From: x2003augustin Date: Mon, 29 Jan 2007 10:25:35 +0000 Subject: [PATCH] Improve NL skin 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 | 15 +++++++++++---- htdocs/css/nl.css | 8 +++++++- templates/axletter/letter.tpl | 7 +++---- templates/newsletter/nl.tpl | 7 +++---- 4 files changed, 24 insertions(+), 13 deletions(-) diff --git a/htdocs/css/ax.css b/htdocs/css/ax.css index 816f6cd..32f1058 100644 --- a/htdocs/css/ax.css +++ b/htdocs/css/ax.css @@ -20,10 +20,17 @@ 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; diff --git a/htdocs/css/nl.css b/htdocs/css/nl.css index 6c10869..e70c210 100644 --- a/htdocs/css/nl.css +++ b/htdocs/css/nl.css @@ -18,8 +18,14 @@ * 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; diff --git a/templates/axletter/letter.tpl b/templates/axletter/letter.tpl index c9f25d0..d592e07 100644 --- a/templates/axletter/letter.tpl +++ b/templates/axletter/letter.tpl @@ -55,12 +55,9 @@ ne plus recevoir : [https://www.polytechnique.org/ax/out{if $hash}/{$hash}{/if}] - + Lettre d'information de l'AX @@ -68,6 +65,7 @@ ne plus recevoir : [https://www.polytechnique.org/ax/out{if $hash}/{$hash}{/if}] {/if}
+
{$am->title()}
{$am->head($prenom, $nom, $sexe, 'html')|smarty:nodefaults}
{$am->body('html')|smarty:nodefaults}
@@ -80,6 +78,7 @@ ne plus recevoir : [https://www.polytechnique.org/ax/out{if $hash}/{$hash}{/if}] ne plus recevoir]
+ {if $is_mail} diff --git a/templates/newsletter/nl.tpl b/templates/newsletter/nl.tpl index c4880c6..7e9bff2 100644 --- a/templates/newsletter/nl.tpl +++ b/templates/newsletter/nl.tpl @@ -73,12 +73,9 @@ ne plus recevoir : [https://www.polytechnique.org/nl/out] - + Lettre mensuelle de Polytechnique.org @@ -86,6 +83,7 @@ ne plus recevoir : [https://www.polytechnique.org/nl/out] {/if}
+
{$nl->title()}
{$nl->head($prenom, $nom, $sexe, 'html')|smarty:nodefaults}
@@ -115,6 +113,7 @@ ne plus recevoir : [https://www.polytechnique.org/nl/out] écrire dans la NL | ne plus recevoir]
+
{if $is_mail} -- 2.1.4