mirror of
https://github.com/mastodon/documentation
synced 2025-04-11 22:56:17 +02:00

* 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
6 lines
850 B
HTML
6 lines
850 B
HTML
<h{{.Level}} class="heading" id="{{.Anchor | safeURL}}">
|
|
<span class="heading__text">{{.Text | safeHTML}}</span>
|
|
<a class="heading__anchor-link" href="#{{.Anchor | safeURL}}">
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><path fill="currentColor" d="M10.59 13.41c.41.39.41 1.03 0 1.42c-.39.39-1.03.39-1.42 0a5.003 5.003 0 0 1 0-7.07l3.54-3.54a5.003 5.003 0 0 1 7.07 0a5.003 5.003 0 0 1 0 7.07l-1.49 1.49c.01-.82-.12-1.64-.4-2.42l.47-.48a2.98 2.98 0 0 0 0-4.24a2.98 2.98 0 0 0-4.24 0l-3.53 3.53a2.98 2.98 0 0 0 0 4.24m2.82-4.24c.39-.39 1.03-.39 1.42 0a5.003 5.003 0 0 1 0 7.07l-3.54 3.54a5.003 5.003 0 0 1-7.07 0a5.003 5.003 0 0 1 0-7.07l1.49-1.49c-.01.82.12 1.64.4 2.43l-.47.47a2.98 2.98 0 0 0 0 4.24a2.98 2.98 0 0 0 4.24 0l3.53-3.53a2.98 2.98 0 0 0 0-4.24a.973.973 0 0 1 0-1.42"/></svg>
|
|
</a>
|
|
</h{{.Level}}> |