static_pages/themes/NSP/static/dark_mode.css

64 lines
1.3 KiB
CSS
Raw Normal View History

2023-11-18 14:34:47 -08:00
.darkmode p {
color: var(--ctp-mocha-text);
}
.darkmode {
background-color: var(--ctp-mocha-base);
}
.darkmode a {
color: var(--ctp-mocha-peach);
}
code.darkmode {
background-color: transparent;
}
code.darkmode > span {
background-color: transparent;
}
code.darkmode > span > span {
background-color: transparent;
}
code.darkmode > span > span > span {
background-color: transparent;
}
pre.darkmode {
background: var(--ctp-mocha-crust);
border: 1px solid #ddd;
color: var(--ctp-mocha-sky);
page-break-inside: avoid;
font-family: monospace;
font-size: 15px;
line-height: 1.6;
margin-bottom: 1.6em;
max-width: 100%;
overflow: auto;
padding: 1em 1.5em;
display: block;
word-wrap: break-word;
}
h1.darkmode, h2.darkmode, h3.darkmode, h4.darkmode, h5.darkmode, h6.darkmode {
color: var(--ctp-mocha-sapphire);
}
.nav-list.darkmode a {
color: var(--ctp-mocha-crust);
}
.nav-list.darkmode a:hover {
color: var(--ctp-mocha-text);
}
.nav-list.darkmode {
background-color: var(--ctp-mocha-mauve);
}
2023-11-18 15:47:06 -08:00
.nav-dropdown.darkmode {
2023-11-18 14:34:47 -08:00
color: var(--ctp-mocha-crust);
}
2023-11-18 15:47:06 -08:00
.nav-dropdown.darkmode:hover {
2023-11-18 14:34:47 -08:00
color: var(--ctp-mocha-text);
}
.nav-dropdown-content.darkmode {
background-color: var(--ctp-mocha-mauve);
}