Add icon-inline component, update render-heading.html.example and add render-image.html.example.
This commit is contained in:
parent
9fd4c4a868
commit
45e970953c
1 changed files with 111 additions and 33 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue