mirror of
https://github.com/caddyserver/website.git
synced 2025-06-22 14:10:32 -04:00
Move docs-json dark styles to docs-json-dark.css
This commit is contained in:
parent
3ecc4aab71
commit
d68e5970f8
3 changed files with 4 additions and 6 deletions
|
@ -4,6 +4,7 @@
|
|||
<title>Modules - Caddy Documentation</title>
|
||||
{{include "/includes/docs-head.html"}}
|
||||
<link rel="stylesheet" href="/resources/css/docs-json.css">
|
||||
<link rel="stylesheet" href="/resources/css/docs-json-dark.css" media="(prefers-color-scheme: dark)">
|
||||
<script src="/resources/js/marked-0.8.0.min.js"></script>
|
||||
<script src="/resources/js/docs-api.js"></script>
|
||||
<script src="/resources/js/module-docs.js"></script>
|
||||
|
|
3
src/resources/css/docs-json-dark.css
Normal file
3
src/resources/css/docs-json-dark.css
Normal file
|
@ -0,0 +1,3 @@
|
|||
pre > code.json {
|
||||
background-color: #07212b;
|
||||
}
|
|
@ -24,9 +24,3 @@ article h1 {
|
|||
.collapsed {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
pre > code.json {
|
||||
background-color: #07212b;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue