Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/css/asciidoc/doc.css
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@

.doc p code,
.doc thead code,
.doc summary.title code,
.doc .colist > table code {
color: var(--ds-text-secondary);
background: var(--ds-neutral-soft-bg);
Expand All @@ -175,6 +176,10 @@
margin: 0;
}

.doc summary.title code {
margin: 0px 3px;
}

.doc .paragraph.lead > p {
font-size: calc(14 / var(--rem-base) * 1rem);
}
Expand Down
4 changes: 3 additions & 1 deletion src/partials/nav-tree.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,15 @@
{{{./content}}}
</a>
{{else}}
<span class="flex rounded text-body-small text-tertiary py-1 px-2">
<span class="[&>a]:flex [&>a]:rounded [&>a]:!no-underline [&>a]:text-body-small [&>a]:text-primary [&>a]:py-1 [&>a]:px-2 [&>a:hover]:bg-level2">
{{{./content}}}
</span>
{{/if}}
</li>
{{> nav-tree navigation=./items level=(increment ../level)}}
{{/if}}
{{else}}
{{> nav-tree navigation=./items level=0}}
{{/if}}
{{/each}}
</ul>
Expand Down