-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathtemplate-inline.html
168 lines (167 loc) · 4.84 KB
/
template-inline.html
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
<html lang="vi">
<!DOCTYPE html>
<head>
<title>[NMS] Vocabulary reviews</title>
<meta charset="UTF-8" />
</head>
<body
style="
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
font-size: 14px;
background: white;
"
>
<div
style="
text-align: center;
margin-top: 2rem;
font-size: 1.5rem;
font-weight: 700;
"
>
Hi, this is the random vocabularies of the week!
</div>
<div style="margin-top: 2rem; font-size: 1.3rem; font-weight: 600">
First, review and try to find the meanings in your memories, and the
examples below:
</div>
<article style="margin: 0.5rem 1rem 0.5rem 1rem; display: block">
{{#each vocabularies}}
<div
style="
background-color: #f9f9f9;
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1),
0 1px 2px 0 rgba(0, 0, 0, 0.06);
border-radius: 0.25rem;
padding: 1rem;
padding-top: 0.5rem;
margin-bottom: 0.5rem;
margin-top: 0.1rem;
"
>
<div style="margin-bottom: 0.8rem">
<div style="display: flex; align-items: center; margin-top: 0.7rem">
<span
style="
border-radius: 9999px;
margin-right: 0.2rem;
width: 0.75rem;
height: 0.75rem;
background-color: rgba(16, 185, 129, 1);
margin-top: 0.2rem;
"
></span>
<span style="font-weight: 600; color: #5488c7">{{name}}</span>
</div>
<div style="display: flex; align-items: center; margin-top: 0.7rem">
<span
style="
border-radius: 9999px;
margin-right: 0.2rem;
width: 0.75rem;
height: 0.75rem;
background-color: rgb(59, 130, 246);
margin-top: 0.2rem;
"
></span>
<span style="font-weight: 600; color: #122d4e">
{{#if pronunciation}} {{pronunciation}} {{else}} _missing_ {{/if}}
</span>
</div>
</div>
{{#if example}}
<div
style="
margin-top: 0.1rem;
border-top: solid rgb(158, 158, 158) 0.01em;
"
>
<p style="color: rgb(45, 49, 54)">{{example}}</p>
</div>
{{/if}}
</div>
{{/each}}
</article>
<div
style="
margin-top: 1.5rem;
margin-bottom: 2rem;
font-size: 1.3rem;
font-weight: 600;
"
>
Now, check the result!
</div>
<article style="margin: 0.5rem 1rem 0.5rem 1rem; display: block">
{{#each vocabularies}}
<div
style="
background-color: #f9f9f9;
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1),
0 1px 2px 0 rgba(0, 0, 0, 0.06);
border-radius: 0.25rem;
padding: 1rem;
padding-top: 0.5rem;
margin-bottom: 0.5rem;
margin-top: 0.1rem;
"
>
<div style="margin-bottom: 0.8rem">
<div style="display: flex; align-items: center; margin-top: 0.7rem">
<span
style="
border-radius: 9999px;
margin-right: 0.2rem;
width: 0.75rem;
height: 0.75rem;
margin-top: 0.2rem;
background-color: rgba(16, 185, 129, 1);
"
></span>
<span style="font-weight: 600; color: #5488c7">{{name}}</span>
</div>
<div style="display: flex; align-items: center; margin-top: 0.7rem">
<span
style="
border-radius: 9999px;
margin-right: 0.2rem;
width: 0.75rem;
height: 0.75rem;
margin-top: 0.2rem;
background-color: rgb(59, 130, 246);
"
></span>
<span style="font-weight: 600; color: #122d4e">
{{#if pronunciation}} {{pronunciation}} {{else}} _missing_ {{/if}}
</span>
</div>
</div>
<div
style="
margin-top: 0.1rem;
border-top: solid rgb(158, 158, 158) 0.01em;
"
>
<p style="color: rgb(45, 49, 54)">{{example}}</p>
<p style="color: rgb(45, 49, 54)">{{description}}</p>
</div>
</div>
{{/each}}
</article>
<div
style="
color: #669de0;
margin-top: 1.5rem;
margin-bottom: 2rem;
font-size: 1.3rem;
font-weight: 600;
"
>
Happy learning!
</div>
<p>
© Kien Dinh - <a href="https://devgiangho.github.io">Author's blog</a>
</p>
</body>
</html>