Skip to content

Commit 563271b

Browse files
committed
test
1 parent 2fd17a1 commit 563271b

3 files changed

Lines changed: 30 additions & 2 deletions

File tree

assets/css/custom.css

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,12 @@ html.dark .news-button:hover {
206206
display: none !important;
207207
}
208208

209+
/* Ensure project images are visible */
210+
.projects-page .project-image img,
211+
.prose .project-image img {
212+
display: block !important;
213+
}
214+
209215
/* Hide featured images in blog listings */
210216
.blog-card img,
211217
.post-card img,
@@ -1067,8 +1073,30 @@ body[data-page-type="landing"] .about-page h6 {
10671073
}
10681074

10691075
/* Specific targeting for FACET image to ensure top is displayed */
1070-
.project-image img[src*="FACET.png"] {
1076+
.project-image img[src*="FACET.png"],
1077+
.project-image img[src*="facet-project.png"],
1078+
.projects-page .project-image img[src*="FACET.png"],
1079+
.projects-page .project-image img[src*="facet-project.png"],
1080+
.prose .project-image img[src*="FACET.png"],
1081+
.prose .project-image img[src*="facet-project.png"] {
1082+
object-position: top !important;
1083+
object-fit: cover !important;
1084+
}
1085+
1086+
/* Force top positioning for all project images */
1087+
.projects-page .project-image img {
1088+
object-position: top !important;
1089+
object-fit: cover !important;
1090+
display: block !important;
1091+
visibility: visible !important;
1092+
}
1093+
1094+
/* Additional aggressive CSS for FACET images */
1095+
.projects-page .project-image img[src*="facet-project.png"] {
10711096
object-position: top !important;
1097+
object-fit: cover !important;
1098+
transform: translateY(0) !important;
1099+
clip-path: inset(0 0 50% 0) !important;
10721100
}
10731101

10741102
.project-image img:hover {

content/projects/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ sections:
1414
text: |-
1515
<div class="project-card">
1616
<div class="project-image">
17-
<img src="/images/projects/FACET.png" alt="FACET Project" />
17+
<img src="/images/projects/facet-project.png" alt="FACET Project" />
1818
</div>
1919
<div class="project-content">
2020
<h3 class="project-title">FACET: Teacher-centred LLM-based multi-agent system</h3>
25.1 KB
Loading

0 commit comments

Comments
 (0)