Skip to content

Commit 063ef82

Browse files
authored
styling updates (#4)
* style: remove footer * feat: add gh button and update links
1 parent 5ddade7 commit 063ef82

7 files changed

Lines changed: 89 additions & 3 deletions

File tree

_config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@ title: Workshop on AI-supported Research Software Engineering
22
description: >-
33
A workshop on AI-supported Research Software Engineering (RSE) —
44
organization, tools, and best practices.
5-
url: "https://iulusoy.github.io"
5+
url: "https://de-rse.github.io"
66
baseurl: "/workshop-AI-supported-RSE-Sept26"
77

88
theme: minima
9+
github_repo_url: "https://github.com/DE-RSE/workshop-AI-supported-RSE-Sept26"
910

1011
# Navigation pages
1112
header_pages:

_includes/footer.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<footer class="site-footer">
2+
<div class="wrapper footer-content">
3+
{%- if site.github_repo_url -%}
4+
<a class="github-button" href="{{ site.github_repo_url }}" target="_blank" rel="noopener noreferrer" aria-label="GitHub repository">
5+
<svg viewBox="0 0 16 16" width="16" height="16" aria-hidden="true" focusable="false">
6+
<path fill="currentColor" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.5-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82a7.56 7.56 0 0 1 4 0c1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8"/>
7+
</svg>
8+
<span>GitHub</span>
9+
</a>
10+
{%- endif -%}
11+
</div>
12+
</footer>

_includes/header.html

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<header class="site-header" role="banner">
2+
<div class="wrapper">
3+
{%- assign default_paths = site.pages | map: "path" -%}
4+
{%- assign page_paths = site.header_pages | default: default_paths -%}
5+
6+
<a class="site-title" rel="author" href="{{ "/" | relative_url }}">{{ site.title | escape }}</a>
7+
8+
{%- if page_paths -%}
9+
<nav class="site-nav">
10+
<input type="checkbox" id="nav-trigger" class="nav-trigger" />
11+
<label for="nav-trigger">
12+
<span class="menu-icon">
13+
<svg viewBox="0 0 18 15" width="18px" height="15px" aria-hidden="true">
14+
<path d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.032C17.335,0,18,0.665,18,1.484L18,1.484z M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.032C17.335,6.031,18,6.696,18,7.516L18,7.516z M18,13.516C18,14.335,17.335,15,16.516,15H1.484 C0.665,15,0,14.335,0,13.516l0,0c0-0.82,0.665-1.483,1.484-1.483h15.032C17.335,12.031,18,12.695,18,13.516L18,13.516z"/>
15+
</svg>
16+
</span>
17+
</label>
18+
19+
<div class="trigger">
20+
{%- for path in page_paths -%}
21+
{%- assign my_page = site.pages | where: "path", path | first -%}
22+
{%- if my_page.title -%}
23+
<a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
24+
{%- endif -%}
25+
{%- endfor -%}
26+
27+
</div>
28+
</nav>
29+
{%- endif -%}
30+
</div>
31+
</header>

assets/main.scss

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
---
3+
4+
@import "minima";
5+
6+
.github-button {
7+
display: inline-flex;
8+
align-items: center;
9+
gap: 0.4rem;
10+
padding: 0.35rem 0.7rem;
11+
border: 1px solid #24292f;
12+
border-radius: 999px;
13+
background: #24292f;
14+
color: #ffffff;
15+
font-size: 0.9rem;
16+
font-weight: 600;
17+
line-height: 1;
18+
text-decoration: none;
19+
}
20+
21+
.footer-content {
22+
display: flex;
23+
justify-content: center;
24+
}
25+
26+
.github-button:visited {
27+
color: #ffffff;
28+
}
29+
30+
.github-button:hover,
31+
.github-button:focus {
32+
background: #32383f;
33+
border-color: #32383f;
34+
text-decoration: none;
35+
}
36+
37+
@media screen and (max-width: 600px) {
38+
.github-button {
39+
font-size: 0.85rem;
40+
padding: 0.35rem 0.6rem;
41+
}
42+
}

favicon.ico

71 Bytes
Binary file not shown.

registration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ This workshop is aimed at:
2323

2424
## Contact
2525

26-
For questions about registration or the workshop in general, please open an issue in the [GitHub repository](https://github.com/iulusoy/workshop-AI-supported-RSE-Sept26).
26+
For questions about registration or the workshop in general, please open an issue in the [GitHub repository](https://github.com/DE-RSE/workshop-AI-supported-RSE-Sept26/issues).

speakers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ nav_order: 3
99

1010
*Speaker details will be announced closer to the event.*
1111

12-
We are pleased to invite contributions from researchers and practitioners in the field of Research Software Engineering and AI-assisted development. If you are interested in presenting, please please open an issue in the [GitHub repository](https://github.com/iulusoy/workshop-AI-supported-RSE-Sept26).
12+
We are pleased to invite contributions from researchers and practitioners in the field of Research Software Engineering and AI-assisted development. If you are interested in presenting, please open an issue in the [GitHub repository](https://github.com/DE-RSE/workshop-AI-supported-RSE-Sept26/issues).
1313

1414
## Confirmed Speakers
1515

0 commit comments

Comments
 (0)