mirror of
https://github.com/php-win-ext/grpc.git
synced 2026-03-25 09:32:14 +01:00
Modernize docs using pydata_sphinx_theme [Screen recording 2025-12-22 4.54.40 PM.webm](https://github.com/user-attachments/assets/58b5254f-1357-4c09-9278-fb4763b5337d) Also visible in Dark mode. (default is auto based on system settings) <img width="2560" height="1440" alt="Screenshot 2025-12-22 5 01 55 PM" src="https://github.com/user-attachments/assets/f11e3705-d92c-4dfc-85d9-b09ae6a83661" /> Closes #41287 PiperOrigin-RevId: 857006550
39 lines
763 B
CSS
39 lines
763 B
CSS
html[data-theme="dark"] {
|
|
--pst-color-target: color-mix(in srgb, var(--pst-color-surface), purple 10%)
|
|
}
|
|
|
|
/* Sidebar Widths */
|
|
.bd-sidebar-primary {
|
|
width: 17%;
|
|
}
|
|
|
|
.bd-sidebar-secondary {
|
|
width: 30%;
|
|
}
|
|
|
|
@media (max-width: 960px) {
|
|
|
|
/* Ensure long function/method signatures wrap on mobile */
|
|
dt.sig {
|
|
white-space: normal !important;
|
|
overflow-wrap: break-word !important;
|
|
word-break: break-all !important;
|
|
/* Force break for very long identifiers */
|
|
}
|
|
|
|
/* Add a bit of indentation for wrapped lines to keep them readable */
|
|
dt.sig-object {
|
|
padding-left: 1em;
|
|
text-indent: -1em;
|
|
}
|
|
}
|
|
|
|
/* Mobile Sidebar Widths */
|
|
@media (max-width: 960px) {
|
|
|
|
.bd-sidebar-primary,
|
|
.bd-sidebar-secondary {
|
|
width: 75% !important;
|
|
}
|
|
}
|