Skip to content

Commit ea4b1a1

Browse files
authored
Merge pull request #4 from mrsndmn/main
Update Project Page
2 parents b294ac7 + 8c06cf1 commit ea4b1a1

11 files changed

+369
-46
lines changed

project/index.html

Lines changed: 272 additions & 46 deletions
Large diffs are not rendered by default.

project/static/css/index.css

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,5 +133,102 @@ body {
133133
font-size: smaller;
134134
}
135135

136+
/* New styles for better layout */
137+
.section {
138+
padding: 3rem 1.5rem;
139+
}
140+
141+
.container.is-max-desktop {
142+
max-width: 1200px;
143+
}
144+
145+
.title.is-3 {
146+
margin-bottom: 2rem !important;
147+
}
148+
149+
.figure {
150+
margin: 2rem 0;
151+
}
152+
153+
.caption {
154+
margin-top: 1rem;
155+
margin-bottom: 2rem;
156+
font-size: 1rem;
157+
line-height: 1.5;
158+
}
159+
160+
.image.is-16by9 {
161+
padding-top: 56.25%;
162+
position: relative;
163+
overflow: hidden;
164+
}
136165

166+
.image.is-16by9 img {
167+
position: absolute;
168+
top: 0;
169+
left: 0;
170+
width: 100%;
171+
height: 100%;
172+
object-fit: contain;
173+
cursor: pointer;
174+
transition: opacity 0.3s ease;
175+
}
176+
177+
.image.is-16by9 img:hover {
178+
opacity: 0.9;
179+
}
180+
181+
.mb-6 {
182+
margin-bottom: 3rem !important;
183+
}
184+
185+
.has-text-centered {
186+
text-align: center !important;
187+
}
188+
189+
.content {
190+
max-width: 100%;
191+
}
192+
193+
@media screen and (max-width: 768px) {
194+
.column.is-four-fifths {
195+
width: 100%;
196+
}
197+
198+
.image.is-16by9 {
199+
margin: 0 -1.5rem;
200+
border-radius: 0;
201+
}
202+
}
203+
204+
/* Modal styles */
205+
.modal {
206+
display: none;
207+
position: fixed;
208+
z-index: 1000;
209+
left: 0;
210+
top: 0;
211+
width: 100%;
212+
height: 100%;
213+
background-color: rgba(0, 0, 0, 0.9);
214+
overflow: auto;
215+
}
216+
217+
.modal-content {
218+
margin: auto;
219+
display: block;
220+
max-width: 90%;
221+
max-height: 90vh;
222+
object-fit: contain;
223+
}
224+
225+
.modal-close {
226+
position: absolute;
227+
top: 15px;
228+
right: 35px;
229+
color: #f1f1f1;
230+
font-size: 40px;
231+
font-weight: bold;
232+
cursor: pointer;
233+
}
137234

300 KB
Loading
1.52 MB
Loading
373 KB
Loading
1.82 MB
Loading
3.41 MB
Loading
948 KB
Loading
Binary file not shown.
897 KB
Loading

0 commit comments

Comments
 (0)