Skip to content

Commit 80cb35b

Browse files
committed
updated and cleaned up the papers logic
1 parent 59cf136 commit 80cb35b

2 files changed

Lines changed: 16 additions & 1 deletion

File tree

_includes/papers.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
{% endif %}
1010

1111
{% assign title = paper.title | strip %}
12-
{{ title }}{% unless title | slice: -1 == '.' %}.{% endunless %} <em>{{ paper.venue }}</em>, {{ paper.year }}.
12+
{% assign title_last = title | slice: -1 %}
13+
{{ title }}{% unless title_last == '.' or title_last == '?' or title_last == '!' %}.{% endunless %} <em>{{ paper.venue }}</em>, {{ paper.year }}.
1314

1415
{% assign links_count = paper.links | size %}
1516
{% if links_count > 0 %} <sub><strong>

assets/main.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -969,6 +969,20 @@ animation: fadeUp 0.6s ease forwards;
969969
font-size: 1.6rem;
970970
text-align: left;
971971
font-weight: 500;
972+
line-height: 1.45;
973+
margin: 0 0 0.85rem;
974+
}
975+
.page-content .paper-item:last-child {
976+
margin-bottom: 0;
977+
}
978+
.page-content .paper-item sub {
979+
position: static;
980+
bottom: auto;
981+
vertical-align: baseline;
982+
line-height: 1;
983+
}
984+
.page-content .paper-item code {
985+
line-height: 1;
972986
}
973987
@keyframes fadeUp {
974988
to {

0 commit comments

Comments
 (0)