diff options
| author | Jieiku | 2022-03-27 19:19:28 -0700 |
|---|---|---|
| committer | Jieiku | 2022-03-27 19:19:28 -0700 |
| commit | 2ef7c0ec1ff976b807691fea23eaaf5ea1e93bc9 (patch) | |
| tree | 33dda7250a49739153f501dbdec7c26792d87964 /sass/include/_recent.scss | |
| download | abridge-2ef7c0ec1ff976b807691fea23eaaf5ea1e93bc9.tar.gz abridge-2ef7c0ec1ff976b807691fea23eaaf5ea1e93bc9.tar.bz2 abridge-2ef7c0ec1ff976b807691fea23eaaf5ea1e93bc9.zip | |
init
Diffstat (limited to 'sass/include/_recent.scss')
| -rw-r--r-- | sass/include/_recent.scss | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/sass/include/_recent.scss b/sass/include/_recent.scss new file mode 100644 index 0000000..88b5763 --- /dev/null +++ b/sass/include/_recent.scss @@ -0,0 +1,35 @@ +main { + .toc { + max-width: 260px; + min-width: 240px; + } + .toc-item { + padding: 10px 20px; + color: var(--f1); + } + .toc-item a, .toc-item-child a { + color: var(--f1); + &:hover { + cursor: pointer; + color: var(--a2); + text-decoration: underline; + } + } + .toc-item a.active, .toc-item-child a.active { + color: var(--a2); + } + .toc-item-child { + padding: 0 30px 5px; + color: var(--f1); + } +} +.toc-sticky { + border-radius: var(--br); + border-top: 5px solid var(--a1); + background-color: var(--c2); + position: sticky; + top: 10px; + padding: 10px 0 20px; + max-height: 100vh; + overflow: auto; +} |
