-
Notifications
You must be signed in to change notification settings - Fork 96
Expand file tree
/
Copy pathindex.css
More file actions
94 lines (83 loc) · 1.69 KB
/
index.css
File metadata and controls
94 lines (83 loc) · 1.69 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
.selfCompassion {
display: flex;
flex-direction: column;
align-items: center;
padding-top: 6rem;
width: 100%;
background-color: #fdfaf8;
}
.softHero {
background-color: #f7f5eb;
background-image: url("https://images.unsplash.com/photo-1518976024611-28bf4b48222e?auto=format&fit=crop&q=80&w=1200");
background-size: cover;
background-position: center;
color: #2e2e2e;
text-align: center;
padding: 5rem 2rem;
border-radius: 10px;
margin: 2rem;
max-width: 1000px;
}
.softHero h2 {
font-family: "Rouge Script", cursive;
color: #a0c3d2;
font-size: 2.5rem;
margin-bottom: 1rem;
}
.softHero p {
max-width: 700px;
margin: 0 auto;
font-family: "Quicksand", sans-serif;
font-size: 1.1rem;
line-height: 1.6;
}
.articlesContainer {
display: flex;
flex-direction: column;
align-items: center;
gap: 2rem;
padding: 2rem;
width: 100%;
}
.article {
background-color: #fff;
border-left: 5px solid #a0c3d2;
padding: 2rem;
max-width: 700px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.article:hover {
transform: translateY(-4px);
box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}
.article h3 {
font-family: "Rouge Script", cursive;
color: #a0c3d2;
font-size: 1.8rem;
margin-bottom: 1rem;
}
.article p {
font-family: "Quicksand", sans-serif;
color: #444;
margin-bottom: 1rem;
font-size: 1rem;
line-height: 1.7;
}
.quote {
font-style: italic;
color: #6d7b84;
border-left: 3px solid #a0c3d2;
padding-left: 1rem;
margin: 1.5rem 0;
}
@media (max-width: 700px) {
.softHero {
padding: 3rem 1.5rem;
}
.article {
width: 90%;
padding: 1.5rem;
}
}