mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-04-12 03:38:30 +00:00
Update pages-data.json with new content and structure for cpp-httplib documentation
This commit is contained in:
@@ -16,4 +16,5 @@ base_path = "/my-project"
|
||||
langs = ["en"]
|
||||
|
||||
[highlight]
|
||||
theme = "base16-ocean.dark"
|
||||
dark_theme = "base16-ocean.dark"
|
||||
light_theme = "InspiredGitHub"
|
||||
|
||||
@@ -342,6 +342,19 @@ a:hover {
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
/* Code block theme switching: show dark by default, swap on light mode */
|
||||
.code-block-wrapper > [data-code-theme="light"] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
html[data-theme="light"] .code-block-wrapper > [data-code-theme="dark"] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
html[data-theme="light"] .code-block-wrapper > [data-code-theme="light"] {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
.footer {
|
||||
padding: 12px 16px;
|
||||
|
||||
Reference in New Issue
Block a user