Commit 788696e9 authored by minseok.park's avatar minseok.park

update toc style

parent eb18b045
...@@ -65,21 +65,6 @@ ...@@ -65,21 +65,6 @@
margin: 0; margin: 0;
} }
.toc .toc-menu li::after {
content: '';
position: absolute;
left: 0;
bottom: 0;
width: 100%;
height: 1px;
background-color: transparent;
transition: background-color 0.3s;
}
.toc .toc-menu li:hover::after {
background-color: var(--color-bwg-main);
}
.toc .toc-menu li[data-level="2"] a { .toc .toc-menu li[data-level="2"] a {
padding-left: 1.25rem; padding-left: 1.25rem;
} }
...@@ -90,9 +75,9 @@ ...@@ -90,9 +75,9 @@
.toc .toc-menu a { .toc .toc-menu a {
color: inherit; color: inherit;
border-left: 3px solid var(--toc-border-color); border-left: 2px solid var(--toc-border-color);
display: inline-block; display: inline-block;
padding: 0.25rem 0 0.25rem 0.5rem; padding: 0.5rem 0 0.5rem 0.5rem;
text-decoration: none; text-decoration: none;
} }
...@@ -106,11 +91,11 @@ ...@@ -106,11 +91,11 @@
} */ } */
.toc .toc-menu a.is-active { .toc .toc-menu a.is-active {
border-left-color: var(--color-bwg-main); border-left: 3px solid var(--color-bwg-main);
color: var(--color-bwg-main); color: var(--color-bwg-main);
font-weight: 600; font-weight: 600;
} }
.sidebar.toc .toc-menu a:focus { .sidebar.toc .toc-menu a:hover {
background: var(--panel-background); background: var(--color-blue-10);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment