forked from phoenix-oss/llama-stack-mirror
docs: Updating background color for code in darkmode (#1930)
# What does this PR do? A small quality of life adjustment to make the code background for darkmode black. Makes it much easier to differentiate between code and non-code text. From: <img width="1250" alt="Screenshot 2025-04-10 at 9 22 23 AM" src="https://github.com/user-attachments/assets/3a3aea8b-e540-4e76-a7db-6c276e389cc2" /> To: <img width="1273" alt="Screenshot 2025-04-10 at 9 22 43 AM" src="https://github.com/user-attachments/assets/6ada2cb1-2c33-4a95-be88-7b4c65d4ba93" /> The CSS was sourced from here: https://github.com/MrDogeBro/sphinx_rtd_dark_mode/blob/main/sphinx_rtd_dark_mode/static/dark_mode_css/dark.css Signed-off-by: Francisco Javier Arceo <farceo@redhat.com>
This commit is contained in:
parent
1f2df59ece
commit
09a83b1ec1
1 changed files with 4 additions and 0 deletions
4
docs/_static/css/my_theme.css
vendored
4
docs/_static/css/my_theme.css
vendored
|
@ -16,3 +16,7 @@
|
|||
.hide-title h1 {
|
||||
display: none;
|
||||
}
|
||||
|
||||
html[data-theme="dark"] .rst-content div[class^="highlight"] {
|
||||
background-color: #0b0b0b;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue