Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
purpleSloth
Homepage
Commits
5a3fe900
Commit
5a3fe900
authored
Jun 25, 2022
by
Tobias Bengfort
Browse files
invert team card header
parent
8fe9522e
Changes
1
Hide whitespace changes
Inline
Side-by-side
layouts/team/list.html
View file @
5a3fe900
...
...
@@ -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
/
web
dark
.svg
"
|
relURL
}}"
media=
"(prefers-color-scheme: dark)"
>
<img
src=
"{{ "
/
gfx
/
web
light
.svg
"
|
relURL
}}"
alt=
"website"
>
<source
srcset=
"{{ "
/
gfx
/
web
light
.svg
"
|
relURL
}}"
media=
"(prefers-color-scheme: dark)"
>
<img
src=
"{{ "
/
gfx
/
web
dark
.svg
"
|
relURL
}}"
alt=
"website"
>
</picture>
</a>
{{ end }}
{{ if isset .Params "twitter" }}
<a
href=
"{{ .Params.twitter }}"
class=
"icon-link"
>
<picture>
<source
srcset=
"{{ "
/
gfx
/
twitter
dark
.svg
"
|
relURL
}}"
media=
"(prefers-color-scheme: dark)"
>
<img
src=
"{{ "
/
gfx
/
twitter
light
.svg
"
|
relURL
}}"
alt=
"twitter"
>
<source
srcset=
"{{ "
/
gfx
/
twitter
light
.svg
"
|
relURL
}}"
media=
"(prefers-color-scheme: dark)"
>
<img
src=
"{{ "
/
gfx
/
twitter
dark
.svg
"
|
relURL
}}"
alt=
"twitter"
>
</picture>
</a>
{{ end }}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment