promptfont 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.txt +91 -0
- package/README.md +65 -0
- package/glyphs.json +7034 -0
- package/index.css +251 -0
- package/index.html +3498 -0
- package/package.json +39 -0
- package/promptfont.css +454 -0
- package/promptfont.otf +0 -0
- package/promptfont.ttf +0 -0
- package/promptfont.woff +0 -0
- package/promptfont.woff2 +0 -0
- package/tags.txt +295 -0
package/index.css
ADDED
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: 'integratedpromptfont';
|
|
3
|
+
src: url('promptfont.ttf');
|
|
4
|
+
}
|
|
5
|
+
@keyframes fadeOut {
|
|
6
|
+
0% { opacity: 1;}
|
|
7
|
+
50% { opacity: 1;}
|
|
8
|
+
100% { opacity: 0;}
|
|
9
|
+
}
|
|
10
|
+
@keyframes rainbow{
|
|
11
|
+
100%,0%{
|
|
12
|
+
color: rgb(255,0,0);
|
|
13
|
+
}
|
|
14
|
+
8%{
|
|
15
|
+
color: rgb(255,127,0);
|
|
16
|
+
}
|
|
17
|
+
16%{
|
|
18
|
+
color: rgb(255,255,0);
|
|
19
|
+
}
|
|
20
|
+
25%{
|
|
21
|
+
color: rgb(127,255,0);
|
|
22
|
+
}
|
|
23
|
+
33%{
|
|
24
|
+
color: rgb(0,255,0);
|
|
25
|
+
}
|
|
26
|
+
41%{
|
|
27
|
+
color: rgb(0,255,127);
|
|
28
|
+
}
|
|
29
|
+
50%{
|
|
30
|
+
color: rgb(0,255,255);
|
|
31
|
+
}
|
|
32
|
+
58%{
|
|
33
|
+
color: rgb(0,127,255);
|
|
34
|
+
}
|
|
35
|
+
66%{
|
|
36
|
+
color: rgb(0,0,255);
|
|
37
|
+
}
|
|
38
|
+
75%{
|
|
39
|
+
color: rgb(127,0,255);
|
|
40
|
+
}
|
|
41
|
+
83%{
|
|
42
|
+
color: rgb(255,0,255);
|
|
43
|
+
}
|
|
44
|
+
91%{
|
|
45
|
+
color: rgb(255,0,127);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
body {
|
|
49
|
+
font-family: sans-serif;
|
|
50
|
+
font-size: 14pt;
|
|
51
|
+
margin: 0;
|
|
52
|
+
overflow-y: scroll;
|
|
53
|
+
}
|
|
54
|
+
header {
|
|
55
|
+
padding: 1em;
|
|
56
|
+
border-bottom: 3px solid #CCCCCC;
|
|
57
|
+
}
|
|
58
|
+
footer {
|
|
59
|
+
padding: 1em;
|
|
60
|
+
border-top: 3px solid #CCCCCC;
|
|
61
|
+
text-align: center;
|
|
62
|
+
}
|
|
63
|
+
a.button {
|
|
64
|
+
font-size: 18pt;
|
|
65
|
+
font-weight: normal;
|
|
66
|
+
color: black;
|
|
67
|
+
background: #EEEEEE;
|
|
68
|
+
border: 2px solid #CCCCCC;
|
|
69
|
+
border-radius: .2em;
|
|
70
|
+
padding: .2em .4em;
|
|
71
|
+
margin: .2em;
|
|
72
|
+
text-decoration: none;
|
|
73
|
+
cursor: pointer;
|
|
74
|
+
}
|
|
75
|
+
a.button:hover {
|
|
76
|
+
background: #CCCCCC;
|
|
77
|
+
}
|
|
78
|
+
main {
|
|
79
|
+
background: #EEEEEE;
|
|
80
|
+
padding: 2em 0;
|
|
81
|
+
}
|
|
82
|
+
input.search {
|
|
83
|
+
box-sizing: border-box;
|
|
84
|
+
font-size: 1.5em;
|
|
85
|
+
width: 20em;
|
|
86
|
+
display: block;
|
|
87
|
+
margin: 0 auto;
|
|
88
|
+
padding: 0.2em 0.5em;
|
|
89
|
+
border: 1px solid #CCCCCC;
|
|
90
|
+
border-radius: 0.2em;
|
|
91
|
+
}
|
|
92
|
+
input.compose {
|
|
93
|
+
box-sizing: border-box;
|
|
94
|
+
font-family: integratedpromptfont;
|
|
95
|
+
font-size: 1.5em;
|
|
96
|
+
width: 100%;
|
|
97
|
+
display: block;
|
|
98
|
+
margin: 0 auto 1em auto;
|
|
99
|
+
padding: 0.2em 0.5em;
|
|
100
|
+
background: rgba(0,0,0,0.1);
|
|
101
|
+
border: none;
|
|
102
|
+
text-align: center;
|
|
103
|
+
}
|
|
104
|
+
input.compose:focus {
|
|
105
|
+
outline: none;
|
|
106
|
+
}
|
|
107
|
+
.glyphsection {
|
|
108
|
+
display: flex;
|
|
109
|
+
flex-wrap: wrap;
|
|
110
|
+
justify-content: center;
|
|
111
|
+
}
|
|
112
|
+
.glyphsection h2 {
|
|
113
|
+
width: 100%;
|
|
114
|
+
text-align: center;
|
|
115
|
+
}
|
|
116
|
+
.glyph {
|
|
117
|
+
text-align: center;
|
|
118
|
+
margin: 1em;
|
|
119
|
+
width: 8em;
|
|
120
|
+
cursor: pointer;
|
|
121
|
+
}
|
|
122
|
+
.glyph span {
|
|
123
|
+
display: block;
|
|
124
|
+
}
|
|
125
|
+
.glyph code {
|
|
126
|
+
display: block;
|
|
127
|
+
}
|
|
128
|
+
.glyph i {
|
|
129
|
+
display: block;
|
|
130
|
+
font-family: integratedpromptfont;
|
|
131
|
+
font-size: 32pt;
|
|
132
|
+
font-style: normal;
|
|
133
|
+
transition: font-size .5s;
|
|
134
|
+
}
|
|
135
|
+
.glyph:hover i{
|
|
136
|
+
font-size: 8em;
|
|
137
|
+
}
|
|
138
|
+
.notice{
|
|
139
|
+
position: fixed;
|
|
140
|
+
top: 0;
|
|
141
|
+
left: 0;
|
|
142
|
+
right: 0;
|
|
143
|
+
text-align: center;
|
|
144
|
+
padding: 0.5em 1em;
|
|
145
|
+
font-size: 1.5em;
|
|
146
|
+
background: white;
|
|
147
|
+
color: black;
|
|
148
|
+
border-bottom: 2px solid #CCCCCC;
|
|
149
|
+
opacity: 1;
|
|
150
|
+
animation: fadeOut 2s;
|
|
151
|
+
animation-fill-mode: forwards;
|
|
152
|
+
}
|
|
153
|
+
.notice i{
|
|
154
|
+
font-family: integratedpromptfont;
|
|
155
|
+
font-style: normal;
|
|
156
|
+
display: inline-block;
|
|
157
|
+
min-width: 1em;
|
|
158
|
+
}
|
|
159
|
+
img{
|
|
160
|
+
max-width: 100%;
|
|
161
|
+
}
|
|
162
|
+
.hidden{
|
|
163
|
+
display: none !important;
|
|
164
|
+
}
|
|
165
|
+
#popup{
|
|
166
|
+
background: rgba(0,0,0,0.5);
|
|
167
|
+
position: fixed;
|
|
168
|
+
left: 0; right: 0; top: 0; bottom: 0;
|
|
169
|
+
display: flex;
|
|
170
|
+
align-items: center;
|
|
171
|
+
justify-content: center;
|
|
172
|
+
}
|
|
173
|
+
#popup .box{
|
|
174
|
+
flex-grow: 0;
|
|
175
|
+
background: white;
|
|
176
|
+
display: grid;
|
|
177
|
+
grid-template-columns: 1fr 1fr;
|
|
178
|
+
grid-template-rows: 3em 1fr 1fr;
|
|
179
|
+
column-gap: 0.5em;
|
|
180
|
+
row-gap: 0.5em;
|
|
181
|
+
font-size: 1.5em;
|
|
182
|
+
box-shadow: 0 0 5em rgba(0,0,0,0.2);
|
|
183
|
+
}
|
|
184
|
+
#popup .box i{
|
|
185
|
+
font-family: integratedpromptfont;
|
|
186
|
+
font-style: normal;
|
|
187
|
+
}
|
|
188
|
+
#popup .box nav{
|
|
189
|
+
grid-column: 1 / 3;
|
|
190
|
+
grid-row: 1 / 2;
|
|
191
|
+
font-size: 1.2em;
|
|
192
|
+
display: flex;
|
|
193
|
+
align-items: center;
|
|
194
|
+
background: #303030;
|
|
195
|
+
color: #EFEFEF;
|
|
196
|
+
}
|
|
197
|
+
#popup .copy:hover, #popup .compose:hover{
|
|
198
|
+
color: orange;
|
|
199
|
+
cursor: pointer;
|
|
200
|
+
}
|
|
201
|
+
#popup .box nav *{
|
|
202
|
+
margin: 0.5em;
|
|
203
|
+
}
|
|
204
|
+
#popup .box nav i{
|
|
205
|
+
width: 1em;
|
|
206
|
+
text-align: center;
|
|
207
|
+
}
|
|
208
|
+
#popup .box nav h2{
|
|
209
|
+
flex-grow: 1;
|
|
210
|
+
font-size: 1.5em;
|
|
211
|
+
font-weight: bold;
|
|
212
|
+
}
|
|
213
|
+
#popup .box .preview{
|
|
214
|
+
grid-column: 1 / 2;
|
|
215
|
+
display: flex;
|
|
216
|
+
align-items: center;
|
|
217
|
+
justify-content: center;
|
|
218
|
+
font-size: 72pt;
|
|
219
|
+
padding: 0.5em 2em;
|
|
220
|
+
cursor: default;
|
|
221
|
+
}
|
|
222
|
+
#popup .box .preview.black{
|
|
223
|
+
grid-row: 2/3;
|
|
224
|
+
background: black;
|
|
225
|
+
color: white;
|
|
226
|
+
}
|
|
227
|
+
#popup .box .preview.white{
|
|
228
|
+
grid-row: 3/4;
|
|
229
|
+
background: white;
|
|
230
|
+
color: black;
|
|
231
|
+
}
|
|
232
|
+
#popup .box .preview i:hover{
|
|
233
|
+
animation: rainbow 2.5s linear;
|
|
234
|
+
animation-iteration-count: infinite;
|
|
235
|
+
}
|
|
236
|
+
#popup .box .info{
|
|
237
|
+
grid-column: 2 / 3;
|
|
238
|
+
grid-row: 2 / 4;
|
|
239
|
+
padding: 1em;
|
|
240
|
+
}
|
|
241
|
+
#popup .box .info .row{
|
|
242
|
+
display: flex;
|
|
243
|
+
}
|
|
244
|
+
#popup .box .info .row *{
|
|
245
|
+
flex-grow: 1;
|
|
246
|
+
}
|
|
247
|
+
#popup .box .info .row label{
|
|
248
|
+
flex-grow: 0;
|
|
249
|
+
min-width: 6em;
|
|
250
|
+
display: inline-block;
|
|
251
|
+
}
|