fixed theme switcher, updated config.toml

pull/3/head
Scott Anderson 2019-01-03 14:07:02 -07:00
parent abe73b6cf5
commit 29da9dc357
3 changed files with 13 additions and 4 deletions

View File

@ -377,9 +377,14 @@
/////////////////////////////// Tabbed Content ///////////////////////////////
.tabs-wrapper, .code-tabs-wrapper{
.tabs-wrapper {
margin: 2.5rem 0 .5rem;
}
.code-tabs-wrapper {
margin: 1.5rem 0 .5rem;
}
.tabs, .code-tabs {
p {
display: flex;
@ -431,6 +436,7 @@
display: block;
}
a {
padding: .1rem .75rem;
margin: 0;
border-radius: $border-radius $border-radius 0 0;
display: inline-block;

View File

@ -9,10 +9,12 @@ enableGitInfo = true
pygmentsCodefences = true
pygmentsUseClasses = true
# Markdown rendering options
[blackfriday]
hrefTargetBlank = true
# Menu items without actual pages
[menu]
[[menu.versions]]
name = "v1.x"
url = "https://docs.influxdata.com"
[blackfriday]
hrefTargetBlank = true

View File

@ -4,3 +4,4 @@
{{ $headerjs := slice $jquery $cookies $themes | resources.Concat "js/header.bundle.js" }}
<script type="text/javascript" src="{{ $headerjs.Permalink }}" ></script>
<script type="text/javascript">set_style_from_cookie();</script>