feat: add callouts

This commit is contained in:
Alexis Fourmaux 2025-05-13 17:55:29 +02:00
parent a918ba2cc0
commit 940fe944da
5 changed files with 108 additions and 36 deletions

View file

@ -245,36 +245,6 @@ hr {
border-width: 1px;
}
blockquote {
position: relative;
margin-inline: 0;
margin-block-end: 2rem;
padding-inline-start: 2em;
overflow: hidden;
quotes: "" "" "" "";
&::before,
&::after {
position: absolute;
}
&::before {
content: "";
left: .2rem;
font-size: 2rem;
color: var(--overlay1);
}
&::after {
content: "";
left: .6rem;
top: 2rem;
width: 1px;
height: 100%;
background-color: var(--overlay1);
}
}
cite {
&::before {
content: "~ "