diff options
author | Vikrant Chaudhary <nasa42@gmail.com> | 2015-08-16 20:01:31 +0530 |
---|---|---|
committer | Vikrant Chaudhary <nasa42@gmail.com> | 2015-08-16 20:05:20 +0530 |
commit | facd33398c467ba0007ed8d8ee3d7c5a46757f3b (patch) | |
tree | 00152ad6396ad3eeebc2a09e2aba89b9cf322460 /themes | |
parent | 2102e870b3b3d0393a47dd76cca0de3fac5a7373 (diff) |
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
Diffstat (limited to 'themes')
-rw-r--r-- | themes/newsletter/static/css/ink.css | 175 | ||||
-rw-r--r-- | themes/newsletter/static/css/main.css | 10 | ||||
-rw-r--r-- | themes/newsletter/templates/base.html | 4 |
3 files changed, 1 insertions, 188 deletions
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 @@ </a> </small> </td> - <td class="expander"></td> </tr> </table> </td> @@ -50,7 +49,6 @@ {% block number_and_date %}{% endblock number_and_date %} </td> - <td class="expander"></td> </tr> </table> </td> @@ -66,7 +64,6 @@ {% block content %} {% endblock content %} </td> - <td class="expander"></td> </tr> </table> </td> @@ -93,7 +90,6 @@ <a href="{{ self.selfurl() }}">Read this issue on the Web</a> </small> </td> - <td class="expander"></td> </tr> </table> </td> |