gefiwek187 commited on
Commit
ea5d112
1 Parent(s): 5f6d9ef

Create static/css/style.css

Browse files
Files changed (1) hide show
  1. static/css/style.css +290 -0
static/css/style.css ADDED
@@ -0,0 +1,290 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ :root {
2
+ --wattpad-orange: #FF8F00;
3
+ --wattpad-orange-light: #FFB74D;
4
+ --white: #FFFFFF;
5
+ --light-gray: #f5f5f5;
6
+ --dark-gray: #333333;
7
+ --shadow-color: rgba(0, 0, 0, 0.1);
8
+ }
9
+
10
+ * {
11
+ margin: 0;
12
+ padding: 0;
13
+ box-sizing: border-box;
14
+ }
15
+
16
+ @keyframes fadeIn {
17
+ from { opacity: 0; transform: translateY(20px); }
18
+ to { opacity: 1; transform: translateY(0); }
19
+ }
20
+
21
+ @keyframes slideIn {
22
+ from { transform: translateX(-100%); }
23
+ to { transform: translateX(0); }
24
+ }
25
+
26
+ @keyframes pulse {
27
+ 0% { transform: scale(1); }
28
+ 50% { transform: scale(1.1); }
29
+ 100% { transform: scale(1); }
30
+ }
31
+
32
+ @keyframes typing {
33
+ 0% { transform: translateY(0px); }
34
+ 28% { transform: translateY(-7px); }
35
+ 44% { transform: translateY(0px); }
36
+ }
37
+
38
+ body {
39
+ font-family: 'Source Sans Pro', sans-serif;
40
+ line-height: 1.6;
41
+ background-color: var(--light-gray);
42
+ color: var(--dark-gray);
43
+ min-height: 100vh;
44
+ }
45
+
46
+ .container {
47
+ max-width: 800px;
48
+ margin: 0 auto;
49
+ padding: 20px;
50
+ animation: fadeIn 0.8s ease-out;
51
+ }
52
+
53
+ .animate-header {
54
+ text-align: center;
55
+ margin-bottom: 40px;
56
+ padding: 30px;
57
+ background-color: var(--white);
58
+ border-radius: 15px;
59
+ box-shadow: 0 4px 20px var(--shadow-color);
60
+ transition: transform 0.3s ease;
61
+ }
62
+
63
+ .animate-header:hover {
64
+ transform: translateY(-5px);
65
+ }
66
+
67
+ .logo-container {
68
+ font-size: 3em;
69
+ color: var(--wattpad-orange);
70
+ margin-bottom: 20px;
71
+ animation: pulse 2s infinite;
72
+ }
73
+
74
+ h1 {
75
+ color: var(--wattpad-orange);
76
+ font-family: 'Playfair Display', serif;
77
+ font-size: 2.5em;
78
+ margin-bottom: 10px;
79
+ text-shadow: 2px 2px 4px var(--shadow-color);
80
+ }
81
+
82
+ .input-section {
83
+ display: flex;
84
+ gap: 15px;
85
+ margin-bottom: 30px;
86
+ animation: slideIn 0.5s ease-out;
87
+ }
88
+
89
+ .input-wrapper {
90
+ flex: 1;
91
+ position: relative;
92
+ display: flex;
93
+ align-items: center;
94
+ }
95
+
96
+ .input-icon {
97
+ position: absolute;
98
+ left: 15px;
99
+ color: var(--wattpad-orange);
100
+ font-size: 1.2em;
101
+ }
102
+
103
+ input[type="text"] {
104
+ flex: 1;
105
+ padding: 15px 20px 15px 45px;
106
+ border: 2px solid #ddd;
107
+ border-radius: 25px;
108
+ font-size: 16px;
109
+ transition: all 0.3s ease;
110
+ width: 100%;
111
+ background-color: var(--white);
112
+ }
113
+
114
+ input[type="text"]:focus {
115
+ outline: none;
116
+ border-color: var(--wattpad-orange);
117
+ box-shadow: 0 0 10px rgba(255, 143, 0, 0.2);
118
+ transform: scale(1.02);
119
+ }
120
+
121
+ button {
122
+ background-color: var(--wattpad-orange);
123
+ color: var(--white);
124
+ border: none;
125
+ padding: 15px 30px;
126
+ border-radius: 25px;
127
+ cursor: pointer;
128
+ font-size: 16px;
129
+ font-weight: 600;
130
+ transition: all 0.3s ease;
131
+ display: flex;
132
+ align-items: center;
133
+ gap: 10px;
134
+ }
135
+
136
+ button:hover {
137
+ background-color: var(--wattpad-orange-light);
138
+ transform: translateY(-2px);
139
+ box-shadow: 0 4px 15px rgba(255, 143, 0, 0.3);
140
+ }
141
+
142
+ .loading-spinner {
143
+ display: none;
144
+ text-align: center;
145
+ margin: 40px 0;
146
+ animation: fadeIn 0.5s ease-out;
147
+ }
148
+
149
+ .spinner {
150
+ width: 50px;
151
+ height: 50px;
152
+ border: 4px solid var(--light-gray);
153
+ border-top: 4px solid var(--wattpad-orange);
154
+ border-radius: 50%;
155
+ animation: spin 1s linear infinite;
156
+ margin: 0 auto 20px;
157
+ }
158
+
159
+ .typing-indicator {
160
+ display: flex;
161
+ justify-content: center;
162
+ gap: 5px;
163
+ margin-top: 15px;
164
+ }
165
+
166
+ .typing-indicator span {
167
+ width: 8px;
168
+ height: 8px;
169
+ background-color: var(--wattpad-orange);
170
+ border-radius: 50%;
171
+ animation: typing 1.4s ease-in-out infinite;
172
+ }
173
+
174
+ .typing-indicator span:nth-child(1) { animation-delay: 0.2s; }
175
+ .typing-indicator span:nth-child(2) { animation-delay: 0.4s; }
176
+ .typing-indicator span:nth-child(3) { animation-delay: 0.6s; }
177
+
178
+ .story-container {
179
+ background-color: var(--white);
180
+ padding: 40px;
181
+ border-radius: 15px;
182
+ box-shadow: 0 4px 20px var(--shadow-color);
183
+ display: none;
184
+ animation: fadeIn 0.8s ease-out;
185
+ margin-top: 30px;
186
+ }
187
+
188
+ .story-header {
189
+ margin-bottom: 30px;
190
+ padding-bottom: 20px;
191
+ border-bottom: 2px solid var(--light-gray);
192
+ }
193
+
194
+ .story-meta {
195
+ display: flex;
196
+ gap: 30px;
197
+ color: #666;
198
+ font-size: 0.9em;
199
+ margin-top: 15px;
200
+ }
201
+
202
+ .story-meta span {
203
+ display: flex;
204
+ align-items: center;
205
+ gap: 5px;
206
+ }
207
+
208
+ .story-meta i {
209
+ color: var(--wattpad-orange);
210
+ }
211
+
212
+ .story-content {
213
+ font-size: 1.1em;
214
+ line-height: 1.8;
215
+ white-space: pre-wrap;
216
+ padding: 20px 0;
217
+ }
218
+
219
+ .story-actions {
220
+ display: flex;
221
+ gap: 15px;
222
+ margin-top: 30px;
223
+ padding-top: 20px;
224
+ border-top: 2px solid var(--light-gray);
225
+ }
226
+
227
+ .action-btn {
228
+ flex: 1;
229
+ padding: 12px 20px;
230
+ font-size: 0.9em;
231
+ background-color: var(--white);
232
+ color: var(--dark-gray);
233
+ border: 2px solid var(--light-gray);
234
+ transition: all 0.3s ease;
235
+ }
236
+
237
+ .action-btn:hover {
238
+ background-color: var(--wattpad-orange);
239
+ color: var(--white);
240
+ border-color: var(--wattpad-orange);
241
+ }
242
+
243
+ .action-btn i {
244
+ margin-right: 5px;
245
+ }
246
+
247
+ footer {
248
+ text-align: center;
249
+ margin-top: 60px;
250
+ padding: 20px;
251
+ color: #666;
252
+ }
253
+
254
+ footer i {
255
+ color: var(--wattpad-orange);
256
+ animation: pulse 2s infinite;
257
+ }
258
+
259
+ /* Mobile Responsiveness */
260
+ @media (max-width: 768px) {
261
+ .container {
262
+ padding: 15px;
263
+ }
264
+
265
+ .input-section {
266
+ flex-direction: column;
267
+ }
268
+
269
+ button {
270
+ width: 100%;
271
+ justify-content: center;
272
+ }
273
+
274
+ .story-container {
275
+ padding: 25px;
276
+ }
277
+
278
+ .story-meta {
279
+ flex-wrap: wrap;
280
+ gap: 15px;
281
+ }
282
+
283
+ .story-actions {
284
+ flex-direction: column;
285
+ }
286
+
287
+ h1 {
288
+ font-size: 2em;
289
+ }
290
+ }