feat: add callouts
This commit is contained in:
parent
a918ba2cc0
commit
940fe944da
5 changed files with 108 additions and 36 deletions
|
|
@ -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: "~ "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue