Skip to content

Commit 105b619

Browse files
authored
Update archive-single.html
1 parent 12f1ced commit 105b619

File tree

1 file changed

+20
-19
lines changed

1 file changed

+20
-19
lines changed

_includes/archive-single.html

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -15,44 +15,45 @@
1515
<head>
1616
<style>
1717
.papertable {
18-
width:180%;
18+
width:100%;
1919
border:none;
20-
border-spacing:0px;
21-
border-collapse:separate;
22-
margin-right:auto;
23-
margin-left:auto;
24-
margin-bottom:0em;
20+
border-spacing:0;
21+
border-collapse:collapse;
22+
margin:0 auto 0.75rem auto;
23+
}
24+
25+
.papertable td {
26+
padding:0; /* kill default cell padding */
2527
}
2628

2729
.paperimage {
28-
padding-right:2.5%;
30+
padding-right:1.5rem;
2931
border:none;
30-
/* make image column a bit wider */
31-
width:45%;
32-
max-width:45%;
33-
vertical-align:top;
32+
width:30%; /* smaller image column */
33+
max-width:260px;
34+
vertical-align:middle;
3435
}
3536

3637
.papertext {
37-
width:50%;
38-
vertical-align:middle;
38+
width:70%;
39+
vertical-align:middle; /* center text vs image */
3940
border:none;
40-
padding-bottom:0%;
41+
padding-bottom:0;
4142
}
4243

4344
/* ==== image card + banner ==== */
4445
.venue-wrapper {
4546
position: relative;
4647
display: inline-block;
4748
border-radius: 6px;
48-
overflow: hidden; /* clip banner + image corners */
49-
box-shadow: 0 6px 16px rgba(0,0,0,0.18); /* shadow effect */
49+
overflow: hidden;
50+
box-shadow: 0 6px 16px rgba(0,0,0,0.18);
5051
background: #fff;
5152
}
5253

5354
.venue-wrapper img {
5455
display: block;
55-
width: 260px; /* control thumbnail size here */
56+
width: 260px;
5657
max-width: 100%;
5758
height: auto;
5859
}
@@ -62,7 +63,7 @@
6263
top: 0;
6364
left: 0;
6465
padding: 4px 12px;
65-
background: #0047ab; /* banner color */
66+
background: #0047ab;
6667
color: #ffffff;
6768
font-size: 0.8rem;
6869
font-weight: 600;
@@ -75,7 +76,7 @@
7576
<div class="{{ include.type | default: "list" }}__item">
7677
<article>
7778
<table class="papertable">
78-
<tr style="padding:0px">
79+
<tr>
7980
<td class="paperimage">
8081
<div class="venue-wrapper">
8182
{% if post.venue %}

0 commit comments

Comments
 (0)