/* # ----------------------------------------------------------------------------- # ~/assets/themes/j1/modules/tocbot/css/theme/uno.css # Provides theme styles for the toc navigation based on Tim Scanlin's Tocbot # # Product/Info: # https://jekyll.one # https://tscanlin.github.io/tocbot # # Copyright (C) 2016 Tim Scanlin # Copyright (C) 2020 Juergen Adams # # J1 Template is licensed under MIT License. # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE # Tocbot is licensed under MIT License. # See: https://github.com/tscanlin/tocbot/blob/master/LICENSE # ----------------------------------------------------------------------------- */ /* STYLES * NOTE: Several styles are moved to ~/assets/themes/j1/adapter/js/toccer.js * to set CSS styles fo selected theme dynamically * ----------------------------------------------------------------------------- */ .toc { overflow-y: auto; } .toc > .toc-list { overflow: hidden; position: relative; } .toc > .toc-list li { list-style: none; } .toc-list { margin: 0; padding-left: 10px; } a.toc-link { color: #757575; /* md-grey-600 */ height: 100%; font-size: 1rem; /* jadams, 2017-12-13: added font-size for toc-link */ } /* jadams, 2020-07-03: added hover to global style */ a.toc-link:hover { color: #fafafa; text-decoration: none; font-weight: 700; } .is-collapsible { max-height: 1000px; overflow: hidden; transition: all 300ms ease-in-out; } .is-collapsed { max-height: 0; } .is-position-fixed { position: fixed !important; top: 0; } .is-active-link { font-weight: 700; } .toc-link::before { background-color: #E0E0E0; /* md-grey-300 */ content: ' '; display: inline-block; height: inherit; left: 0; margin-top: -1px; position: absolute; width: 2px; } .is-active-link::before { background-color: #757575; /* md-grey-600, was: #54BC4B */ }