mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-10 13:38:39 +00:00
* ScrollSpy for table of contents * Add reference * Incorporate comments * Simplify headingsCache and change ScrollSpy reference * Add comment * Fix lint errors * Switch back to throlling, update comments
33 lines
575 B
CSS
33 lines
575 B
CSS
ul.toc-headings > li {
|
|
padding-bottom: 0px; /* moved to li > a */
|
|
}
|
|
|
|
.toc-headings > li > a {
|
|
display: block;
|
|
padding: 4px;
|
|
}
|
|
|
|
.toc-headings > li > a.active {
|
|
background-color: rgba(27, 31, 35, 0.05);
|
|
font-weight: bold;
|
|
}
|
|
|
|
.fixedHeaderContainer header img {
|
|
height: 80%;
|
|
}
|
|
|
|
@media only screen and (min-device-width: 360px) and (max-device-width: 736px) {
|
|
}
|
|
|
|
@media only screen and (min-width: 1024px) {
|
|
}
|
|
|
|
@media only screen and (max-width: 1023px) {
|
|
}
|
|
|
|
@media only screen and (min-width: 1400px) {
|
|
}
|
|
|
|
@media only screen and (min-width: 1500px) {
|
|
}
|