This commit is contained in:
@@ -62,7 +62,7 @@ nav {
|
|||||||
margin-bottom: 4rem;
|
margin-bottom: 4rem;
|
||||||
max-height: calc(100vh - 2em);
|
max-height: calc(100vh - 2em);
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
overflow-y: auto;
|
overflow-y: visible;
|
||||||
|
|
||||||
span.title {
|
span.title {
|
||||||
display: block;
|
display: block;
|
||||||
@@ -87,33 +87,27 @@ nav {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
ul.table-of-contents li {
|
ul.table-of-contents li {
|
||||||
|
overflow: visible;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: #e1140a;
|
color: #e1140a;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
&::before, &::after {
|
&::before {
|
||||||
content: "";
|
content: "";
|
||||||
background-color: #bbb;
|
background-color: #bbb;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
left: -8px;
|
||||||
top: 0;
|
top: 50%;
|
||||||
}
|
width: 4px;
|
||||||
&::before {
|
height: 4px;
|
||||||
height: 2px;
|
transform: translateY(-2px);
|
||||||
width: .5em;
|
|
||||||
}
|
|
||||||
&::after {
|
|
||||||
width: 2px;
|
|
||||||
height: .5em;
|
|
||||||
}
|
}
|
||||||
&:hover { color: #fff }
|
&:hover { color: #fff }
|
||||||
&:hover::before, &:hover::after { display: none }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
li {
|
li { padding: 0 .5em }
|
||||||
padding: 0 .5em;
|
li>a::before { border-radius: 50% }
|
||||||
&>a::before, &>a::after { display: none }
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -275,7 +269,7 @@ a {
|
|||||||
nav ul.table-of-contents li a {
|
nav ul.table-of-contents li a {
|
||||||
color: #ff6e67;
|
color: #ff6e67;
|
||||||
&::before, &::after {
|
&::before, &::after {
|
||||||
background-color: #383838;
|
background-color: #cdcdcd;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user