diff options
author | vjeantet <valere.jeantet@gmail.com> | 2020-08-19 15:16:25 +0300 |
---|---|---|
committer | vjeantet <valere.jeantet@gmail.com> | 2020-08-19 15:16:25 +0300 |
commit | f0d2ab5c9b050bdabfc4ca6843214a098cc7ca33 (patch) | |
tree | ab4e5c0ced73a9d6b1b80f2e7707d3e69fb6fa34 /assets | |
parent | a86af279ec44943377320c8619a2ee3331927ca1 (diff) |
highlight table of content depending on where you are in the page
Diffstat (limited to 'assets')
-rw-r--r-- | assets/sass/main.scss | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/assets/sass/main.scss b/assets/sass/main.scss index 8681259..75b4c48 100644 --- a/assets/sass/main.scss +++ b/assets/sass/main.scss @@ -138,8 +138,9 @@ body{ font-size:14px;
line-height:20px;
padding-left:2px;
+
.TableOfContents {
- font-weight:500;
+
> *{
margin-left:5px;
}
@@ -170,6 +171,14 @@ body{ }
li{
padding: 8px 0px 8px 0px;
+ a {
+ font-weight:300;
+ /*padding-left: 2px;*/
+ &.active{
+ font-weight:500;
+ }
+ }
+
}
}
|