57 lines
797 B
CSS
57 lines
797 B
CSS
.toc {
|
|
font-size: 0.8rem;
|
|
min-width: 25vw;
|
|
flex: 1 auto;
|
|
|
|
&.hidden {
|
|
flex: 0 0;
|
|
min-width: 0;
|
|
}
|
|
|
|
overflow-y: scroll;
|
|
overflow-x: wrap;
|
|
height: 100vh;
|
|
|
|
.tocDivision {
|
|
margin-block: 0.5rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
ul {
|
|
padding: 1rem;
|
|
list-style-type: disc;
|
|
}
|
|
|
|
.selected {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.article {
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
.toggleButton {
|
|
position: fixed;
|
|
top: 16px;
|
|
left: 16px;
|
|
width: 32px;
|
|
height: 32px;
|
|
padding: 0;
|
|
border: none;
|
|
border-radius: 50%;
|
|
background-color: #007bff;
|
|
color: white;
|
|
font-size: 16px;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
|
z-index: 1000;
|
|
}
|
|
|
|
.toggleButton:hover {
|
|
background-color: #0056b3;
|
|
}
|