-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathstyles.css
More file actions
224 lines (188 loc) · 4.42 KB
/
styles.css
File metadata and controls
224 lines (188 loc) · 4.42 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
:root {
--red: #a51417;
--gray: #6c7373;
--gray-light: #c8c8c8;
--gray-dark: #3d3d3d;
--gray-extra-light: #eeeeee;
--green: #007360;
}
.card {
display: flex;
align-items: flex-start; /* changed from center to flex-start */
border: none;
margin: 20px;
padding: 20px;
max-width: 600px;
border-radius: 12px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
background-color: #fff;
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
cursor: pointer; /* Optional: changes the cursor to a pointer when hovering over the card */
}
.card:hover {
transform: translateY(-5px);
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.card img {
width: 120px;
height: 120px;
border-radius: 10%;
margin-right: 20px;
border: 3px solid var(--red);
transition: transform 0.3s ease-in-out;
}
.card img:hover {
transform: scale(1.1);
}
.container {
display: flex;
flex-direction: column;
justify-content: space-between; /* ensures that the content takes up the full height of the container */
flex: 1; /* ensures that the container takes up the remaining space inside the card */
padding-bottom: 20px; /* adds padding to the bottom of the container */
}
.container p,
.container a {
margin: 0;
padding: 0;
line-height: 1.6;
color: var(--gray);
}
.container b {
font-size: 1.4em;
margin-bottom: 10px;
color: var(--red);
}
.container i {
font-size: 1.1em;
margin-bottom: 10px;
color: var(--gray-dark);
}
.container a {
text-decoration: none;
transition: color 0.3s ease-in-out;
border-bottom: 1px solid var(--red);
}
.container a:hover {
color: var(--green);
border-bottom-color: var(--green);
}
.hidden-content {
max-height: 0;
overflow: hidden;
transition: max-height 0.5s ease-in-out;
}
.card.expanded {
max-height: 500px; /* Increased max height for expanded view */
}
.card.expanded .hidden-content {
max-height: 350px; /* Adjust as needed */
}
/*-- -------------------------- -->
<--- Gallery -->
<--- -------------------------- -*/
.gallery-section {
background-color: #f7f7f7;
padding: 60px 20px;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.cs-container {
max-width: 900px;
margin: 0 auto;
text-align: center;
}
.cs-topper {
font-size: 14px;
text-transform: uppercase;
letter-spacing: 2px;
color: #888;
margin-bottom: 6px;
}
.cs-title {
font-size: 32px;
font-weight: 700;
margin-bottom: 30px;
}
/* Swiper container */
.gallery-swiper {
width: 100%;
max-width: 1000px;
height: 650px;
margin: 0 auto 40px auto;
border-radius: 15px;
overflow: hidden;
box-shadow: 0 6px 20px rgba(0,0,0,0.1);
background: #fff;
}
/* Swiper slide image */
.swiper-slide img {
width: 100%;
height: 650px;
object-fit: cover;
display: block;
border-radius: 15px;
}
/* Navigation arrows styling */
.swiper-button-next,
.swiper-button-prev {
color: #333;
transition: color 0.3s ease;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
color: #007BFF;
}
/* Pagination dots styling */
.swiper-pagination-bullet {
background: #bbb;
opacity: 1;
transition: background 0.3s ease;
}
.swiper-pagination-bullet-active {
background: #007BFF;
}
/* Gallery link below carousel */
.gallery-link-container {
margin-top: 10px;
}
.gallery-link {
font-weight: 600;
color: #007BFF;
text-decoration: none;
font-size: 18px;
border-bottom: 2px solid transparent;
transition: border-color 0.3s ease;
}
.gallery-link:hover {
border-color: #007BFF;
}
.announcement-card {
background-color: #f9f9ff;
border-left: 6px solid #4b6cb7;
padding: 1.5rem;
margin: 2rem 0;
border-radius: 12px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
font-family: 'Segoe UI', sans-serif;
}
.announcement-card a {
color: #4b6cb7;
font-weight: 600;
text-decoration: underline;
transition: color 0.3s ease;
}
.announcement-card a:hover {
color: #2c3e91;
}
.announcement-card p {
margin-bottom: 1rem;
font-size: 1.05rem;
line-height: 1.6;
}
.zoomable-img {
width: 50%;
float: right;
margin-left: 20px;
cursor: zoom-in;
transition: transform 0.3s ease;
}