Skip to content

Commit c556e17

Browse files
committed
update gallery md
1 parent 612b37e commit c556e17

2 files changed

Lines changed: 44 additions & 80 deletions

File tree

gallery.md

Lines changed: 1 addition & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -6,57 +6,7 @@ permalink: /gallery/
66

77
Photographs from the Bioinformatics Technologies Lab over the years, including lab gatherings, conferences, workshops, and other memorable moments.
88

9-
<style>
10-
11-
.gallery-section {
12-
margin: 2.5rem 0;
13-
}
14-
15-
.gallery-section h2 {
16-
margin-bottom: 1.2rem;
17-
}
18-
19-
.gallery {
20-
display: grid;
21-
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
22-
gap: 1.8rem;
23-
}
24-
25-
.gallery figure {
26-
margin: 0;
27-
}
28-
29-
.gallery figure img {
30-
width: 100%;
31-
display: block;
32-
border: 1px solid #dddddd;
33-
border-radius: 6px;
34-
transition: transform 0.2s ease;
35-
}
36-
37-
.gallery figure img:hover {
38-
transform: scale(1.02);
39-
}
40-
41-
.gallery figcaption {
42-
margin-top: 0.5rem;
43-
text-align: center;
44-
font-size: 0.9em;
45-
color: #666;
46-
}
47-
48-
article.article--page {
49-
display: block;
50-
width: 100%;
51-
float: none;
52-
clear: both;
53-
}
54-
55-
.gallery-section {
56-
display: flow-root;
57-
}
58-
59-
</style>
9+
6010

6111
<div class="gallery-section">
6212

gallery.old

Lines changed: 43 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,66 @@
11
---
2-
title: Gallery
32
layout: page
3+
title: Gallery
44
permalink: /gallery/
55
---
66

7-
# Lab Gallery
8-
97
Photographs from the Bioinformatics Technologies Lab over the years, including lab gatherings, conferences, workshops, and other memorable moments.
108

119
<style>
1210

13-
.gallery-section{
14-
margin-top:2.5em;
11+
.gallery-section {
12+
margin: 2.5rem 0;
13+
}
14+
15+
.gallery-section h2 {
16+
margin-bottom: 1.2rem;
17+
}
18+
19+
.gallery {
20+
display: grid;
21+
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
22+
gap: 1.8rem;
23+
}
24+
25+
.gallery figure {
26+
margin: 0;
1527
}
1628

17-
.gallery{
18-
display:grid;
19-
grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
20-
gap:28px;
29+
.gallery figure img {
30+
width: 100%;
31+
display: block;
32+
border: 1px solid #dddddd;
33+
border-radius: 6px;
34+
transition: transform 0.2s ease;
2135
}
2236

23-
.gallery figure{
24-
margin:0;
37+
.gallery figure img:hover {
38+
transform: scale(1.02);
2539
}
2640

27-
.gallery img{
28-
width:100%;
29-
border-radius:6px;
30-
box-shadow:0 3px 10px rgba(0,0,0,.15);
31-
transition:transform .2s ease;
41+
.gallery figcaption {
42+
margin-top: 0.5rem;
43+
text-align: center;
44+
font-size: 0.9em;
45+
color: #666;
3246
}
3347

34-
.gallery img:hover{
35-
transform:scale(1.02);
48+
article.article--page {
49+
display: block;
50+
width: 100%;
51+
float: none;
52+
clear: both;
3653
}
3754

38-
.gallery figcaption{
39-
text-align:center;
40-
font-size:0.9em;
41-
margin-top:8px;
42-
color:#555;
55+
.gallery-section {
56+
display: flow-root;
4357
}
4458

4559
</style>
4660

4761
<div class="gallery-section">
4862

49-
## Lab Group & Social Events
63+
<h2>Lab Group &amp; Social Events</h2>
5064

5165
<div class="gallery">
5266

@@ -59,7 +73,7 @@ Photographs from the Bioinformatics Technologies Lab over the years, including l
5973

6074
<figure>
6175
<a href="/assets/gallery/2019-lab-group-fall.jpg">
62-
<img src="/assets/gallery/2019-lab-group-fall.jpg" alt="Lab Group 2020">
76+
<img src="/assets/gallery/2019-lab-group-fall.jpg" alt="Lab Group 2019">
6377
</a>
6478
<figcaption>Lab Group &bull; October 2019</figcaption>
6579
</figure>
@@ -73,14 +87,14 @@ Photographs from the Bioinformatics Technologies Lab over the years, including l
7387

7488
<figure>
7589
<a href="/assets/gallery/2022-lab-social1.jpg">
76-
<img src="/assets/gallery/2022-lab-social1.jpg" alt="Lab Social 2022">
90+
<img src="/assets/gallery/2022-lab-social1.jpg" alt="Lab Social">
7791
</a>
7892
<figcaption>Lab Social &bull; January 2022</figcaption>
7993
</figure>
8094

8195
<figure>
8296
<a href="/assets/gallery/2022-lab-social2.jpg">
83-
<img src="/assets/gallery/2022-lab-social2.jpg" alt="Lab Social 2022">
97+
<img src="/assets/gallery/2022-lab-social2.jpg" alt="Lab Social">
8498
</a>
8599
<figcaption>Lab Social &bull; September 2022</figcaption>
86100
</figure>
@@ -119,7 +133,7 @@ Photographs from the Bioinformatics Technologies Lab over the years, including l
119133

120134
<div class="gallery-section">
121135

122-
## Conferences & Workshops
136+
<h2>Conferences &amp; Workshops</h2>
123137

124138
<div class="gallery">
125139

@@ -174,7 +188,7 @@ Photographs from the Bioinformatics Technologies Lab over the years, including l
174188

175189
<figure>
176190
<a href="/assets/gallery/2015-ISMBhitseq-dublin.jpg">
177-
<img src="/assets/gallery/2015-ISMBhitseq-dublin.jpg" alt="ISMB HiTSeq Workshop">
191+
<img src="/assets/gallery/2015-ISMBhitseq-dublin.jpg" alt="HiTSeq Workshop">
178192
</a>
179193
<figcaption>HiTSeq Workshop &bull; ISMB 2015, Dublin</figcaption>
180194
</figure>

0 commit comments

Comments
 (0)