commit b744a05fe92a41dac9a343ea28d49595952f5c0f parent e1d2807daa6b603b09d82eda3c221a402477ea8f Author: FIGBERT <figbert@figbert.com> Date: Sun, 16 Aug 2020 16:49:45 -0700 :lipstick: Replace default anchor tags with openmoji Diffstat:
M | static/global.css | | | 10 | ++++++++-- |
A | templates/anchor-link.html | | | 2 | ++ |
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/static/global.css b/static/global.css @@ -84,10 +84,16 @@ h6::before { color: var(--secondary-color); } -/* .emoji { +.emoji { width: 4%; vertical-align: middle; -} */ +} + +.anchor { + width: 2.5%; + vertical-align: top; + transform: rotate(-45deg); +} .post-preview { margin-top: 2rem; diff --git a/templates/anchor-link.html b/templates/anchor-link.html @@ -0,0 +1,2 @@ +<a href="#{{ id }}"><img src="/emoji/link.svg" alt="Anchor link for: {{ id }}" class="anchor"/></a> +