diff options
author | Jesús <heckyel@hyperbola.info> | 2020-05-24 18:07:10 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2020-05-24 18:07:10 -0500 |
commit | 4235befd675ae72450872e2d2300bdab7817930a (patch) | |
tree | 44eb5d65bdd444fe118b9ca9b917779d5ab3eaac /src/scss/custom/_toc.scss | |
parent | 38d66b141d03140211ffacf54a4975f0d3cfb56e (diff) | |
download | cl-theme-4235befd675ae72450872e2d2300bdab7817930a.tar.lz cl-theme-4235befd675ae72450872e2d2300bdab7817930a.tar.xz cl-theme-4235befd675ae72450872e2d2300bdab7817930a.zip |
Change theme color to blue
Diffstat (limited to 'src/scss/custom/_toc.scss')
-rw-r--r-- | src/scss/custom/_toc.scss | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/scss/custom/_toc.scss b/src/scss/custom/_toc.scss new file mode 100644 index 0000000..64c0fe0 --- /dev/null +++ b/src/scss/custom/_toc.scss @@ -0,0 +1,36 @@ +/* table of contents */ +.toc { + font-size: 0.85rem; +} + +.toctitle { + display: block; + text-align: center; + font-size: 1rem; + color: white; + text-decoration: underline; +} + +nav.toc { + background-color: #0c0f0f; + border: 1px solid $toc; + margin: 1rem 0px; +} + +div.toc { + margin: 1rem; +} + +a.headerlink { + color: grey; + padding-left: .5em; + visibility: hidden; +} + +h1:hover > a.headerlink, h2:hover > a.headerlink, +h3:hover > a.headerlink, h4:hover > a.headerlink, +h5:hover > a.headerlink, h6:hover > a.headerlink, +dt:hover > a.headerlink { + text-decoration: none; + visibility: visible; +} |