forked from phoenix-oss/llama-stack-mirror
# What does this PR do? Closes #2078 Previously, the Agent Execution Loop diagram was barely visible in dark mode:  I experimented with styling individual classes, but ultimately found that adding an off-white background provides the best visibility in both dark and light modes:  [//]: # (If resolving an issue, uncomment and update the line below) [//]: # (Closes #[issue-number]) ## Test Plan The documentation can be built locally by following the docs: https://llama-stack.readthedocs.io/en/latest/contributing/index.html#building-the-documentation [//]: # (## Documentation)
35 lines
647 B
CSS
35 lines
647 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;
|
|
}
|
|
|
|
h2, h3, h4 {
|
|
font-weight: normal;
|
|
}
|
|
html[data-theme="dark"] .rst-content div[class^="highlight"] {
|
|
background-color: #0b0b0b;
|
|
}
|
|
pre {
|
|
white-space: pre-wrap !important;
|
|
word-break: break-all;
|
|
}
|
|
|
|
[data-theme="dark"] .mermaid {
|
|
background-color: #f4f4f6 !important;
|
|
border-radius: 6px;
|
|
padding: 0.5em;
|
|
}
|