aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/template/mail/text/html/global-mail-css.tpl
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2013-11-05 19:23:29 +0000
committermistic100 <mistic@piwigo.org>2013-11-05 19:23:29 +0000
commit7a26038e66da9d958cc1cc439c904a6a7977428e (patch)
treee43193f0fa9592067b851125c0e918b58f47bc89 /themes/default/template/mail/text/html/global-mail-css.tpl
parent4c0899f88937bebd56e24a3304b8586bc86b8f41 (diff)
feature 2965: apply new template on pwg_mail()
TODO : review other mail functions, configuration GUI git-svn-id: http://piwigo.org/svn/trunk@25344 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes/default/template/mail/text/html/global-mail-css.tpl')
-rw-r--r--themes/default/template/mail/text/html/global-mail-css.tpl114
1 files changed, 103 insertions, 11 deletions
diff --git a/themes/default/template/mail/text/html/global-mail-css.tpl b/themes/default/template/mail/text/html/global-mail-css.tpl
index 072bcb0be..6bfcc1cd1 100644
--- a/themes/default/template/mail/text/html/global-mail-css.tpl
+++ b/themes/default/template/mail/text/html/global-mail-css.tpl
@@ -1,11 +1,103 @@
-/* Global mail css */
-
-body {ldelim} font-family: Univers, Helvetica, Optima; font-size:12px; margin:0px; padding:0px; }
-#the_page {ldelim} margin:0px; padding:0px; text-align:left;}
-#content {ldelim} margin:0px; padding:30px 0px 0px 30px; width:732px;}
-hr {ldelim} width:632px; margin-left:0;}
-#copyright {ldelim} font-size:10px; margin:0px; padding:48px 0px 32px 62px;}
-.PWG {ldelim} font-family:verdana, sans-serif !important; font-size:0.9em; font-weight:normal; letter-spacing:0px;}
-h2 {ldelim} padding:7px 15px; width:617px; font-weight:bold;}
-img {ldelim} margin:16px; border:16px solid #aaa; -moz-border-radius: 4px; border-radius: 4px 4px; }
-img:hover {ldelim} padding: 15px; border: 1px solid yellow; -moz-border-radius: 4px; border-radius: 4px 4px; }
+{strip}
+/* page */
+body {
+ font-family:"Verdana", "Helvetica", "Optima", sans-serif;
+ font-size:12px;
+ margin:0px;
+ padding:0px;
+}
+
+html, body, #bodyTable {
+ width:100%;
+ height:100%;
+}
+
+/* main block */
+#header {
+ padding:20px;
+}
+#header #title {
+ font-size:26px;
+ font-weight:bold;
+}
+#header #subtitle {
+ font-size:20px;
+}
+#content {
+ padding:0 20px 20px 20px;
+}
+#footer {
+ font-size:10px;
+ padding:5px;
+}
+#topSpacer {
+ margin-bottom:20px;
+}
+
+/* images */
+img {
+ border:none;
+}
+
+h1, h2, h3, h4, h5 {
+ margin:0.5em 0 0.25em 0;
+}
+h1 { font-size:26px; }
+h2 { font-size:20px; }
+h3 { font-size:16px; }
+h4 { font-size:12px; }
+h5 { font-size:10px; }
+
+/* paragraphs */
+p {
+ margin:0.25em 0 0.5em 0;
+}
+blockquote {
+ margin-left:10px;
+ padding-left:10px;
+ font-family:"Times",serif;
+ font-size:14px;
+}
+
+/* list */
+ul, ol {
+ margin:0.5em 0 0.25em 30px;
+ padding:0;
+}
+dl {
+ margin:0.5em 0 0.25em 10px;
+}
+dt {
+ margin:0.25em 0 0 0;
+ font-weight:bold;
+}
+dd {
+ margin:0 0 0.25em 10px;
+}
+
+/* tables */
+#content table {
+ width:100%;
+ border-spacing:0;
+ border-collapse:collapse;
+}
+#content table td {
+ padding:2px 3px;
+}
+#content table th {
+ font-weight:bold;
+ text-align:center;
+ padding:4px 0;
+}
+#content table tfoot td {
+ font-size:0.8em;
+}
+
+/* line */
+hr {
+ border-width:0 0 1px 0;
+ border-color:#ddd;
+ border-style:solid;
+ margin:1em;
+}
+{/strip} \ No newline at end of file