Skip to content

Commit 06daf06

Browse files
committed
style consistency
1 parent b7a7a5f commit 06daf06

File tree

7 files changed

+224
-6309
lines changed

7 files changed

+224
-6309
lines changed

_includes/header.html

Lines changed: 54 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,59 @@
11
<section class="hero">
22
<div class="hero-body">
3-
<div class="container is-max-desktop">
4-
<div class="columns is-centered">
5-
<div class="column has-text-centered">
6-
<h1 class="title is-1 publication-title">{{ page.title }}</h1>
7-
<h3 class="title is-3 publication-title">{{ page.venue }}</h3>
8-
<div class="is-size-5 publication-authors">
9-
{% for author_id in page.authors %}
10-
{% if site.data.authors_external[author_id.name] != nil %}
11-
{% assign author = site.data.authors_external[author_id.name] %}
12-
{% endif %}
13-
{% if site.data.authors_internal[author_id.name] != nil %}
14-
{% assign author = site.data.authors_internal[author_id.name] %}
15-
{% endif %}
16-
<span class="author-block">
17-
<a href="{{author.website}}" target="_blank">{{ author.first_name }} {{ author.middle_name }} {{ author.last_name }}</a><sup>{% if author_id.equal_contribution != nil %}*{% endif %}{{ author_id.affiliations }}</sup>
18-
</span>
19-
{% endfor %}
3+
<div class="container is-max-desktop">
4+
<div class="columns is-centered">
5+
<div class="column has-text-centered">
6+
<h1 class="title is-1 publication-title">{{ page.title }}</h1>
7+
<div class="is-size-4 publication-authors"><span class="author-block">{{ page.venue }}</span></div>
8+
<div class="is-size-5 publication-authors">
9+
<div tyle="justify-content: space-between;">
10+
{% for author_id in page.authors %}
11+
{% if site.data.authors_external[author_id.name] != nil %}
12+
{% assign author = site.data.authors_external[author_id.name] %}
13+
{% endif %}
14+
{% if site.data.authors_internal[author_id.name] != nil %}
15+
{% assign author = site.data.authors_internal[author_id.name] %}
16+
{% endif %}
17+
<span class="author-block">
18+
<a href="{{author.website}}" target="_blank">{{ author.first_name }} {{
19+
author.middle_name }} {{ author.last_name }}</a><sup>{% if
20+
author_id.equal_contribution != nil %}*{% endif %}{{ author_id.affiliations }}</sup>
21+
</span>
22+
{% endfor %}
23+
</div>
24+
<div class="is-size-5 publication-affiliations">
25+
{% assign i = 1 %}
26+
{% for aff_id in page.affiliations %}
27+
{% assign affiliation = site.data.affiliations[aff_id.name] %}
28+
<span class="affiliation-block">
29+
<sup>{{i}}</sup>{{affiliation[aff_id.length]}}
30+
</span>
31+
{% assign i = i|plus:1 %}
32+
{% endfor %}
33+
</div>
34+
<div class="column has-text-centered">
35+
<div class="publication-links">
36+
{% for link in page.links %}
37+
{% if link.name != "Project Page" %}
38+
<span class="link-block">
39+
<a href="{{ link.link }}" target="_blank"
40+
class="external_link button is-normal is-rounded is-dark">
41+
<span class="icon">
42+
{% if link.style != nil %}
43+
<i class="{{link.style}}"></i>
44+
{% else %}
45+
<i class="fas fa-external-link-alt"></i>
46+
{% endif %}
47+
</span>
48+
<span>{{link.name}}</span>
49+
</a>
50+
</span>
51+
{% endif %}
52+
{% endfor %}
53+
</div>
54+
</div>
55+
</div>
2056
</div>
21-
<div class="is-size-5 publication-affiliations">
22-
{% assign i = 1 %}
23-
{% for aff_id in page.affiliations %}
24-
{% assign affiliation = site.data.affiliations[aff_id.name] %}
25-
<span class="affiliation-block">
26-
<sup>{{i}}</sup>{{affiliation[aff_id.length]}}
27-
</span>
28-
{% assign i = i|plus:1 %}
29-
{% endfor %}
30-
</div>
31-
<div class="column has-text-centered">
32-
<div class="publication-links">
33-
{% for link in page.links %}
34-
{% if link.name != "Project Page" %}
35-
<span class="link-block">
36-
<a href="{{ link.link }}" target="_blank" class="external_link button is-normal is-rounded is-dark">
37-
<span class="icon">
38-
{% if link.style != nil %}
39-
<i class="{{link.style}}"></i>
40-
{% else %}
41-
<i class="fas fa-external-link-alt"></i>
42-
{% endif %}
43-
</span>
44-
<span>{{link.name}}</span>
45-
</a>
46-
</span>
47-
{% endif %}
48-
{% endfor %}
49-
</div>
50-
</div>
51-
</div>
5257
</div>
53-
</div>
5458
</div>
55-
</section>
59+
</section>

_layouts/publications.html

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,31 +4,35 @@
44
<head>
55
<meta charset="utf-8">
66
<meta name="viewport" content="width=device-width, initial-scale=1">
7+
8+
<!-- title and page icon -->
79
<title>{{ page.title }}</title>
10+
{% if page.icon %}
11+
<link rel="icon" type="image/x-icon" href="{{ page.icon }}">
12+
{% else %}
13+
<link rel="icon" type="image/x-icon" href="/assets/favicon.ico">
14+
{% endif %}
15+
<link href="https://fonts.googleapis.com/css?family=Google+Sans|Noto+Sans|Castoro" rel="stylesheet">
16+
17+
<!-- icons for buttons -->
818
<link rel="stylesheet" href="/assets/css/style.css">
919
<link rel="stylesheet" href="/assets/css/bulma.min.css">
1020
<link rel="stylesheet" href="/assets/css/bulma-carousel.min.css">
1121
<link rel="stylesheet" href="/assets/css/bulma-slider.min.css">
12-
<link rel="stylesheet" href="/assets/css/fontawesome.all.min.css">
13-
<link rel="stylesheet" href="/assets://cdn.jsdelivr.net/gh/jpswalsh/academicons@1/css/academicons.min.css">
22+
<!-- <link rel="stylesheet" href="/assets/css/fontawesome.all.min.css"> -->
23+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/jpswalsh/academicons@1/css/academicons.min.css">
1424
<link rel="stylesheet" href="/assets/css/slider-component.css">
1525
<link rel="stylesheet" href="/assets/css/index.css">
16-
<link rel="stylesheet" type="text/css" href="stylesheet.css">
17-
<link
18-
href="https://fonts.googleapis.com/css2?family=Google+Sans:wght@700&family=Noto+Sans:wght@400;500;600;700&display=swap"
19-
rel="stylesheet">
20-
<link href="{{ '/assets/css/fontawesome.all.min.css' | relative_url }}" rel="stylesheet">
21-
<link href="https://cdn.jsdelivr.net/gh/jpswalsh/academicons@1/css/academicons.min.css" rel="stylesheet">
22-
<link href="{{ '/assets/css/index.css' | relative_url }}" rel="stylesheet">
23-
24-
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
26+
<link rel="stylesheet" href="/assets/css/stylesheet.css">
27+
28+
<!-- <link href="{{ '/assets/css/fontawesome.all.min.css' | relative_url }}" rel="stylesheet">
29+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5/css/all.min.css">
30+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/jpswalsh/academicons@1/css/academicons.min.css">
31+
<link href="{{ '/assets/css/index.css' | relative_url }}" rel="stylesheet"> -->
32+
33+
<!-- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
2534
<script defer src="{{ '/js/fontawesome.all.min.js' | relative_url }}"></script>
26-
<script src="{{ '/js/index.js' | relative_url }}"></script>
27-
{% if page.icon %}
28-
<link rel="icon" type="image/x-icon" href="{{ page.icon }}">
29-
{% else %}
30-
<link rel="icon" type="image/x-icon" href="/assets/favicon.ico">
31-
{% endif %}
35+
<script src="{{ '/js/index.js' | relative_url }}"></script> -->
3236
</head>
3337

3438
<body>

0 commit comments

Comments
 (0)