1
0
mirror of https://github.com/mastodon/documentation synced 2025-04-11 22:56:17 +02:00
documentation/layouts/shortcodes/caption-link.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

5 lines
363 B
HTML

<a href="{{ .Get "url" }}" 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="M19 3c1.1 0 2 .9 2 2v14c0 1.1-.9 2-2 2H5c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2zM8.7 8l2.1 2.1L7 14l2.8 2.8l3.8-3.9l2.1 2.1V8z"/></svg></div>
{{ .Get "caption" | markdownify }}
</a>