Commit 5a3fe900 authored by Tobias Bengfort's avatar Tobias Bengfort
Browse files

invert team card header

parent 8fe9522e
......@@ -6,21 +6,21 @@
<ul class="tiles tiles-big mt-2 mb-3">
{{ range .Pages }}
<li class="card bg-body">
<h2 class="card-header">{{ .Params.name }} <small class="pronoun">{{ .Params.pronoun }}</small></h2>
<h2 class="card-header bg-inverse">{{ .Params.name }} <small class="pronoun">{{ .Params.pronoun }}</small></h2>
<div class="top-right">
{{ if isset .Params "link" }}
<a href="{{ .Params.link }}" class="icon-link">
<picture>
<source srcset="{{ "/gfx/webdark.svg" | relURL }}" media="(prefers-color-scheme: dark)">
<img src="{{ "/gfx/weblight.svg" | relURL }}" alt="website">
<source srcset="{{ "/gfx/weblight.svg" | relURL }}" media="(prefers-color-scheme: dark)">
<img src="{{ "/gfx/webdark.svg" | relURL }}" alt="website">
</picture>
</a>
{{ end }}
{{ if isset .Params "twitter" }}
<a href="{{ .Params.twitter }}" class="icon-link">
<picture>
<source srcset="{{ "/gfx/twitterdark.svg" | relURL }}" media="(prefers-color-scheme: dark)">
<img src="{{ "/gfx/twitterlight.svg" | relURL }}" alt="twitter">
<source srcset="{{ "/gfx/twitterlight.svg" | relURL }}" media="(prefers-color-scheme: dark)">
<img src="{{ "/gfx/twitterdark.svg" | relURL }}" alt="twitter">
</picture>
</a>
{{ end }}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment