Styling updates after Docsy update

pull/9823/head
edtrist 2020-12-01 19:30:51 +00:00
parent ee1da89f11
commit 2c6dc34f04
3 changed files with 17 additions and 3 deletions

View File

@ -180,7 +180,7 @@ section.td-box--height-auto {
// Allow code tags to span most of a window length (default is 80%)
pre {
max-width: 99% !important;
font-family: 'Inconsolata', monospace !important;
font-family: 'SFMono-Regular', Menlo, Monaco, Consolas, 'liberation mono', 'courier new', monospace !important;
font-size: 13px !important;
}
@ -197,6 +197,17 @@ div.td-content {
padding: 0.5em !important;
margin-top: 1.25em;
margin-bottom: 1.25em;
background-color: $gray-100;
max-width: 99% !important;
pre {
background-color: inherit !important;
padding: 0 !important;
code {
font-family: inherit !important;
}
}
}
}
@ -214,3 +225,6 @@ div.td-content {
max-width: 460px;
}
div.code-toolbar > .toolbar {
top: -.3em !important;
}

View File

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

View File

@ -12,7 +12,7 @@
</button>
</form>
{{ end }}
<nav class="collapse td-sidebar-nav pt-2 pl-4" id="td-section-nav">
<nav class="collapse td-sidebar-nav" id="td-section-nav">
{{ if (gt (len .Site.Home.Translations) 0) }}
<div class="nav-item dropdown d-block d-lg-none">
{{ partial "navbar-lang-selector.html" . }}