Skip to content

Commit 411d6a7

Browse files
authored
Merge pull request #44 from supernord/edits
Update tiles for activities and join conversation
2 parents 7f202bb + 5b5abd8 commit 411d6a7

14 files changed

Lines changed: 156 additions & 37 deletions

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ defaults:
3838

3939
theme_variables:
4040
# git_host: GitHub
41-
# back_to_top: true
41+
back_to_top: true
4242
# privacy_statement_url: /privacy
4343
# github_buttons:
4444
# position: top

_includes/section-navigation-tiles_mod.html

Lines changed: 28 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,17 @@
1010
<div class="page-tiles-list">
1111
{%- for page in pages_to_add_as_tiles -%}
1212
{%- if page.type == include.type %}
13-
<a href="{{ page.url | relative_url }}" class="page-tile-link">
14-
<div class="page-tile-item">
13+
<a href="{{ page.url | relative_url }}" class="page-tile-link">
14+
<div class="page-tile-item page-tile-item-{{ page.roadmap_category | default: none }}">
1515
<div class="page-tile-content">
1616
<h3 class="page-tile-title" style="margin-top: 0.0rem">{{ page.title }}</h3>
1717
{% if page.description %}
1818
<p class="page-tile-description">{{ page.description }}</p>
1919
{% endif %}
20-
{% if page.roadmap %}
21-
<p class="page-tile-roadmap">{{ page.roadmap }}</p>
22-
{% endif %}
2320
</div>
2421
</div>
25-
</a>
26-
{%- endif %}
22+
</a>
23+
{% endif %}
2724
{%- endfor -%}
2825
</div>
2926
</div>
@@ -44,34 +41,43 @@ <h3 class="page-tile-title" style="margin-top: 0.0rem">{{ page.title }}</h3>
4441
}
4542

4643
.page-tile-item {
47-
border: 1px solid #e0e0e0;
4844
border-radius: 12px;
4945
padding: 25px;
5046
transition: all 0.3s ease;
51-
background: #012152;
47+
background: #9c9c9c;
5248
width: 100%;
5349
display: flex;
5450
flex-direction: column;
5551
justify-content: space-between;
52+
border: 1px solid #ffffff;
5653
}
5754

58-
.page-tile-item:hover {
59-
transform: translateY(-4px);
60-
box-shadow: 0 8px 25px rgba(0,0,0,0.1);
61-
border-color: #012152;
55+
.page-tile-item-none {
56+
background: #9c9c9c;
57+
}
58+
59+
.page-tile-item-D1 {
60+
background: #a4c2f4ff;
61+
}
62+
63+
.page-tile-item-D2 {
64+
background: #6d9eebff;
65+
}
66+
67+
.page-tile-item-D3 {
68+
background: #1155ccff;
6269
}
6370

64-
.page-tile-roadmap {
65-
display: inline-block;
66-
font-size: 0.7rem;
67-
font-weight: 700;
68-
padding: 4px 10px;
69-
background-color: #eef2f9;
70-
color: #012152;
71-
border-radius: 20px;
72-
margin-bottom: 6px;
71+
.page-tile-item-D4 {
72+
background: #1c4587ff;
7373
}
7474

75+
.page-tile-item:hover {
76+
transform: translateY(-4px);
77+
box-shadow: 0 8px 25px rgba(0,0,0,0.1);
78+
border: 1px solid #000000;
79+
}
80+
7581
.page-tile-title {
7682
color: #ffffff;
7783
font-size: 1.3rem;

_includes/tiles-simple.html

Lines changed: 56 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,58 @@
1-
<div class="row row-cols-1 row-cols-md-2 row-cols-lg-{{ include.col | default: 2 }} gy-2 gx-4 my-4 navigation-tiles">
2-
{%- if include.yaml %}
3-
{%- assign tiles = site.data.tiles[include.target] %}
4-
{% else %}
5-
{%- assign tiles = page[include.target] %}
6-
{%- endif %}
7-
{%- for item in tiles %}
8-
{%- if item.title %}
9-
<div class="col d-grid">
10-
<a role="button" class="btn font-size-sm py-4 fs-3" href="{{ item.url | relative_url }}">{{item.title}}</a>
1+
{%- if include.yaml %}
2+
{%- assign tiles = site.data.tiles[include.target] %}
3+
{% else %}
4+
{%- assign tiles = page[include.target] %}
5+
{%- endif %}
6+
<div class="simple-tiles">
7+
<div class="simple-tiles-container">
8+
<div class="simple-tiles-list row row-cols-1 row-cols-md-2 row-cols-lg-{{ include.col | default: 2 }} gy-2 gx-4 my-4">
9+
{%- for item in tiles %}
10+
{%- if item.title %}
11+
<a href="{{ item.url | relative_url }}" class="simple-tile-link">
12+
<div class="simple-tile-item">
13+
<div class="simple-tile-content">
14+
<p class="simple-tile-title" style="font-size: 2.0rem; text-align: center">{{ item.title }}</p>
15+
</div>
16+
</div>
17+
</a>
18+
{%- endif %}
19+
{%- endfor %}
20+
</div>
1121
</div>
12-
{%- endif %}
13-
{%- endfor %}
1422
</div>
23+
24+
25+
<style>
26+
27+
.simple-tile-link {
28+
text-decoration: none;
29+
color: inherit;
30+
display: flex;
31+
}
32+
33+
.simple-tile-item {
34+
border: 1px solid #e0e0e0;
35+
border-radius: 12px;
36+
padding: 25px;
37+
transition: all 0.3s ease;
38+
background: #1c4587ff;
39+
width: 100%;
40+
display: flex;
41+
flex-direction: column;
42+
justify-content: space-between;
43+
}
44+
45+
.simple-tile-item:hover {
46+
transform: translateY(-4px);
47+
box-shadow: 0 8px 25px rgba(0,0,0,0.1);
48+
border-color: #012152;
49+
}
50+
51+
.simple-tile-title {
52+
color: #ffffff;
53+
font-weight: 400;
54+
margin-top: 0px;
55+
margin-bottom: 0px;
56+
}
57+
58+
</style>

index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ tiles:
1313

1414
This website is a virtual meeting place and hub for all users of **computing for structural biology research in Australia**. This is a collective community effort. It can be what we make it!
1515

16-
{% include tiles-simple.html target = "tiles" col = "1" %}
16+
{% include tiles-simple.html target = "tiles" col = "2" %}
1717

1818

1919
## Upcoming Events

pages/activities.md

Lines changed: 60 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,69 @@
11
---
2-
title: Community Activities
2+
title: Community activities
33
page_id: activities
44
#type: resources
55
toc: false
66
---
77

8+
<div class="legend-item legend-item-1">
9+
<div class="legend-tile-content-1">
10+
<p class="legend-title" style="text-align: center">Roadmap deliverable 1: An Australian Structural Biology community space capable of fostering collaboration and knowledge sharing</p>
11+
</div>
12+
</div>
13+
<div class="legend-item legend-item-2">
14+
<div class="legend-tile-content-2">
15+
<p class="legend-title" style="text-align: center">Roadmap deliverable 2: A computational structural biology training program, developed in conjunction with the community</p>
16+
</div>
17+
</div>
18+
<div class="legend-item legend-item-3">
19+
<div class="legend-tile-content-3">
20+
<p class="legend-title" style="text-align: center">Roadmap deliverable 3: A shared platform, or platforms, for computational structural biology</p>
21+
</div>
22+
</div>
23+
<div class="legend-item legend-item-4">
24+
<div class="legend-tile-content-4">
25+
<p class="legend-title" style="text-align: center">Roadmap deliverable 4: Alignment, adoption and contribution to global best-practice efforts</p>
26+
</div>
27+
</div>
28+
29+
<style>
30+
31+
.legend-item {
32+
border: 1px solid #e0e0e0;
33+
border-radius: 12px;
34+
width: 90%;
35+
background: #a4c2f4ff;
36+
display: flex;
37+
flex-direction: column;
38+
justify-content: space-between;
39+
margin-bottom: 2px;
40+
margin: auto;
41+
}
42+
43+
.legend-item-1 {
44+
background: #a4c2f4ff;;
45+
}
46+
47+
.legend-item-2 {
48+
background: #6d9eebff;
49+
}
50+
51+
.legend-item-3 {
52+
background: #1155ccff;
53+
}
54+
55+
.legend-item-4 {
56+
background: #1c4587ff;
57+
}
58+
59+
.legend-title {
60+
color: #ffffff;
61+
font-size: 0.9rem;
62+
font-weight: 600;
63+
margin: 4px;
64+
}
65+
66+
</style>
867

968
## In progress
1069

pages/activities/batch_structure_prediction.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ title: Batch Structure Prediction Workflows
33
description: Developing optimized batch workflows for structure prediction.
44
type: activity_in_progress
55
roadmap: A shared platform, or platforms (Roadmap D3A)
6+
roadmap_category: D3
67
contributors: [Ziad Al-Bkhetan, Mitchell O'Brien, Joshua Storm Caley, Keiran Rowell, Cameron Hyde, Thomas Litfin]
78
toc: false
89
---

pages/activities/bindcraft_access.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ title: Community Access to BindCraft
33
description: Increasing community access to an end-to-end solution for protein binder design.
44
type: activity_in_progress
55
roadmap: A shared platform, or platforms (Roadmap D3Ac)
6+
roadmap_category: D3
67
contributors: [Ziad Al-Bkhetan, Thomas Litfin]
78
toc: false
89
---

pages/activities/infrastructure_roadmap.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ title: Infrastructure Roadmap
33
description: Draft and publish an Australian infrastructure roadmap for addressing computational challenges facing structural biology.
44
type: activity_in_progress
55
roadmap: Community co-authored document
6+
roadmap_category: none
67
toc: false
78
---
89

pages/activities/nci_data_collections.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ title: NCI Data Collection
33
description: Create a stable release of up-to-date reference data (with DOI) at the NCI.
44
type: activity_in_progress
55
roadmap: A shared platform, or platforms (Roadmap D3F)
6+
roadmap_category: D3
67
contributors: [Matthew Downton, Kisaru Liyanage, Wenjing Xue, Joshua Storm Caley, Thomas Litfin]
78
toc: false
89
---

pages/activities/nci_ood_proteinfold.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ title: OpenOnDemand GUI ProteinFold app
33
description: Create and adapt a pilot ProteinFold app for OpenOnDemand.
44
type: activity_in_progress
55
roadmap: A shared platform, or platforms (Roadmap D3Ac)
6+
roadmap_category: D3
67
contributors: [Matthew Downton, Kisaru Liyanage, Wenjing Xue, Joshua Storm Caley, Keiran Rowell, Thomas Litfin]
78
toc: false
89
---

0 commit comments

Comments
 (0)