Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert about and contacts pages #86

Merged
merged 3 commits into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions content/about/contacts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
title: "Contacts"
date: 2024-09-30T15:00:00+02:00
draft: false
tags:
- about
---

_IVOA Executive Committee_
- **IVOA Chair**: [Simon O'Toole](mailto:[email protected])
- **Deputy Chair**: [JJ Kavelaars](mailto:[email protected])
- *Secretary*: [Marcy Harbut](mailto:[email protected])

Contacts for the [_IVOA Member Organizations_](../member-contacts)

_IVOA Technical Coordination Group (TCG)_
- **TCG Chair**: [Marco Molinaro](mailto:[email protected])
- **TCG Deputy**: [Tom Donaldson](mailto:[email protected])

Contacts for the [_IVOA Working Groups_](../../members/working-groups)

_IVOA Document Coordinator_: [Giulia Iafrate](mailto:[email protected])
3 changes: 3 additions & 0 deletions layouts/shortcodes/floating.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<div class="{{ if .Get 0 }}floating {{ .Get 0 }}{{ else }}floating{{ end }}">
{{ .Inner | markdownify }}
</div>
12 changes: 12 additions & 0 deletions layouts/shortcodes/side-image.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<section class="with-image {{ .Get "position" }}">
<aside>
{{- if (.Get "thumbnail") }}
<a href="{{ .Get "image" }}"><img src="{{- .Get "thumbnail" }}" /></a>
{{- else }}
<img src="{{- .Get "image" }}" />
{{- end }}
</aside>
<main>
{{- .Inner | markdownify }}
</main>
</section>
44 changes: 43 additions & 1 deletion static/css/ivoa.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ body {

h1, h2, h3 {
color: #012647;
clear: both;
}

body > main > article > header > h1 {
Expand Down Expand Up @@ -244,6 +245,31 @@ section > main + aside { margin-left: 1em }
}


/* =============================================================================
SECTION WITH A SIDE IMAGE
*/

.with-image {
display : grid;
grid-template-columns: auto 1fr;
grid-template-areas : "image content";
column-gap: 1em;
}

.with-image.right {
grid-template-columns: 1fr auto;
grid-template-areas : "content image";
}

.with-image > aside {
grid-area : image;
margin-top: 1em;
}

.with-image > aside > img { max-width: 30vw }
.with-image > main { grid-area: content }


/* =============================================================================
CARROUSEL
*/
Expand Down Expand Up @@ -404,4 +430,20 @@ section > main.carrousel {
.sitemap .card { border: none }
.sitemap .card:nth-child(1) > .card-title { border-bottom-color: #5dbbf5 }
.sitemap .card:nth-child(2) > .card-title { border-bottom-color: #399110 }
.sitemap .card:nth-child(3) > .card-title { border-bottom-color: #aa3f3f }
.sitemap .card:nth-child(3) > .card-title { border-bottom-color: #aa3f3f }


/* =============================================================================
FLOATING
*/

.floating {
margin: 1em;
margin-top: 0;
}
.floating.left { float: left ; margin-left: 0; }
.floating.right { float: right; margin-right: 0; }

.floating > img {
max-width: 30vw;
}
Loading