create-template-html-css 1.2.2 → 1.4.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.
Files changed (36) hide show
  1. package/CHANGELOG.md +63 -0
  2. package/README.md +165 -1
  3. package/bin/cli.js +27 -3
  4. package/package.json +16 -8
  5. package/src/generator.js +1 -1
  6. package/src/inserter.js +1 -1
  7. package/templates/animated-card/index.html +85 -0
  8. package/templates/animated-card/script.js +37 -0
  9. package/templates/animated-card/style.css +254 -0
  10. package/templates/dashboard-grid/index.html +247 -0
  11. package/templates/dashboard-grid/script.js +157 -0
  12. package/templates/dashboard-grid/style.css +558 -0
  13. package/templates/fade-gallery/index.html +134 -0
  14. package/templates/fade-gallery/script.js +123 -0
  15. package/templates/fade-gallery/style.css +309 -0
  16. package/templates/flex-cards/index.html +276 -0
  17. package/templates/flex-cards/script.js +122 -0
  18. package/templates/flex-cards/style.css +556 -0
  19. package/templates/flex-dashboard/index.html +282 -0
  20. package/templates/flex-dashboard/script.js +149 -0
  21. package/templates/flex-dashboard/style.css +659 -0
  22. package/templates/flex-layout/index.html +185 -0
  23. package/templates/flex-layout/script.js +79 -0
  24. package/templates/flex-layout/style.css +336 -0
  25. package/templates/grid-layout/index.html +164 -0
  26. package/templates/grid-layout/script.js +75 -0
  27. package/templates/grid-layout/style.css +452 -0
  28. package/templates/masonry-grid/index.html +196 -0
  29. package/templates/masonry-grid/script.js +122 -0
  30. package/templates/masonry-grid/style.css +259 -0
  31. package/templates/spinner/index.html +56 -0
  32. package/templates/spinner/script.js +22 -0
  33. package/templates/spinner/style.css +207 -0
  34. package/templates/typing-effect/index.html +58 -0
  35. package/templates/typing-effect/script.js +247 -0
  36. package/templates/typing-effect/style.css +253 -0
@@ -0,0 +1,253 @@
1
+ * {
2
+ margin: 0;
3
+ padding: 0;
4
+ box-sizing: border-box;
5
+ }
6
+
7
+ body {
8
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
9
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
10
+ min-height: 100vh;
11
+ padding: 40px 20px;
12
+ color: #333;
13
+ }
14
+
15
+ .container {
16
+ max-width: 1100px;
17
+ margin: 0 auto;
18
+ }
19
+
20
+ /* Hero Section */
21
+ .hero-section {
22
+ text-align: center;
23
+ padding: 80px 20px;
24
+ background: white;
25
+ border-radius: 30px;
26
+ box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
27
+ margin-bottom: 50px;
28
+ position: relative;
29
+ overflow: hidden;
30
+ }
31
+
32
+ .hero-section::before {
33
+ content: '';
34
+ position: absolute;
35
+ top: 0;
36
+ left: -100%;
37
+ width: 100%;
38
+ height: 100%;
39
+ background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
40
+ animation: shine 3s infinite;
41
+ }
42
+
43
+ @keyframes shine {
44
+ 0% {
45
+ left: -100%;
46
+ }
47
+ 50%, 100% {
48
+ left: 100%;
49
+ }
50
+ }
51
+
52
+ .main-title {
53
+ font-size: 3.5rem;
54
+ color: #333;
55
+ margin-bottom: 20px;
56
+ font-weight: 700;
57
+ }
58
+
59
+ .gradient-text {
60
+ background: linear-gradient(135deg, #667eea, #764ba2);
61
+ -webkit-background-clip: text;
62
+ -webkit-text-fill-color: transparent;
63
+ background-clip: text;
64
+ animation: gradientShift 3s ease infinite;
65
+ background-size: 200% 200%;
66
+ }
67
+
68
+ @keyframes gradientShift {
69
+ 0%, 100% {
70
+ background-position: 0% 50%;
71
+ }
72
+ 50% {
73
+ background-position: 100% 50%;
74
+ }
75
+ }
76
+
77
+ .typing-text {
78
+ font-size: 1.8rem;
79
+ color: #555;
80
+ min-height: 60px;
81
+ display: inline-block;
82
+ position: relative;
83
+ }
84
+
85
+ .cursor {
86
+ display: inline-block;
87
+ width: 3px;
88
+ height: 30px;
89
+ background: #667eea;
90
+ animation: blink 0.8s infinite;
91
+ margin-left: 5px;
92
+ vertical-align: middle;
93
+ }
94
+
95
+ @keyframes blink {
96
+ 0%, 50% {
97
+ opacity: 1;
98
+ }
99
+ 51%, 100% {
100
+ opacity: 0;
101
+ }
102
+ }
103
+
104
+ /* Examples Section */
105
+ .examples-section {
106
+ margin-bottom: 50px;
107
+ }
108
+
109
+ .examples-section h2 {
110
+ text-align: center;
111
+ color: white;
112
+ font-size: 2.5rem;
113
+ margin-bottom: 40px;
114
+ text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
115
+ }
116
+
117
+ .example-card {
118
+ background: white;
119
+ padding: 40px;
120
+ border-radius: 20px;
121
+ margin-bottom: 30px;
122
+ box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
123
+ transition: transform 0.3s ease, box-shadow 0.3s ease;
124
+ }
125
+
126
+ .example-card:hover {
127
+ transform: translateY(-5px);
128
+ box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
129
+ }
130
+
131
+ .example-card.highlight {
132
+ background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
133
+ color: white;
134
+ }
135
+
136
+ .example-card h3 {
137
+ font-size: 1.8rem;
138
+ margin-bottom: 20px;
139
+ color: #333;
140
+ }
141
+
142
+ .example-card.highlight h3 {
143
+ color: white;
144
+ }
145
+
146
+ .typed {
147
+ font-size: 1.3rem;
148
+ color: #555;
149
+ min-height: 30px;
150
+ font-weight: 500;
151
+ }
152
+
153
+ .multi-line-typed {
154
+ margin-top: 10px;
155
+ }
156
+
157
+ .typed-line {
158
+ font-size: 1.2rem;
159
+ color: #555;
160
+ margin: 10px 0;
161
+ min-height: 30px;
162
+ font-weight: 500;
163
+ }
164
+
165
+ .rotating-container {
166
+ font-size: 1.5rem;
167
+ color: #333;
168
+ font-weight: 600;
169
+ }
170
+
171
+ .rotating-text {
172
+ color: #667eea;
173
+ font-weight: 700;
174
+ display: inline-block;
175
+ min-width: 200px;
176
+ text-align: left;
177
+ }
178
+
179
+ /* Code Block */
180
+ .code-block {
181
+ background: rgba(0, 0, 0, 0.2);
182
+ padding: 25px;
183
+ border-radius: 10px;
184
+ font-family: 'Courier New', monospace;
185
+ font-size: 1.1rem;
186
+ color: white;
187
+ overflow-x: auto;
188
+ line-height: 1.6;
189
+ min-height: 150px;
190
+ }
191
+
192
+ /* Action Section */
193
+ .action-section {
194
+ text-align: center;
195
+ padding: 30px;
196
+ background: white;
197
+ border-radius: 20px;
198
+ box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
199
+ }
200
+
201
+ .btn {
202
+ padding: 15px 40px;
203
+ margin: 10px;
204
+ border: none;
205
+ border-radius: 30px;
206
+ font-size: 1.1rem;
207
+ font-weight: 600;
208
+ cursor: pointer;
209
+ transition: all 0.3s ease;
210
+ text-transform: uppercase;
211
+ letter-spacing: 1px;
212
+ }
213
+
214
+ .btn-primary {
215
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
216
+ color: white;
217
+ }
218
+
219
+ .btn-primary:hover {
220
+ transform: translateY(-3px);
221
+ box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
222
+ }
223
+
224
+ .btn-secondary {
225
+ background: white;
226
+ color: #667eea;
227
+ border: 2px solid #667eea;
228
+ }
229
+
230
+ .btn-secondary:hover {
231
+ background: #667eea;
232
+ color: white;
233
+ transform: translateY(-3px);
234
+ }
235
+
236
+ /* Responsive Design */
237
+ @media (max-width: 768px) {
238
+ .main-title {
239
+ font-size: 2.5rem;
240
+ }
241
+
242
+ .typing-text {
243
+ font-size: 1.3rem;
244
+ }
245
+
246
+ .example-card {
247
+ padding: 25px;
248
+ }
249
+
250
+ .hero-section {
251
+ padding: 50px 20px;
252
+ }
253
+ }