Merge pull request #15264 from rahil-p/master

Site: reformat documentation sidebar
pull/15279/head
Steven Powell 2022-11-02 07:36:21 -07:00 committed by GitHub
commit 0549bff73c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 26 additions and 2 deletions

View File

@ -0,0 +1,25 @@
.td-sidebar-nav {
padding-left: 0.625rem;
&__section {
@include media-breakpoint-up(md) {
& > ul {
padding-left: 1rem;
}
}
}
}
.td-sidebar-link__section {
position: relative;
&::before {
position: absolute;
left: -1rem;
content: '\29be';
}
&.active::before {
content: '\29bf';
}
}

View File

@ -1,5 +1,5 @@
<!-- start: minikube override head-end partial -->
<link href="https://fonts.googleapis.com/css2?family=Lora&family=Open+Sans:wght@600;700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&family=Open+Sans:wght@600;700&display=swap" rel="stylesheet">
<link href="/css/tabs.css" rel="stylesheet">
<script src="/js/tabs.js"></script>
<script src="/js/quiz.js"></script>

View File

@ -63,7 +63,6 @@ $showSection }}
href="{{ $s.RelPermalink }}"
class="align-left pl-0 pr-2{{ if not $expandSection }} collapsed{{ end }}{{ if $activeSection}} active{{ end }} td-sidebar-link td-sidebar-link__section"
>
{{ if $activeSection}} &#10687; {{ else }} &#10686; {{ end }}
{{$s.LinkTitle }}</a
>
</li>