Skip to content

Commit 322237f

Browse files
authored
Update archive-single.html
1 parent 460b1f5 commit 322237f

File tree

1 file changed

+28
-11
lines changed

1 file changed

+28
-11
lines changed

_includes/archive-single.html

Lines changed: 28 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,36 +14,40 @@
1414

1515
<head>
1616
<style>
17-
/* Layout for one publication row */
17+
/* === Card for one publication === */
1818
.paper-row {
1919
display: flex;
20-
align-items: center; /* vertically center image & text */
21-
gap: 2.4rem; /* <— space between image and text */
22-
margin-bottom: 1.5rem; /* space between entries */
20+
align-items: center;
21+
gap: 2.8rem; /* space between image & text */
22+
padding: 1.6rem 1.8rem; /* makes the whole box larger */
23+
margin-bottom: 1.8rem; /* space between entries */
24+
border-radius: 12px;
25+
background: #ffffff;
26+
box-shadow: 0 10px 30px rgba(0,0,0,0.08);
2327
}
2428

2529
.paperimage {
26-
flex: 0 0 40%; /* image column width */
27-
max-width: 380px;
30+
flex: 0 0 45%; /* image column gets ~45% width */
31+
max-width: 440px; /* increase max width -> larger image */
2832
}
2933

3034
.papertext {
31-
flex: 1 1 auto; /* text takes remaining width */
35+
flex: 1 1 auto; /* text takes the remaining width */
3236
}
3337

3438
/* ==== image card + banner ==== */
3539
.venue-wrapper {
3640
position: relative;
3741
display: block;
38-
border-radius: 6px;
39-
overflow: hidden;
40-
box-shadow: 0 6px 16px rgba(0,0,0,0.18);
42+
border-radius: 8px;
43+
overflow: hidden; /* round corners of image + banner */
4144
background: #fff;
45+
/* shadow now on whole box, so no extra here */
4246
}
4347

4448
.venue-wrapper img {
4549
display: block;
46-
width: 100%; /* fill the image column */
50+
width: 100%; /* fill image column */
4751
height: auto;
4852
}
4953

@@ -59,6 +63,19 @@
5963
border-bottom-right-radius: 10px;
6064
z-index: 2;
6165
}
66+
67+
/* Optional: nicer stacking on narrow screens */
68+
@media (max-width: 768px) {
69+
.paper-row {
70+
flex-direction: column;
71+
align-items: flex-start;
72+
}
73+
.paperimage {
74+
flex: 0 0 auto;
75+
max-width: 100%;
76+
width: 100%;
77+
}
78+
}
6279
</style>
6380
</head>
6481

0 commit comments

Comments
 (0)