Files
Code-Notes/quartz/components/styles/backlinks.scss
2025-12-29 14:13:38 +08:00

33 lines
540 B
SCSS

@use "../../styles/variables.scss" as *;
.backlinks {
box-sizing: border-box;
flex-direction: column;
& > h3 {
font-size: 1rem;
margin: 0;
}
& > ul.overflow {
list-style-type: disc;
padding-left: 1.2rem;
box-sizing: border-box;
margin: 0.5rem 0;
max-height: calc(100% - 2rem);
overscroll-behavior: contain;
overflow-x: hidden;
overflow-y: auto;
& > li:empty {
list-style-type: none;
}
& > li {
& > a {
background-color: transparent;
}
}
}
}