47 lines
916 B
CSS
47 lines
916 B
CSS
@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap");
|
|
@import "tailwindcss";
|
|
@config "../tailwind.config.ts";
|
|
|
|
.tree,
|
|
.tree ul {
|
|
position: relative;
|
|
padding-left: 0;
|
|
list-style-type: none;
|
|
line-height: var(--line-height);
|
|
}
|
|
|
|
.tree ul {
|
|
margin: 0;
|
|
}
|
|
|
|
.tree ul li {
|
|
position: relative;
|
|
padding-left: 1.5ch;
|
|
margin-left: 1.5ch;
|
|
border-left: var(--border-thickness) solid var(--text-color);
|
|
}
|
|
|
|
.tree ul li:before {
|
|
position: absolute;
|
|
display: block;
|
|
top: calc(var(--line-height) / 2);
|
|
left: 0;
|
|
content: "";
|
|
width: 1ch;
|
|
border-bottom: var(--border-thickness) solid var(--text-color);
|
|
}
|
|
|
|
.tree ul li:last-child {
|
|
border-left: none;
|
|
}
|
|
|
|
.tree ul li:last-child:after {
|
|
position: absolute;
|
|
display: block;
|
|
top: 0;
|
|
left: 0;
|
|
content: "";
|
|
height: calc(var(--line-height) / 2);
|
|
border-left: var(--border-thickness) solid var(--text-color);
|
|
}
|