forked from aditya-bhaumik/Pathsphere
-
Notifications
You must be signed in to change notification settings - Fork 0
/
about.css
113 lines (95 loc) · 2.04 KB
/
about.css
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
/* Adding style for about page */
/* General Section Styling */
.content-section {
padding: 60px 20px;
background-color: #ffffff;
text-align: center;
}
.content-section h1, .content-section h2 {
font-size: 2.5em;
margin-bottom: 40px;
color: #333;
}
.bg-highlight {
background: #587561;
}
.bg-light {
background-color: #fafafa;
}
/* Grid Layout for Cards */
.cards-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
justify-items: center;
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
/* General Card Styling */
.content-card, .offering-card, .team-card {
background-color: #f9f9f9;
border: 1px solid #ddd;
border-radius: 8px;
padding: 20px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
text-align: center;
}
.content-card:hover, .offering-card:hover, .team-card:hover {
transform: translateY(-5px);
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
/* Specific Offering Card Styling */
.offering-card i {
font-size: 2.5em;
color: #28a745;
margin-bottom: 15px;
}
.offering-card h3 {
font-size: 1.6em;
margin-bottom: 10px;
color: #333;
}
.offering-card p {
font-size: 1em;
color: #777;
}
/* Team Card Specific Styles */
.team-card img {
width: 100%;
height: auto;
border-radius: 50%;
margin-bottom: 15px;
object-fit: cover;
}
.team-card h3 {
font-size: 1.5em;
margin-bottom: 10px;
color: #333;
}
.team-card p {
font-size: 1em;
color: #777;
}
/* Responsive Design */
@media (max-width: 768px) {
.content-section h1, .content-section h2 {
font-size: 2em;
}
.cards-grid {
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
padding: 0 10px;
}
}
@media (max-width: 480px) {
.content-section h1, .content-section h2 {
font-size: 1.8em;
}
.cards-grid {
grid-template-columns: 1fr;
}
.team-card img {
width: 80%;
}
}