This repository has been archived by the owner on Jun 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tweak docs, in particular the styles
- Loading branch information
Showing
3 changed files
with
23 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* Sadly the default pygments theme has very bad contrast of only 3.34, | ||
* let's fix this. */ | ||
.highlight .go { | ||
color: #545454; | ||
} | ||
|
||
/* Tweak inline code blocks to be a bit more visually distinct and | ||
* noticable. */ | ||
code.literal { | ||
border: 1px solid #f4f4f4; | ||
margin-left: 0.2em; | ||
margin-right: 0.2em; | ||
} | ||
|
||
@media (prefers-color-scheme: dark) { | ||
code.literal { | ||
border: 1px solid #151515; | ||
} | ||
} |