Skip to content

Commit c40b035

Browse files
committed
Update gallery.md
1 parent 1bf5277 commit c40b035

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

gallery.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,20 @@ Photographs from the Bioinformatics Technologies Lab over the years, including l
1616
margin-bottom: 1.2rem;
1717
}
1818

19-
.gallery-page {
20-
width: 100vw;
21-
margin-left: calc(50% - 50vw);
19+
.gallery-section {
20+
width: 100%;
21+
max-width: none;
2222
}
2323

2424
.gallery {
2525
display: grid;
26-
grid-template-columns: 1fr;
26+
grid-template-columns: repeat(2, minmax(0, 1fr));
2727
gap: 1.5rem;
2828
}
2929

30-
@media (min-width: 900px) {
30+
@media (max-width: 800px) {
3131
.gallery {
32-
grid-template-columns: repeat(2, 1fr);
32+
grid-template-columns: 1fr;
3333
}
3434
}
3535

@@ -61,6 +61,9 @@ article.article--page {
6161
display: flow-root;
6262
}
6363

64+
.container {
65+
max-width: 1300px;
66+
}
6467

6568
</style>
6669

0 commit comments

Comments
 (0)