From b83ef05279a607ffa1294ca5b3ed7fde58b76594 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 8 Dec 2011 12:05:33 -0500 Subject: [PATCH] emailer changes for both website and emailer --- itf/static/css/modules/emailer.css | 90 +++++++++++-------- itf/templates/emailer/email.html | 17 ++-- .../modules/emailer/emailerissue.html | 40 +++++---- 3 files changed, 85 insertions(+), 62 deletions(-) diff --git a/itf/static/css/modules/emailer.css b/itf/static/css/modules/emailer.css index 0546e03..c75a32a 100755 --- a/itf/static/css/modules/emailer.css +++ b/itf/static/css/modules/emailer.css @@ -1,7 +1,6 @@ #wrapperEmailer { width:570px; - padding:20px; background:#fff; } @@ -18,18 +17,10 @@ } #logoItfSmall { - margin-left:10px; margin-top:16px; -} + float:right;} -#issueNo, #issueDate { - font-family:"Century Gothic", Arial, Helvetica, sans-serif; - font-weight:bold; - line-height:14px; - margin-left:10px; -} - -#emailerDescription { +/*#emailerDescription { font-family:"Century Gothic", Arial, Helvetica, sans-serif; font-weight:bold; line-height:14px; @@ -38,22 +29,32 @@ background-color:#f7bd00; padding:8px; margin-top:6px; -} +}*/ #logoImg { - position:absolute; +/* position:absolute; top:10px; - right:0px; + left:0px;*/ + margin-bottom:10px; + float:left; +} + +#issueNo, #issueDate { + font-family:"Century Gothic", Arial, Helvetica, sans-serif; + line-height:14px; +} + +#issueDate { + margin-left:10px; +} + +#issueNo { + float:left; } #navEmailer { font-family:"Century Gothic", Arial, Helvetica, sans-serif; - font-weight:bold; - margin-left:20px; - margin-right:20px; - margin-top:20px; - border-bottom:2px solid #f7bd00; - padding-bottom:10px; + float:right; } #navEmailer li { @@ -63,8 +64,11 @@ } #navEmailer li a { - color:#f7bd00; - text-decoration:none; + color:#ffcc00 !important; +} + +#navEmailer li:hover a { + text-decoration:none !important; } /* HEADER EMAILER CLOSING */ @@ -77,6 +81,7 @@ #contentEmailer { width:570px; margin:0 auto; + border-top:2px solid #f8c92d; } @@ -84,13 +89,13 @@ background-color:#f7bd00; color:#fff; text-align:center; - width:164px; /* fixed, can be changed*/ - height:130px; /* fixed, can be changed, character limit accordingly*/ + width:245px; /* fixed, can be changed*/ + height:170px; /* fixed, can be changed, character limit accordingly*/ margin-top:10px; - margin-left:5px; - margin-right:5px; - margin-bottom:20px; - padding:8px; + margin-left:10px; + margin-right:10px; + margin-bottom:10px; + padding:10px; float:left; position:relative; @@ -109,8 +114,8 @@ } .contentBoxes a { - color:#fff; - text-decoration:none; + color:#fff !important; + text-decoration:none !important; } .contentBoxesMore { @@ -122,8 +127,17 @@ .articleTitle { font-family:"Century Gothic", Arial, Helvetica, sans-serif; font-size:24px; - color:#f7bd00; + color:#ffcc00; + padding-left:8px; text-transform:uppercase; + float:left; +} + +.articleAuthor { + font-family:"Century Gothic", Arial, Helvetica, sans-serif; + font-size:12px; + padding-right:8px; + float:right; } .articleImg { @@ -132,8 +146,8 @@ .articleImg img { display:block; - border:1px solid #f7bd00; - max-width:550px; /* SUBJECT TO CHANGE*/ + border:1px solid #f7c00c; + max-width:560px; /* SUBJECT TO CHANGE*/ margin:0 auto; } @@ -160,11 +174,12 @@ margin-left:20px; margin-right:20px; text-align:center; + color:#999; } #footerEmailer a { - color:#0066ff; - text-decoration:none; + color:#0066ff !important; + text-decoration:none !important; } #footerEmailer p { @@ -172,11 +187,12 @@ } #footerEmailer p:first-child { - border-bottom:2px solid #f7bd00; + border-top:2px solid #f8c92d; + border-bottom:2px solid #f8c92d; } #footerEmailer p:last-child { - border-top:2px solid #f7bd00; + border-top:2px solid #f8c92d; padding-bottom:30px; } /* last child don't work with IE8 also, have added JS libraries; will test when site goes live */ diff --git a/itf/templates/emailer/email.html b/itf/templates/emailer/email.html index 4f23c1e..bb73273 100755 --- a/itf/templates/emailer/email.html +++ b/itf/templates/emailer/email.html @@ -22,12 +22,12 @@ -

Issue No: {{ issue.issue_no }}    {{ issue.date|date:"d-M-Y" }}

+

Issue No: {{ issue.issue_no }}    {{ issue.date|date:"d-M-Y" }}

- +

SUBSCRIBE | FEEDBACK

@@ -43,13 +43,13 @@

Some weblink

Some other weblink

-

More »

+

More »

Bulletin Board

Some bb item

Some other bb item

-

More »

+

More »

- -

Issue No: {{ issue.issue_no }}

-

{{ issue.issue_date }}

-

A fortnightly theatre e-journal from the India Theatre Forum
Co-Editors: Vikram Iyengar, Joyoti Roy

- - logo-erang + logo-erang + logo-itf-small +
+

Issue No: {{ issue.issue_no }}{{ issue.date|date:"d-M-Y" }}

+ + + +
+
@@ -35,28 +37,32 @@

More »

-
-

{{ box_title }}

-

{{ box_text }}

-

More »

-
{% for article in articles %} -
{{ article.title }}
+
{{ article.title }}
+ + +
+
{{ article.subtitle }}
{{ article.text|markdown }}
{% endfor %}
+
- +

A fortnightly theatre e-journal from the India Theatre Forum
+ Co-Editors: Vikram Iyengar, Joyoti Roy

+

Views expressed in the articles in e-Rang are personal.
+ e-Rang does not hold copyright of any piece.
+ Any enquiry for re-use of articles should be addressed to the authors.

Contribute your articles to e-Rang and become part of this theatre community! Email us at erang@theatreforum.in to know more about how to contribute..

The India Theatre Forum (ITF), a Prithvi Theatre initiative, was formed in 2006 as a loose