Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small adjustments in support of unified docs site #103

Merged
merged 3 commits into from
Feb 24, 2024
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
Loading