Skip to content

Commit a8125be

Browse files
committed
Refine lab pages layout and clean unused sections
- Remove unused “Research Photos”, “Research Areas”, and “Lab Highlights” sections from research, publications, and lab news pages (and their CSS) - Make Lab Members heading style match Principal Investigator on the people page - Update lab news cards so recent news dates appear above content (consistent with Upcoming Events) - Simplify and tidy related CSS, eliminating orphan rules and redundant responsive overrides
1 parent 5b6f58d commit a8125be

4 files changed

Lines changed: 15 additions & 130 deletions

File tree

assets/css/style.css

Lines changed: 14 additions & 95 deletions
Original file line numberDiff line numberDiff line change
@@ -582,39 +582,6 @@ body {
582582
color: #000;
583583
}
584584

585-
.research-photos {
586-
margin-top: 30px;
587-
}
588-
589-
.photo-grid {
590-
display: grid;
591-
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
592-
gap: 30px;
593-
margin-top: 20px;
594-
}
595-
596-
.photo-item {
597-
text-align: center;
598-
background: #f8f8f8;
599-
padding: 20px;
600-
border-radius: 8px;
601-
}
602-
603-
.research-image {
604-
width: 100%;
605-
height: 200px;
606-
object-fit: cover;
607-
border-radius: 4px;
608-
margin-bottom: 15px;
609-
}
610-
611-
.photo-caption {
612-
font-size: 14px;
613-
color: #666;
614-
font-style: italic;
615-
margin: 0;
616-
}
617-
618585
/* ==========================================================================
619586
9. PEOPLE PAGE (PI card, member grid)
620587
========================================================================== */
@@ -635,6 +602,13 @@ body {
635602
color: #000;
636603
}
637604

605+
.lab-members h2 {
606+
font-size: 32px;
607+
font-weight: 700;
608+
margin-bottom: 30px;
609+
color: #000;
610+
}
611+
638612
.person-card {
639613
background: #f8f8f8;
640614
padding: 40px;
@@ -705,16 +679,16 @@ body {
705679
}
706680

707681
.members-section {
708-
margin-bottom: 50px;
682+
margin-bottom: 70px;
709683
}
710684

711685
.members-section h3 {
712686
font-size: 24px;
713687
font-weight: 600;
714-
margin-bottom: 30px;
688+
margin-bottom: 10px;
715689
color: #000;
716-
border-bottom: 2px solid var(--primary-color);
717-
padding-bottom: 10px;
690+
/* border-bottom: 2px solid var(--primary-color); */
691+
padding-bottom: 1px;
718692
}
719693

720694
.member-card {
@@ -827,7 +801,7 @@ body {
827801
font-weight: 600;
828802
margin-bottom: 20px;
829803
color: #000;
830-
border-bottom: 2px solid var(--primary-color);
804+
/* border-bottom: 2px solid var(--primary-color); */
831805
padding-bottom: 10px;
832806
}
833807

@@ -867,28 +841,6 @@ body {
867841
border-radius: 4px;
868842
}
869843

870-
/* Same component as home page; values match :root --primary-color */
871-
.research-areas {
872-
display: flex;
873-
flex-wrap: wrap;
874-
gap: 15px;
875-
margin-top: 20px;
876-
}
877-
878-
.research-area-tag {
879-
background: var(--primary-color);
880-
color: white;
881-
padding: 8px 16px;
882-
border-radius: 20px;
883-
font-size: 14px;
884-
font-weight: 500;
885-
transition: background-color 0.2s;
886-
}
887-
888-
.research-area-tag:hover {
889-
background: var(--primary-hover);
890-
}
891-
892844
/* ==========================================================================
893845
11. LAB NEWS PAGE (recent news, upcoming events, highlights)
894846
========================================================================== */
@@ -911,7 +863,8 @@ body {
911863

912864
.news-item {
913865
display: flex;
914-
gap: 30px;
866+
flex-direction: column;
867+
gap: 15px;
915868
margin-bottom: 40px;
916869
padding: 30px;
917870
background: #f8f8f8;
@@ -1000,27 +953,6 @@ body {
1000953
border-radius: 4px;
1001954
}
1002955

1003-
.highlights-grid {
1004-
display: grid;
1005-
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
1006-
gap: 30px;
1007-
margin-top: 30px;
1008-
}
1009-
1010-
.highlight-item {
1011-
background: #f8f8f8;
1012-
padding: 30px;
1013-
border-radius: 8px;
1014-
text-align: center;
1015-
}
1016-
1017-
.highlight-item h4 {
1018-
font-size: 20px;
1019-
font-weight: 600;
1020-
margin-bottom: 15px;
1021-
color: #000;
1022-
}
1023-
1024956
/* ==========================================================================
1025957
12. JOIN PAGE (hiring banner, positions, contact)
1026958
========================================================================== */
@@ -1315,11 +1247,6 @@ body {
13151247
font-size: 18px;
13161248
}
13171249

1318-
.news-item {
1319-
flex-direction: column;
1320-
gap: 15px;
1321-
}
1322-
13231250
.news-date {
13241251
min-width: auto;
13251252
white-space: normal;
@@ -1346,10 +1273,6 @@ body {
13461273
grid-template-columns: 1fr;
13471274
}
13481275

1349-
.highlights-grid {
1350-
grid-template-columns: 1fr;
1351-
}
1352-
13531276
.person-card {
13541277
flex-direction: column;
13551278
text-align: center;
@@ -1359,8 +1282,4 @@ body {
13591282
width: 150px;
13601283
height: 150px;
13611284
}
1362-
1363-
.photo-grid {
1364-
grid-template-columns: 1fr;
1365-
}
13661285
}

labnews/index.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -45,21 +45,4 @@ description: "Latest news from LIM Lab (Learning, Inference & Memory), Athena Ak
4545
</div>
4646
</section>
4747

48-
<section class="news-section">
49-
<h2>Lab Highlights</h2>
50-
<div class="highlights-grid">
51-
<div class="highlight-item">
52-
<h4>Research Focus</h4>
53-
<p>Our lab investigates the fundamental principles of learning, inference, and memory using a combination of theoretical and experimental approaches.</p>
54-
</div>
55-
<div class="highlight-item">
56-
<h4>Collaborations</h4>
57-
<p>We collaborate with researchers across UCL and internationally to advance our understanding of neural computation.</p>
58-
</div>
59-
<div class="highlight-item">
60-
<h4>Training</h4>
61-
<p>We provide comprehensive training in cutting-edge neuroscience techniques and computational methods.</p>
62-
</div>
63-
</div>
64-
</section>
6548
</div>

publications/index.md

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,4 @@ description: "Publications from LIM Lab (Learning, Inference & Memory), Athena A
3939
{% endfor %}
4040
</section>
4141

42-
<section class="publications-section">
43-
<h2>Research Areas</h2>
44-
<div class="research-areas">
45-
<div class="research-area-tag">Statistical Learning</div>
46-
<div class="research-area-tag">Memory Organization</div>
47-
<div class="research-area-tag">Sensory Inference</div>
48-
<div class="research-area-tag">Neural Circuits</div>
49-
<div class="research-area-tag">Behavioral Paradigms</div>
50-
<div class="research-area-tag">Computational Models</div>
51-
</div>
52-
</section>
53-
</div>
42+
</div>

research/index.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,4 @@ description: "Research at LIM Lab (Learning, Inference & Memory), Athena Akrami'
8383
</div>
8484
</section>
8585

86-
<section class="research-section">
87-
<h2>Research Photos</h2>
88-
<div class="research-photos">
89-
<p class="photo-placeholder">Research photos will be added here as they become available.</p>
90-
</div>
91-
</section>
9286
</div>

0 commit comments

Comments
 (0)