Skip to content

Commit 486c108

Browse files
authored
Update archive-single.html
1 parent 8f002c9 commit 486c108

File tree

1 file changed

+17
-7
lines changed

1 file changed

+17
-7
lines changed

_includes/archive-single.html

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,28 +23,40 @@
2323
margin-left:auto;
2424
margin-bottom:0em;
2525
}
26+
2627
.paperimage {
2728
padding-right:2.5%;
28-
width:30%;
29-
max-width:20%;
3029
border:none;
30+
/* make image column a bit wider */
31+
width:50%;
32+
max-width:280px;
33+
vertical-align:top;
3134
}
35+
3236
.papertext {
3337
width:80%;
3438
vertical-align:middle;
3539
border:none;
3640
padding-bottom:0%;
3741
}
3842

39-
/* ==== NEW: venue banner on image ==== */
43+
/* ==== image card + banner ==== */
4044
.venue-wrapper {
4145
position: relative;
4246
display: inline-block;
47+
border-radius: 6px;
48+
overflow: hidden; /* clip banner + image corners */
49+
box-shadow: 0 6px 16px rgba(0,0,0,0.18); /* shadow effect */
50+
background: #fff;
4351
}
52+
4453
.venue-wrapper img {
4554
display: block;
46-
width: 100%;
55+
width: 260px; /* control thumbnail size here */
56+
max-width: 100%;
57+
height: auto;
4758
}
59+
4860
.venue-banner {
4961
position: absolute;
5062
top: 0;
@@ -62,7 +74,6 @@
6274

6375
<div class="{{ include.type | default: "list" }}__item">
6476
<article>
65-
<!-- paper table -->
6677
<table class="papertable">
6778
<tr style="padding:0px">
6879
<td class="paperimage">
@@ -76,8 +87,7 @@
7687
<td class="papertext">
7788
<h2>{{ title }}</h2>
7889
<p>{{ post.authors }}</p>
79-
<p>{{ post.venue }}</p> {# delete this line if you don't want venue twice #}
80-
90+
<p><!-- TL;DR: --> {{ post.tldr }}</p>
8191
{% if post.paperurl and post.codeurl and post.arxivurl and post.biburl %}
8292
<p><a href="{{ post.paperurl }}">[Paper]</a> |
8393
<a href="{{ post.codeurl }}">[Code]</a> |

0 commit comments

Comments
 (0)