Skip to content

Commit 7ee304a

Browse files
committed
troubleshooting
1 parent 7b4d822 commit 7ee304a

2 files changed

Lines changed: 56 additions & 56 deletions

File tree

gallery.md

Lines changed: 51 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,61 @@
22
layout: page
33
title: Gallery
44
permalink: /gallery/
5-
body_class: gallery-page
65
---
76

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

10-
<div class="gallery-page">
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>
1160

1261
<div class="gallery-section">
1362

@@ -148,6 +197,3 @@ Photographs from the Bioinformatics Technologies Lab over the years, including l
148197

149198
</div>
150199

151-
</div>
152-
153-
<br>

gallery.old renamed to gallery.worksbasic

Lines changed: 5 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -2,61 +2,12 @@
22
layout: page
33
title: Gallery
44
permalink: /gallery/
5+
body_class: gallery-page
56
---
67

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

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>
10+
<div class="gallery-page">
6011

6112
<div class="gallery-section">
6213

@@ -197,3 +148,6 @@ article.article--page {
197148

198149
</div>
199150

151+
</div>
152+
153+
<br>

0 commit comments

Comments
 (0)