/* Override default colors used in the Sphinx theme. See * https://pydata-sphinx-theme.readthedocs.io/en/stable/user_guide/styling.html#css-theme-variables * for more information. `important!` is needed below to override * dark/light theme specific values, which normally take precedence over the PST defaults. * */ html { --anyscale-blue: #0066FF; --ray-blue: #02A0CF; /* Ray blue color - use this for all ray branding */ --pst-color-primary: var(--ray-blue) !important; --pst-color-inline-code-links: var(--ray-blue) !important; /* Transparent highlight color; default yellow is hard on the eyes */ --pst-color-target: #ffffff00 !important; --color-diff-delete-bg: rgba(212, 118, 22, 0.3); --color-diff-insert-bg: rgba(56, 139, 253, 0.3); --color-diff-nochange-bg: rgba(0, 0, 0, 0); --pst-font-family-base: 'Inter', sans-serif; --stata-dark-background: #232629; } html[data-theme='dark'] { --pst-color-background: #161a1d; --pst-color-on-background: #1d2125; --pst-color-text-base: #f1f2f4; --pst-color-text-muted: #b3b9c4; --pst-color-border: #2c333a; --bs-body-color: #f1f2f4; --heading-color: #ffffff; --base-pygments-code-color: #cccccc; --pst-color-link-hover: #cce0ff; --anyscale-border-color: #f1f2f4; } html[data-theme='light'] { --pst-color-background: #ffffff; --pst-color-on-background: #ffffff; --pst-color-text-base: #22272b; --pst-color-text-muted: #454f59; --pst-color-border: #dcdfe4; --heading-color: #161a1d; --base-pygments-code-color: #cccccc; --pst-color-link-hover: #09326c; --anyscale-border-color: #161a1d; } nav.bd-links li > a:hover { text-decoration: none; } a:hover { text-decoration-thickness: unset; } h1, h2, h3, h4, h5, h6 { color: var(--heading-color); } /* Gradient ellipse background */ .bd-sidebar-secondary { background-color: transparent; } .bd-content:after { /* Commenting the code below to make more modifications after 2.10 release */ /* background: linear-gradient( 60deg, rgba(0, 85, 204, 0.18) 14%, rgba(110, 93, 198, 0.18) 49.2%, rgba(174, 71, 135, 0.18) 81.54% ); */ background-size: 746px 746px; background-repeat: no-repeat; background-position: center; border-radius: 373px; background-origin: 50%; background-attachment: scroll; content: ''; transform: translate(50%, 0%); width: 746px; height: 746px; position: absolute; filter: blur(100px); z-index: -1; } /* Pygments diff code cell line colors; match github colorblind theme */ div.highlight > pre > span.gd { background-color: var(--color-diff-delete-bg); } div.highlight > pre > span.gi { background-color: var(--color-diff-insert-bg); } div.highlight > pre > span.w { background-color: var(--color-diff-nochange-bg); } /* Fix some pygments styles that inadvertently get overridden by PST */ .highlight pre { background-color: var(--stata-dark-background); color: var(--base-pygments-code-color); } /* Make the article content take up all available space */ .bd-main .bd-content .bd-article-container { max-width: 100%; /* default is 60em */ } .bd-page-width { max-width: 100%; /* default is 88rem */ } /* Hide the "Hide Search Matches" button (we aren't highlighting search terms anyway) */ #searchbox { display: none; } /* Top navbar styling */ .navbar-toplevel p { margin: 0; padding-inline-start: 0; } .ref-container > p { height: 100%; } div.navbar-dropdown { display: none; position: relative; left: -50%; color: var(--pst-color-text-muted); } span.navbar-link-title { color: var(--pst-color-text-base); } .navbar-sublevel p a.reference { text-decoration: none; color: var(--pst-color-text-muted); } .navbar-sublevel p a.reference:hover > span.navbar-link-title { text-decoration: underline; color: var(--pst-color-link-hover); } .navbar-toplevel li { display: inline-flex; justify-content: center; align-items: center; height: 100%; padding: 0em 1em; } ul.navbar-toplevel li:hover > div.navbar-dropdown { display: block; } ul.navbar-toplevel { display: flex; flex-direction: row; justify-content: center; align-items: center; margin: 0; height: 100%; padding-left: 0; } .navbar-content ul.navbar-sublevel { position: absolute; background: var(--pst-color-on-background); white-space: pre; padding: 0em 1em; display: flex; flex-direction: column; align-items: baseline; box-shadow: 0 5px 15px 0 rgb(0 0 0 / 10%); } div.navbar-content a { display: flex; flex-direction: column; align-items: start; white-space: pre; justify-content: center; /* pydata-sphinx-theme 0.14's `.navbar-nav li a { height: 100% }` was scoped to `ul.navbar-nav li a` in 0.17, which no longer matches our `