-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
307 lines (269 loc) · 6.01 KB
/
style.css
File metadata and controls
307 lines (269 loc) · 6.01 KB
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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
/* General Styles with Pastel Green and Blue */
body {
font-family: sans-serif;
line-height: 1.6;
margin: 20px;
background-color: #e0f7fa; /* Pastel Light Blue */
color: #333;
}
.error-message-container {
background-color: #ffebee; /* Very Light Pastel Red */
color: #d32f2f; /* Pastel Dark Red */
border: 1px solid #ef9a9a; /* Pastel Light Red Border */
border-radius: 4px;
padding: 10px;
margin-bottom: 1em;
font-size: 1.1em;
}
.toggle-button {
background: none;
border: 1px solid #64b5f6; /* Pastel Blue */
color: #64b5f6; /* Pastel Blue */
font-size: 1.2em;
cursor: pointer;
margin-right: 5px;
padding: 0;
line-height: 1;
font-family: monospace;
}
.store-button {
background-color: #2bda91; /* Pastel Blue */
color: #fff;
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 1em;
transition: background-color 0.3s ease;
}
h1, h2, h3 {
color: #2e7d32; /* Pastel Dark Green */
margin-top: 2em;
margin-bottom: 1em;
line-height: 1.2;
}
h1 {
font-size: 2.5em;
}
h2 {
font-size: 2em;
}
h3 {
font-size: 1.6em;
}
p {
margin-bottom: 1.5em;
padding-left: 10px; /* Add some space for the vertical line */
border-left: 5px solid #80cbc4; /* Pastel Teal - a blend of green and blue */
font-size: 14px;
border: 1px solid #42a5f5;
border-radius: 10px;
background-color: #e0f7fa;
}
a {
color: #64b5f6; /* Pastel Blue */
text-decoration: none;
transition: color 0.3s ease;
font-size: 1em;
}
a:hover {
color: #42a5f5; /* Slightly darker pastel blue on hover */
font-size: 1em;
}
/* Container for the Application */
.container {
max-width: 960px;
margin: 0 auto;
padding: 20px;
background-color: #f1f8e9; /* Pastel Light Green */
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
font-size: 1em;
}
/* Form Elements */
label {
display: block;
margin-bottom: 0.5em;
font-weight: bold;
color: #43a047; /* Pastel Green */
font-size: 1em;
}
input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="time"],
select,
textarea {
display: block;
width: calc(100% - 22px);
padding: 10px;
margin-bottom: 1.5em;
border: 1px solid #a7ffeb; /* Pastel Cyan (mix of green and blue) */
border-radius: 4px;
font-size: 1em;
box-sizing: border-box;
background-color: #e0f2f1;
}
input[type="text"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
select:focus,
textarea:focus {
outline: none;
border-color: #64b5f6; /* Pastel Blue focus */
box-shadow: 0 0 5px rgba(100, 181, 246, 0.5);
font-size: 1em;
}
select {
appearance: none;
background-image: url('data:image/svg+xml;charset=UTF-8,<svg fill="%2364b5f6" viewBox="0 0 24 24"><path d="M7 10l5 5 5-5z"/></svg>');
background-repeat: no-repeat;
background-position: right 10px center;
background-size: 1em;
padding-right: 30px;
}
textarea {
resize: vertical;
min-height: 100px;
font-size: 1em;
}
/* Buttons */
button {
background-color: #64b5f6; /* Pastel Blue */
color: #fff;
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 1em;
transition: background-color 0.3s ease;
font-size: 1em;
}
button:hover {
background-color: #42a5f5; /* Slightly darker pastel blue on hover */
font-size: 1em;
}
button:focus {
outline: none;
box-shadow: 0 0 5px rgba(100, 181, 246, 0.5);
font-size: 1em;
}
button[type="submit"] {
font-weight: bold;
font-size: 1em;
}
/* Fieldsets and Legends */
fieldset {
display: block;
border: 1px solid #0980b0; /* Pastel Cyan */
border-radius: 4px;
padding: 1.5em;
margin-bottom: 1.5em;
background-color: #e8f5e9; /* Very Light Pastel Green */
font-size: 1em;
}
legend {
font-size: 1.1em;
font-weight: bold;
color: #43a047; /* Pastel Green */
padding: 0 10px;
font-size: 1.5em;
}
/* Lists */
ul, ol {
margin-bottom: 1.5em;
padding-left: 20px;
}
li {
margin-bottom: 0.5em;
}
/* Tables */
table {
width: 100%;
border-collapse: collapse;
margin-bottom: 1.5em;
}
th, td {
border: 1px solid #a7ffeb; /* Pastel Cyan */
padding: 8px;
text-align: left;
}
th {
background-color: #e0f2f7; /* Very Light Pastel Blue */
font-weight: bold;
color: #2e7d32; /* Pastel Dark Green */
}
/* Code Blocks */
pre {
background-color: #f1f8e9; /* Pastel Light Green */
border: 1px solid #a7ffeb; /* Pastel Cyan */
padding: 1em;
border-radius: 4px;
overflow-x: auto;
font-family: monospace, monospace;
font-size: 0.9em;
line-height: 1.4;
margin-bottom: 1.5em;
color: #388e3c; /* Slightly darker pastel green for code text */
}
code {
font-family: monospace, monospace;
font-size: 0.9em;
color: #388e3c;
}
/* Small Text */
small {
font-size: 0.8em;
color: #7cb342; /* Pastel Olive Green */
}
/* Error/Validation Messages */
.error-message {
color: #e57373; /* Pastel Red */
font-size: 0.9em;
margin-top: 0.2em;
}
/* Success Messages */
.success-message {
color: #81c784; /* Pastel Light Green */
font-size: 0.9em;
margin-top: 0.2em;
}
/* Utility Classes */
.text-center {
text-align: center;
}
.mt-1 { margin-top: 1em; }
.mb-1 { margin-bottom: 1em; }
/* Responsive Adjustments */
@media (max-width: 768px) {
.container {
margin: 10px;
padding: 15px;
}
input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="time"],
select,
textarea {
width: calc(100% - 12px);
padding: 8px;
}
button {
padding: 8px 15px;
font-size: 0.9em;
}
}
hr {
border: 0;
height: 1px;
background-color: #268871; /* Pastel Cyan */
margin: 2em 0;
}