Create style-new.css
Browse files- style-new.css +61 -0
style-new.css
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* General Styles */
|
2 |
+
body {
|
3 |
+
padding: 2rem;
|
4 |
+
font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
|
5 |
+
background-color: #f9fafb;
|
6 |
+
color: #374151;
|
7 |
+
line-height: 1.6;
|
8 |
+
}
|
9 |
+
|
10 |
+
/* Header Styles */
|
11 |
+
h1 {
|
12 |
+
font-size: 1.5rem;
|
13 |
+
margin-top: 0;
|
14 |
+
margin-bottom: 1rem;
|
15 |
+
color: #111827;
|
16 |
+
}
|
17 |
+
|
18 |
+
/* Paragraph Styles */
|
19 |
+
p {
|
20 |
+
color: #6b7280;
|
21 |
+
font-size: 1rem;
|
22 |
+
margin-bottom: 1rem;
|
23 |
+
margin-top: 0.5rem;
|
24 |
+
}
|
25 |
+
|
26 |
+
/* Card Container */
|
27 |
+
.card {
|
28 |
+
max-width: 620px;
|
29 |
+
margin: 1rem auto;
|
30 |
+
padding: 1.5rem;
|
31 |
+
border: 1px solid #e5e7eb;
|
32 |
+
border-radius: 12px;
|
33 |
+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
|
34 |
+
background-color: #ffffff;
|
35 |
+
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
36 |
+
}
|
37 |
+
|
38 |
+
.card:hover {
|
39 |
+
transform: translateY(-5px);
|
40 |
+
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
|
41 |
+
}
|
42 |
+
|
43 |
+
/* Card Text Adjustments */
|
44 |
+
.card p:last-child {
|
45 |
+
margin-bottom: 0;
|
46 |
+
}
|
47 |
+
|
48 |
+
/* Responsive Adjustments */
|
49 |
+
@media (max-width: 640px) {
|
50 |
+
body {
|
51 |
+
padding: 1rem;
|
52 |
+
}
|
53 |
+
|
54 |
+
h1 {
|
55 |
+
font-size: 1.25rem;
|
56 |
+
}
|
57 |
+
|
58 |
+
.card {
|
59 |
+
padding: 1rem;
|
60 |
+
}
|
61 |
+
}
|