2023-01-12 20:54:24 +01:00
|
|
|
@use '../visual-design/theme';
|
2023-01-12 19:19:42 +01:00
|
|
|
|
2023-01-06 22:40:29 +01:00
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6,
|
|
|
|
.signature {
|
|
|
|
a.anchor {
|
|
|
|
display: block;
|
|
|
|
float: left;
|
|
|
|
vertical-align: middle;
|
|
|
|
margin-top: -3px;
|
2023-01-31 07:13:57 +01:00
|
|
|
width: var(--gutter-sesqui);
|
2023-01-06 22:40:29 +01:00
|
|
|
background: none;
|
|
|
|
border: 0;
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
visibility: hidden;
|
|
|
|
font: {
|
|
|
|
size: 1rem;
|
|
|
|
weight: normal;
|
|
|
|
}
|
2023-01-09 23:19:15 +01:00
|
|
|
|
2023-01-09 20:10:02 +01:00
|
|
|
content: '\1F517';
|
2023-01-06 22:40:29 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover a.anchor::after {
|
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
|
|
|
a.anchor {
|
2023-02-02 18:14:02 +01:00
|
|
|
margin-left: var(--gutter-sesqui-negative);
|
2023-01-06 22:40:29 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
&:target {
|
|
|
|
animation-name: highlight-header;
|
|
|
|
animation-duration: 5s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes highlight-header {
|
|
|
|
from {
|
2023-01-12 19:19:42 +01:00
|
|
|
background-color: theme.$sl-color--dawn-pink;
|
2023-01-06 22:40:29 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
to {
|
|
|
|
background-color: unset;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.signature {
|
|
|
|
a.anchor {
|
|
|
|
margin-left: -2.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sl-c-callout--function:target & {
|
|
|
|
animation-name: highlight-signature;
|
|
|
|
animation-duration: 5s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes highlight-signature {
|
|
|
|
from {
|
2023-01-12 19:19:42 +01:00
|
|
|
background-color: theme.$sl-color--dawn-pink;
|
2023-01-06 22:40:29 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
to {
|
2023-02-22 17:11:29 +01:00
|
|
|
background-color: var(--color-code--bg);
|
2023-01-06 22:40:29 +01:00
|
|
|
}
|
|
|
|
}
|