forked from phoenix-oss/llama-stack-mirror
# 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>
22 lines
412 B
CSS
22 lines
412 B
CSS
@import url("theme.css");
|
|
|
|
.wy-nav-content {
|
|
max-width: 90%;
|
|
}
|
|
|
|
.wy-nav-side {
|
|
/* background: linear-gradient(45deg, #2980B9, #16A085); */
|
|
background: linear-gradient(90deg, #332735, #1b263c);
|
|
}
|
|
|
|
.wy-side-nav-search {
|
|
background-color: transparent !important;
|
|
}
|
|
|
|
.hide-title h1 {
|
|
display: none;
|
|
}
|
|
|
|
html[data-theme="dark"] .rst-content div[class^="highlight"] {
|
|
background-color: #0b0b0b;
|
|
}
|