feat(quick-navigation): add ToC button (#115)

This commit is contained in:
Óscar
2023-08-25 15:52:25 +02:00
committed by GitHub
parent f8f2967527
commit ac41bb18f8
5 changed files with 147 additions and 62 deletions

View File

@@ -151,49 +151,3 @@ hr {
border-radius: 10px;
text-align: center;
}
#button-container {
position: fixed;
right: 2rem;
bottom: 2rem;
display: flex;
flex-direction: column;
gap: 0.6rem;
#comments-button, #top-button {
background-color: var(--bg-1);
padding: 0.4rem;
height: 1rem;
width: 1rem;
text-align: center;
border-radius: 50%;
border: none;
display: flex;
justify-content: center;
align-items: center;
&:hover {
background-color: var(--bg-3);
svg {
fill: var(--primary-color);
}
&::before {
background-color: transparent;
}
}
svg {
width: 1rem;
height: 1rem;
fill: var(--text-color);
}
}
@media (max-width: 700px) {
#comments-button, #top-button {
display: none;
}
}
}