From facd33398c467ba0007ed8d8ee3d7c5a46757f3b Mon Sep 17 00:00:00 2001 From: Vikrant Chaudhary Date: Sun, 16 Aug 2015 20:01:31 +0530 Subject: Removed unsed ink CSS. Also cut down on HTML to reduce the size of the email (Gmails cuts the email with message:) [Message clipped] View entire message --- themes/newsletter/static/css/ink.css | 175 ---------------------------------- themes/newsletter/static/css/main.css | 10 +- themes/newsletter/templates/base.html | 4 - 3 files changed, 1 insertion(+), 188 deletions(-) (limited to 'themes') diff --git a/themes/newsletter/static/css/ink.css b/themes/newsletter/static/css/ink.css index 322be36..ea216a5 100644 --- a/themes/newsletter/static/css/ink.css +++ b/themes/newsletter/static/css/ink.css @@ -395,181 +395,6 @@ h6 a:visited { color: #2ba6cb !important; } -/* Panels */ - -.panel { - background: #f2f2f2; - border: 1px solid #d9d9d9; - padding: 10px !important; -} - -.sub-grid table { - width: 100%; -} - -.sub-grid td.sub-columns { - padding-bottom: 0; -} - -/* Buttons */ - -table.button, -table.tiny-button, -table.small-button, -table.medium-button, -table.large-button { - width: 100%; - overflow: hidden; -} - -table.button td, -table.tiny-button td, -table.small-button td, -table.medium-button td, -table.large-button td { - display: block; - width: auto !important; - text-align: center; - background: #2ba6cb; - border: 1px solid #2284a1; - color: #ffffff; - padding: 8px 0; -} - -table.tiny-button td { - padding: 5px 0 4px; -} - -table.small-button td { - padding: 8px 0 7px; -} - -table.medium-button td { - padding: 12px 0 10px; -} - -table.large-button td { - padding: 21px 0 18px; -} - -table.button td a, -table.tiny-button td a, -table.small-button td a, -table.medium-button td a, -table.large-button td a { - font-weight: bold; - text-decoration: none; - font-family: Helvetica, Arial, sans-serif; - color: #ffffff; - font-size: 16px; -} - -table.tiny-button td a { - font-size: 12px; - font-weight: normal; -} - -table.small-button td a { - font-size: 16px; -} - -table.medium-button td a { - font-size: 20px; -} - -table.large-button td a { - font-size: 24px; -} - -table.button:hover td, -table.button:visited td, -table.button:active td { - background: #2795b6 !important; -} - -table.button:hover td a, -table.button:visited td a, -table.button:active td a { - color: #fff !important; -} - -table.button:hover td, -table.tiny-button:hover td, -table.small-button:hover td, -table.medium-button:hover td, -table.large-button:hover td { - background: #2795b6 !important; -} - -table.button:hover td a, -table.button:active td a, -table.button td a:visited, -table.tiny-button:hover td a, -table.tiny-button:active td a, -table.tiny-button td a:visited, -table.small-button:hover td a, -table.small-button:active td a, -table.small-button td a:visited, -table.medium-button:hover td a, -table.medium-button:active td a, -table.medium-button td a:visited, -table.large-button:hover td a, -table.large-button:active td a, -table.large-button td a:visited { - color: #ffffff !important; -} - -table.secondary td { - background: #e9e9e9; - border-color: #d0d0d0; - color: #555; -} - -table.secondary td a { - color: #555; -} - -table.secondary:hover td { - background: #d0d0d0 !important; - color: #555; -} - -table.secondary:hover td a, -table.secondary td a:visited, -table.secondary:active td a { - color: #555 !important; -} - -table.success td { - background: #5da423; - border-color: #457a1a; -} - -table.success:hover td { - background: #457a1a !important; -} - -table.alert td { - background: #c60f13; - border-color: #970b0e; -} - -table.alert:hover td { - background: #970b0e !important; -} - -table.radius td { - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} - -table.round td { - -webkit-border-radius: 500px; - -moz-border-radius: 500px; - border-radius: 500px; -} - /* Outlook First */ body.outlook p { diff --git a/themes/newsletter/static/css/main.css b/themes/newsletter/static/css/main.css index 2a2cfbf..c30691d 100644 --- a/themes/newsletter/static/css/main.css +++ b/themes/newsletter/static/css/main.css @@ -1,17 +1,9 @@ .ExternalClass { - width: 100% !important; font-family: 'Fira Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; } -* { - font-family: 'Fira Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; - -webkit-text-size-adjust: none; - -webkit-text-resize: 100%; - text-resize: 100%; -} - body, table.body, h1, h2, h3, h4, h5, h6, p, td { - font-family: 'Fira Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; + font-family: 'Fira Sans', 'Helvetica Neue', Helvetica, sans-serif; } table.container { diff --git a/themes/newsletter/templates/base.html b/themes/newsletter/templates/base.html index c53ffa1..70eff09 100644 --- a/themes/newsletter/templates/base.html +++ b/themes/newsletter/templates/base.html @@ -33,7 +33,6 @@ - @@ -50,7 +49,6 @@   {% block number_and_date %}{% endblock number_and_date %} - @@ -66,7 +64,6 @@ {% block content %} {% endblock content %} - @@ -93,7 +90,6 @@ Read this issue on the Web - -- cgit v1.2.3