Add icon-inline component, update render-heading.html.example and add render-image.html.example.

This commit is contained in:
Fredrik Jonsson 2023-01-29 14:22:31 +01:00
commit 45e970953c

View file

@ -292,31 +292,3 @@ figure {
}
}
}
// Icons.
.icon {
// Reset set SVG to block but icons are normally inline.
display: inline;
}
// Header anchor links
.anchor-link {
opacity: 0;
transition: all 130ms ease-in;
}
.anchor-header {
&:focus,
&:hover {
.anchor-link {
opacity: .3;
&:focus,
&:hover {
opacity: 1;
}
}
}
}