tachiyomi-website/website/src/.vitepress/theme/styles/tree.styl
Soitora ca560632b8
Attempt to move website to git subdirectory
Better readability as there's a bunch of files that are not related to each other in the root directory
2023-07-26 01:12:38 +02:00

83 lines
1.1 KiB
Stylus

.tree {
border-radius: 8px
margin: 16px
padding: 16px
color: var(--vp-code-block-color)
background-color: var(--vp-code-block-bg)
font-family: 'Roboto Mono', monospace
font-size: 0.85rem
line-height: 1.5
& > ul {
margin: 0
}
li {
& + li {
margin-top: 0
}
}
span {
&.folder {
&.main {
color: var(--vp-c-brand) !important
}
}
&.folder,
&.file.zip {
color: var(--vp-c-brand-lighter) !important
}
}
ul {
padding-left: 5px
list-style: none
li {
position: relative
padding-left: 15px
-webkit-box-sizing: border-box
-moz-box-sizing: border-box
box-sizing: border-box
&:before {
top: 15px
left: 0
width: 10px
height: 1px
margin: auto
}
&:after {
top: 0
bottom: 0
left: 0
width: 1px
height: 100%
}
&:before,
&:after {
position: absolute
content: ''
background-color: var(--vp-c-code-dimm)
}
&:last-child {
&:after {
height: 15px
}
}
}
}
&-icon {
height: 12px
width: 12px
margin-right: 6px
display: inline-block
}
}