diff --git a/site/src/routes/docs/_GuideContents.svelte b/site/src/routes/docs/_GuideContents.svelte index e7e5c08551..a681d823d2 100644 --- a/site/src/routes/docs/_GuideContents.svelte +++ b/site/src/routes/docs/_GuideContents.svelte @@ -78,6 +78,12 @@ margin: 0 0 4.8rem 0; } + a { + position: relative; + opacity: 0.7; + transition: opacity 0.2s; + } + .section { display: block; padding: 0 0 .8rem 0; @@ -90,12 +96,25 @@ display: block; font-size: 1.6rem; font-family: var(--font); - padding: 0.3em 0; + padding: 0 0 0.6em 0; } .section:hover, - .subsection:hover { color: var(--flash) } - .active { color: var(--prime) } + .subsection:hover { + color: var(--flash); + opacity: 1 + } + + .active { + opacity: 1; + /* font-weight: 700; */ + } + + .icon-container { + position: absolute; + top: -.3rem; + right: 3.2rem; + }