blob: ea14926f0b857d146bad6e62e8e884eb12ddc186 [file] [log] [blame]
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
@import "variables";
.tocify {
max-width: 80%;
margin: 0 1.5rem;
position: fixed;
h4 {
overflow-wrap: break-word;
margin-bottom: 1.5rem;
}
.tocify-header {
list-style-position: inside;
text-size-adjust: none;
& + .tocify-header {
margin-top: .5rem;
}
}
ul, li {
list-style: none;
margin: 0;
padding: 0;
border: none;
//line-height: 30px;
}
li {
font-size: $root-font-size;
padding: 0 1rem;
color: darken(#999, 30%);
border-left: 2px solid $brand-dark;
&.ui-state-default {
color: $brand-secondary;;
border-left: 4px solid $brand-secondary;
}
&:hover {
color: purple;
}
}
.tocify-subheader {
text-indent: 10px;
display: none;
li {
font-size: $root-font-size * 0.9;
padding-top: .25rem;
padding-bottom: .25rem;
}
.tocify-subheader {
text-indent: $root-indent * 2;
li {
font-size: $root-font-size * 0.8;
}
.tocify-subheader {
text-indent: $root-indent * 3;;
li {
font-size: $root-font-size * 0.7;
}
}
}
}
}