duckling/sass/_docs.scss
david-swift 5d621bc729
Some checks are pending
Publish / publish (push) Waiting to run
Implement docs sidebar #3
2025-04-01 14:31:12 +02:00

65 lines
962 B
SCSS

#docs {
background-color: var(--fg-muted-1-soft);
padding: 0.5em 1em;
border-radius: var(--rounded-corner);
min-width: 200px;
margin: 0rem 1rem 0rem 1rem;
ul {
padding: 0;
list-style-type: none;
}
a {
display: block;
text-decoration: none;
color: var(--fg-muted-5);
padding: 0.5em 1em 0.5em 1em;
background: transparent;
border-radius: var(--rounded-corner-small);
width: 100%;
}
a:hover {
background: var(--fg-muted-1-soft);
transition: 0.1s;
}
.active {
background: var(--fg-muted-1);
color: var(--fg-muted-5);
}
h3 {
padding-left: 1em;
font-size: var(--font-size-medium);
}
}
#docs-container {
display: flex;
flex-wrap: wrap;
height: 100%;
justify-content: center;
#docs {
left: 1em;
margin-bottom: 1em;
}
article {
margin-left: auto;
margin-right: auto;
max-width: min(var(--container-width), 90%);
}
}
#toc-hidden {
visibility: hidden;
height: 0px;
}
.expand-main {
width: 100%;
}