PluginProbe
Friends / 2.8.4
Friends v2.8.4
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 2.8.4, at templates/email/header.php

154 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 }
62
63 figure img, img.size-full {
64 max-width: 100% !important;
65 height: auto !important;
66 }
67 figcaption {
68 text-align: center;
69 font-size: .9rem;
70 }
71
72 div.subscription-settings {
73 color: #999;
74 font-size: .9rem;
75 }
76 div.post-meta {
77 margin-bottom: 2em;
78 }
79 div.post-footer {
80 margin-top: 2em;
81 margin-bottom: 2em;
82 }
83 div.footer {
84 margin-top: 1em;
85 margin-bottom: 1em;
86 color: #999;
87 text-align: center;
88 clear: both;
89 font-size: .9rem;
90 }
91 p.permalink {
92 font-size: .8rem;
93 }
94
95 code, pre {
96 overflow: auto;
97 overflow-wrap: break-word;
98 }
99
100 hr {
101 border: 0;
102 margin-top: 1.5em;
103 margin-bottom: 1.5em;
104 border-top: 1px solid #999;
105 width: 80%;
106 }
107 a.btn {
108 background: #fff;
109 border: .05rem solid #2e5bec;
110 border-radius: .1rem;
111 color: #2e5bec;
112 cursor: pointer;
113 display: inline-block;
114 font-size: 1rem;
115 line-height: 1.2rem;
116 outline: none;
117 padding: .5em .4rem;
118 text-align: center;
119 text-decoration: none;
120 vertical-align: middle;
121 white-space: nowrap;
122 margin-right: 1em;
123 }
124 a.btn:hover {
125 background: #dde5fc;
126 border-color: #2050eb;
127 text-decoration: none;
128 }
129 a.btn.noborder {
130 border-color: transparent;
131 }
132 div.footer a, div.subscription-settings a {
133 color: #999;
134 text-decoration: underline;
135 }
136 </style>
137 <title><?php echo esc_html( $args['email_title'] ); ?></title>
138 <!--[if gte mso 12]>
139 <style type="text/css" media="all">
140 body {
141 font-family: arial;
142 font-size: 0.8em;
143 }
144 .post, .comment {
145 background-color: white !important;
146 line-height: 1.4em !important;
147 }
148 </style>
149 <![endif]-->
150 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
151 </head>
152 <body>
153 <div class="content">
154