1
0
mirror of https://github.com/mastodon/documentation synced 2025-04-11 22:56:17 +02:00
documentation/layouts/shortcodes/page-relref.html
Michael Stanclift 1d43a44b22
Update color scheme to match latest design system (#1508)
* import variables from main UI

* apply colors

* change hint styles

* update table styling

* remove box shadow from images

* update sponsor and page ref styles

* change code highlighting theme to add more contrast

* replace link icon with google material svg

* replace fontawesome with google material icons

* remove fa assets

* fix missing mastodon fa icon in footer

* tweak alignment of hint svg icons

* tweak inline code background
2024-08-22 12:46:16 +01:00

4 lines
319 B
HTML

<a href="{{ relref . (.Get "ref") }}" class="page-ref">
<div class="page-ref-icon"><svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><path fill="currentColor" d="M4 11v2h12l-5.5 5.5l1.42 1.42L19.84 12l-7.92-7.92L10.5 5.5L16 11z"/></svg></div>
{{ .Get "caption" | markdownify }}
</a>