-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
126 lines (108 loc) · 1.9 KB
/
style.css
File metadata and controls
126 lines (108 loc) · 1.9 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
html, body {
margin: 0;
padding: 0;
font-family: "Segoe UI", Roboto, Helvetica, sans-serif;
background-color: #ebe4e4b2;
color: #333;
}
/* Header styles */
.main-header {
background: linear-gradient(to right, #803636, #ca6565);
color: white;
padding: 30px 20px;
text-align: center;
box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.title {
font-size: 3.5em;
margin: 0;
letter-spacing: 2px;
}
.subtitle {
font-size: 1.5em;
margin: 10px 0;
font-weight: 300;
}
#search-input {
margin-top: 15px;
padding: 10px 15px;
font-size: 1em;
width: 60%;
max-width: 400px;
border: none;
border-radius: 10px;
box-shadow: 0 0 8px rgba(0,0,0,0.1);
}
/* Card container layout */
#card-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
padding: 30px 10px;
}
/* Individual card styles */
.card {
width: 300px;
background-color: white;
border-radius: 20px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
margin: 15px;
transition: transform 0.3s ease;
}
.card:hover {
transform: scale(1.03);
}
.card-content {
padding: 20px;
}
.card-title {
font-size: 1.5em;
margin: 0 0 10px 0;
color: #803636;
}
.card-image {
width: 100%;
height: auto;
border-radius: 15px;
margin-bottom: 15px;
}
.card-description {
margin: 10px 0;
font-size: 1em;
}
.card-goals {
padding-left: 18px;
margin-top: 10px;
}
.card-goals li {
margin-bottom: 6px;
font-size: 0.95em;
line-height: 1.4;
}
.card-quote {
font-style: italic;
margin-top: 12px;
color: #555;
font-size: 0.9em;
}
/* Footer buttons */
.footer {
display: flex;
justify-content: center;
padding: 20px;
background-color: #f0f0f0;
}
button {
background-color: #c84545;
color: white;
border: none;
padding: 10px 18px;
font-size: 16px;
border-radius: 12px;
cursor: pointer;
margin: 0 10px;
transition: background-color 0.3s ease;
}
button:hover {
background-color: #a34f4f;
}