Skip to content

Commit

Permalink
style: dark mode adjustments
Browse files Browse the repository at this point in the history
- lighter blue for <code>
- darker bg on docs/tutorial.html

Reported-by: Julian K.
Fixes #399
  • Loading branch information
bagder committed Sep 16, 2024
1 parent a8a6525 commit ae58957
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
3 changes: 3 additions & 0 deletions curl.css
Original file line number Diff line number Diff line change
Expand Up @@ -600,4 +600,7 @@ p.level1 {
div.sourceCode {
background-color: #313131 !important;
}
code {
color: #aaaaff;
}
}
11 changes: 10 additions & 1 deletion docs/_tutorial.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,18 @@
padding-left: 8px;
padding-top: 4px;
padding-bottom: 4px;
background-color: #e0e0e0;
background-color: #f0f0f0;
}

@media (prefers-color-scheme: dark) {
pre {
margin-left: 1em;
padding-left: 8px;
padding-top: 4px;
padding-bottom: 4px;
background-color: #101010;
}
}
</style>
</head>

Expand Down

0 comments on commit ae58957

Please sign in to comment.