Compare commits
2 Commits
26b8061389
...
3595435078
| Author | SHA1 | Date | |
|---|---|---|---|
| 3595435078 | |||
| c7e51af0e0 |
@@ -58,13 +58,17 @@ const lowLevel = Math.min(...toc.map((v) => v.level));
|
|||||||
|
|
||||||
.toc-item:hover {
|
.toc-item:hover {
|
||||||
color: var(--text-title-hover);
|
color: var(--text-title-hover);
|
||||||
font-weight: bold;
|
text-shadow:
|
||||||
|
0.3px 0 0 currentColor,
|
||||||
|
-0.3px 0 0 currentColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toc-item.is-active {
|
.toc-item.is-active {
|
||||||
position: relative;
|
position: relative;
|
||||||
color: var(--text-title-hover);
|
color: var(--text-title-hover);
|
||||||
font-weight: bold;
|
text-shadow:
|
||||||
|
0.3px 0 0 currentColor,
|
||||||
|
-0.3px 0 0 currentColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toc-item.is-active::before {
|
.toc-item.is-active::before {
|
||||||
@@ -80,7 +84,7 @@ const lowLevel = Math.min(...toc.map((v) => v.level));
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 1250px) {
|
@media (max-width: 1250px) {
|
||||||
.toc-mount{
|
.toc-mount {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -36,5 +36,9 @@ import PageFooter from "./PageFooter.astro";
|
|||||||
.container {
|
.container {
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
main{
|
||||||
|
padding-bottom: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ const { siteTitle, git } = siteConfig;
|
|||||||
|
|
||||||
@media (max-width: 640px) {
|
@media (max-width: 640px) {
|
||||||
header {
|
header {
|
||||||
margin-top: 12px;
|
padding-top: 12px;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user