summaryrefslogtreecommitdiffci
path: root/views/layouts/general-mail.html
blob: 452982af6efd0b0441003b05a6a6bc8d97410350 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<!doctype html>
<html lang="en">
    <meta charset="UTF-8" />
    <head>
        <style>
            @font-face {
                font-family: "Gentium Plus";
                font-style: normal;
                font-weight: 400;
                font-display: swap;
                src:
                    local("Gentium Plus"),
                    url(https://fonts.gstatic.com/s/gentiumplus/v2/Iurd6Ytw-oSPaZ00r2bNe8VZj5FNym499r7e.woff2)
                        format("woff2");
                unicode-range:
                    U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
            }
            @font-face {
                font-family: "Gentium Plus";
                font-style: normal;
                font-weight: 400;
                font-display: swap;
                src:
                    local("Gentium Plus"),
                    url(https://fonts.gstatic.com/s/gentiumplus/v2/Iurd6Ytw-oSPaZ00r2bNe8VZi5FNym499g.woff2)
                        format("woff2");
                unicode-range:
                    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
                    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
            }
            html {
                font-family: "Gentium Plus", sans-serif;
                --bg-paper: url(data:image/webp;base64,UklGRi4BAABXRUJQVlA4ICIBAABQCQCdASqAAIAAPm02lUmkIqIkIImIgA2JaW3rMFmGDAOKLAoJtP591ByFR74Tun2DP+Lygpfsz5FH7+cKgxi2Islfd03i5AJdXUfU0SDc8SXYAAD++hlzeYAJWQEF8ZdkJdlcA+5btZg0FMGaso8SHoBph0qAOQysElJ5C5SJFNoKIV1J550UyL7Y9Gh0/c/uzLnBmr8lvz7k1WeA81H4S5ViU/wBqa7aM1m8D9rDtrk8cSTqx+xWF6MS8UfZGSsks6CT/igtgv6syFN9uNA3LjnjiCJKYOvFcMkX+jB2578GWVo3nyLaM1QNPYCxn3TiUbnf7U0MdD2NsBpg1+Jd1wu6yW/U+goN+IQS6Nt4RMWltVcZHlxrneKJi0SobO0AAA==);
            }
            body {
                background-color: #e3e6ff;
            }
            a {
                text-decoration: underline;
                text-shadow: none !important;
            }
            .header {
                width: 100%;
                padding: 8px 8px 8px 32px;
                font-size: 48px;
                color: white;
                text-shadow:
                    -2px 0 #343b58,
                    0 2px #343b58,
                    2px 0 #343b58,
                    0 -2px #343b58;
                background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='80'><path fill='#e5e8ff' d='M0 0h40v80H0z'/><g fill='none' stroke-linecap='square' stroke-width='4.5'><path stroke='#8d4453' d='m-10 5 20 10L30 5l20 10'/><path stroke='#375e0d' d='m-10 25 20 10 20-10 20 10'/><path stroke='#006a85' d='m-10 45 20 10 20-10 20 10'/><path stroke='#5a3e8e' d='m-10 65 20 10 20-10 20 10'/></g></svg>");
                background-color: #e3e6ff;
                background-size: contain;
                background-repeat: repeat-x;
            }
            .content {
                margin: 0 32px 0 32px;
                padding: 16px 16px 32px 16px;
                font-size: 24px;
                text-shadow:
                    -1px 0 #343b58,
                    0 1px #343b58,
                    1px 0 #343b58,
                    0 -1px #343b58;
                color: white;
                background-color: #c3caff;
                background-image: var(--bg-paper);
                background-blend-mode: multiply;
                background-repeat: repeat;
                background-size: 128px;
            }
            .footer {
                margin: 0;
                padding: 1px 8px 1px 8px;
                font-size: 16px;
                color: white;
            }
            .darkened {
                background-color: #9aa5f4;
                background-image: var(--bg-paper);
                background-blend-mode: multiply;
                background-repeat: repeat;
                background-size: 128px;
            }
            .outlier {
                padding-inline: 4px;
                background-color: #6c6e75;
                background-image: var(--bg-paper);
                background-blend-mode: multiply;
                background-repeat: repeat;
                background-size: 128px;
            }
            table,
            th,
            td {
                border: 1px solid black;
            }
            td {
                padding: 5px;
            }
            img {
                width: 200px;
            }
        </style>
    </head>

    <body>
        <div id="header" class="header">saya.uz</div>

        <div
            id="content"
            class="content"
            style="background-color: #e3e6ff !important"
        >
            {{ block "body" . }}{{ end }}
        </div>

        <div id="footer" class="footer darkened">
            {{ block "footer" . }}{{ end }}
        </div>
    </body>
</html>