aboutsummaryrefslogtreecommitdiff
path: root/sass/include/_recent.scss
diff options
context:
space:
mode:
Diffstat (limited to 'sass/include/_recent.scss')
-rw-r--r--sass/include/_recent.scss35
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;
+}