PluginProbe
Friends / 4.3.1
Friends v4.3.1
4.3.2 4.3.1 4.3.0 4.2.2 4.2.1 4.2.0 4.1.0 2.7.4 2.7.5 2.7.6 2.7.7 2.7.8 2.7.9 2.8.0 2.8.1 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.8.9 2.9.0 2.9.1 All 88 releases
friends / templates / email / header.php

header.php in Friends 4.3.1, at templates/email/header.php

156 lines 2.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * This template contains the HTML header for HTML e-mails.
4 *
5 * @version 1.0
6 * @package Friends
7 */
8
9 ?>
10 <!doctype html>
11 <html>
12 <head>
13 <style type="text/css" media="all">
14 body {
15 font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
16 background-color: #f6f6f6;
17 margin: 2em;
18 padding: 0;
19 color: #48427c;
20 }
21 div.content {
22 background-color: #fff;
23 padding: 1em 2em;
24 }
25 @media only screen and ( max-width: 800px ) {
26 body {
27 margin: 0;
28 }
29 div.content {
30 padding: 1em;
31 }
32 }
33 a:hover {
34 color: #1341d4;
35 text-decoration: underline;
36 }
37 a {
38 text-decoration: none;
39 color: #0088cc;
40 }
41 a.author {
42 text-decoration: none;
43 color: #48427c;
44 }
45 h2 {
46 font-size: 1.6rem;
47 font-weight: 500;
48 line-height: 1.1;
49 margin-bottom: 0;
50 }
51 blockquote {
52 border-left: .2rem solid #f6f6fa;
53 margin-left: 0;
54 padding: .2rem .4rem;
55 }
56 blockquote p {
57 margin-top: .2rem;
58 }
59 img {
60 object-fit: contain;
61 max-width: 100% !important;
62 height: auto !important;
63 }
64 figcaption {
65 text-align: center;
66 font-size: .9rem;
67 }
68
69 div.subscription-settings {
70 color: #999;
71 font-size: .9rem;
72 }
73 div.post-meta {
74 margin-bottom: 2em;
75 }
76 div.post-footer {
77 margin-top: 2em;
78 margin-bottom: 2em;
79 }
80 div.footer {
81 margin-top: 1em;
82 margin-bottom: 1em;
83 color: #999;
84 text-align: center;
85 clear: both;
86 font-size: .9rem;
87 }
88 p.permalink {
89 font-size: .8rem;
90 }
91
92 code, pre {
93 overflow: auto;
94 overflow-wrap: break-word;
95 }
96
97 mark {
98 background-color: #ff0;
99 color: #000;
100 }
101
102 hr {
103 border: 0;
104 margin-top: 1.5em;
105 margin-bottom: 1.5em;
106 border-top: 1px solid #999;
107 width: 80%;
108 }
109 a.btn {
110 background: #fff;
111 border: .05rem solid #2e5bec;
112 border-radius: .1rem;
113 color: #2e5bec;
114 cursor: pointer;
115 display: inline-block;
116 font-size: 1rem;
117 line-height: 1.2rem;
118 outline: none;
119 padding: .5em .4rem;
120 text-align: center;
121 text-decoration: none;
122 vertical-align: middle;
123 white-space: nowrap;
124 margin-right: 1em;
125 }
126 a.btn:hover {
127 background: #dde5fc;
128 border-color: #2050eb;
129 text-decoration: none;
130 }
131 a.btn.noborder {
132 border-color: transparent;
133 }
134 div.footer a, div.subscription-settings a {
135 color: #999;
136 text-decoration: underline;
137 }
138 </style>
139 <title><?php echo esc_html( $args['email_title'] ); ?></title>
140 <!--[if gte mso 12]>
141 <style type="text/css" media="all">
142 body {
143 font-family: arial;
144 font-size: 0.8em;
145 }
146 .post, .comment {
147 background-color: white !important;
148 line-height: 1.4em !important;
149 }
150 </style>
151 <![endif]-->
152 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
153 </head>
154 <body>
155 <div class="content">
156