Difficult-Rocket/docs/theme/pagetoc.css
shenjack fd5963bc0a [build skip] use dsm with secret
[build skip] add delete task and try upload

[build skip] key error fix

[build skip] key error?

not use secret

Update dsm.py

Update dsm.py

Update dsm.py

Update dsm.py

Update dsm.py

Update dsm.py

Update dsm.py

[build skip] try use better

一些奇怪东西

update with md5_check

Update page.yml

Update page.yml

try build

fix: last md5 detect use local one

add more mdbook extention

reformat and add more

add cmd run

i18n not 18n

try use local build mdbook

Update page.yml

try with openai

Update page.yml

Update page.yml

Update page.yml

Update page.yml

Update page.yml

Update page.yml

Update dsm.py

Update dsm.py

Update dsm.py

Update dsm.py

Update dsm.py

Update dsm.py

Update dsm.py

Update dsm.py

try new one

use custom TEMP

use new path

逝逝

page toc later

add back debug print

try to add back pagetoc

try to use pagetoc-0.1.7 [build skip]

just upload the theme folder~ [build skip]

get plant UML [build skip]

add log out for dsm.py [build skip]

clean up useless "f"
2023-03-19 11:46:27 +08:00

58 lines
1.3 KiB
CSS

@media only screen and (max-width:1439px) {
.sidetoc {
display: none;
}
}
@media only screen and (min-width:1440px) {
main {
position: relative;
}
.sidetoc {
margin-left: auto;
margin-right: auto;
left: calc(100% + (var(--content-max-width))/4 - 140px);
position: absolute;
}
.pagetoc {
position: fixed;
width: 200px;
height: calc(100vh - var(--menu-bar-height) - 0.67em * 4);
overflow: auto;
}
.pagetoc a {
border-left: 1px solid var(--sidebar-bg);
color: var(--fg) !important;
display: block;
padding-bottom: 5px;
padding-top: 5px;
padding-left: 10px;
text-align: left;
text-decoration: none;
}
.pagetoc a:hover,
.pagetoc a.active {
background: var(--sidebar-bg);
color: var(--sidebar-fg) !important;
}
.pagetoc .active {
background: var(--sidebar-bg);
color: var(--sidebar-fg);
}
.pagetoc .pagetoc-H2 {
padding-left: 20px;
}
.pagetoc .pagetoc-H3 {
padding-left: 40px;
}
.pagetoc .pagetoc-H4 {
padding-left: 60px;
}
.pagetoc .pagetoc-H5 {
display: none;
}
.pagetoc .pagetoc-H6 {
display: none;
}
}