From 7ccff117991889079f6b781e683632daba847043 Mon Sep 17 00:00:00 2001 From: Julia Kent <46687291+jukent@users.noreply.github.com> Date: Fri, 31 May 2024 11:41:54 -0600 Subject: [PATCH 01/18] dark mode paragraph text --- sphinx_pythia_theme/static/sphinx-pythia-theme.min.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css b/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css index 997d17c..707990f 100644 --- a/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css +++ b/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css @@ -1,2 +1,8 @@ @import url(sphinx-book-theme.css);:root{--spt-font-body: 'Poppins';--spt-font-headings: 'Poppins';--spt-font-footnote: 'Cormorant';--spt-color-gray-100: 248, 249, 250;--spt-color-gray-200: 233, 236, 239;--spt-color-gray-300: 222, 226, 230;--spt-color-gray-400: 206, 212, 218;--spt-color-gray-500: 173, 181, 189;--spt-color-gray-600: 108, 117, 125;--spt-color-gray-700: 73, 80, 87;--spt-color-gray-800: 52, 58, 64;--spt-color-gray-900: 33, 37, 41;--spt-color-light: var(--spt-color-gray-100);--spt-color-dark: var(--spt-color-gray-800);--spt-color-green: 0, 121, 124;--spt-color-green-lighter: 20, 141, 144;--spt-color-green-lightest: 130, 231, 234;--spt-color-blue: 26, 101, 143;--spt-color-blue-lighter: 46, 121, 163;--spt-color-blue-lightest: 156, 191, 213;--spt-color-deep-blue: 1, 33, 105;--spt-color-green-highlight: 168, 199, 0;--pst-color-primary: var(--spt-color-blue) !important;--pst-color-primary-hover: var(--spt-color-blue-lighter) !important;--pst-color-secondary: var(--spt-color-blue-lightest) !important;--pst-color-link: #1a648f !important;--pst-color-link-hover: #9cbfd5 !important;--pst-color-headerlink: var(--spt-color-gray-300) !important;--pst-color-headerlink-hover: var(--spt-color-gray-100)!important;--pst-color-text-muted: #6c757d !important;--tabs-size-label: 0.8rem !important;--tabs-color-label-active: rgba(var(--pst-color-primary), 1) !important;--tabs-color-label-inactive: rgba(var(--spt-color-blue-lightest), 1) !important }body{font-family:var(--spt-font-body),sans-serif}html{scroll-behavior:smooth;scroll-padding-top:128px}.admonition.alert-info,div.admonition.alert-info{border-color:#0c5460 !important}.admonition.alert-info .admonition-title::before,div.admonition.alert-info .admonition-title::before{color:#0c5460 !important}.admonition.alert-success,div.admonition.alert-success{border-color:#155724 !important}.admonition.alert-success .admonition-title::before,div.admonition.alert-success .admonition-title::before{color:#155724 !important}.admonition.alert-warning,div.admonition.alert-warning{border-color:#856404 !important}.admonition.alert-warning .admonition-title::before,div.admonition.alert-warning .admonition-title::before{color:#856404 !important}.admonition.alert-danger,div.admonition.alert-danger{border-color:#721c24 !important}.admonition.alert-danger .admonition-title::before,div.admonition.alert-danger .admonition-title::before{color:#721c24 !important}.bg-primary{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary{background-color:rgba(var(--pst-color-primary), 1) !important;border-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary:hover{background-color:rgba(var(--pst-color-primary-hover), 1) !important;color:white !important}.btn-outline-primary{border-color:rgba(var(--pst-color-primary), 1) !important;color:rgba(var(--pst-color-primary), 1) !important}.btn-outline-primary:hover,.show>.btn-outline-primary.dropdown-toggle{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-link{color:rgba(var(--pst-color-primary), 1) !important}.display-1{font-size:5rem !important}.display-2{font-size:3rem !important}.display-3{font-size:2rem !important}.display-4{font-size:1.6667rem !important}.display-5{font-size:1.3333rem !important}.display-6{font-size:1rem !important}.form-control:focus{outline:none !important;box-shadow:none !important}.navbar-brand{padding:.75rem 0 !important}.row{margin-left:0 !important;margin-right:0 !important}a.badge{text-decoration:none !important}a.navbar-brand img{vertical-align:middle !important}body>div.container-fluid,body>div.container-xl{padding-right:0;padding-left:0}i.fab,i.far,i.fas{font-size:70%}a.headerlink i.fab,a.headerlink i.far,a.headerlink i.fas{position:absolute;top:50%;transform:translateY(-50%)}a.headerlink{position:relative;text-decoration:none;font-size:unset !important;padding:0 0.7rem !important}a.headerlink:hover{color:rgba(var(--spt-color-gray-500), 1);background-color:transparent}div.highlight pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.bd-sidebar .nav li>a{padding-top:0.1rem;padding-bottom:0.1rem}.bd-toc nav>.nav{border-left:1px solid #eee;border-bottom:1px solid #eee;border-radius:0 0 0 6px;padding-bottom:0.5em}.prev-next-area{margin:2rem auto 0 auto;border-top:1px solid rgba(var(--spt-color-gray-300), 1);max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}.prev-next-area i{font-size:1.1rem;color:rgba(var(--spt-color-gray-600), 1)}.prev-next-area a p.prev-next-title{font-size:1rem;font-weight:600;color:rgba(var(--spt-color-gray-600), 1)}#banner{margin-top:var(--pst-header-height) !important}#site-navigation{top:var(--pst-header-height) !important;height:calc(100vh - var(--pst-header-height)) !important;padding-top:0}#main-content{min-height:calc(100vh - var(--pst-header-height))}.topbar{top:var(--pst-header-height) !important;padding:0 !important}.topbar-main button:focus{outline:none !important}.cell .cell_input,.cell .cell_output{padding:0 !important}.cell .cell_input{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;border-left-color:rgba(var(--pst-color-primary), 1) !important;border-left-width:medium !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_input pre{border:none !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_output{border:none !important}.cell .cell_output pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.tabbed-content{box-shadow:0 -0.0625rem var(--tabs-color-overline) !important;padding-bottom:0 !important}.tabbed-set>label{padding:0 1rem !important;margin:0 !important}.thebe-launch-button{height:2.2em !important;font-size:.8em !important;border:1px solid rgba(var(--spt-color-gray-600), 1) !important;border-radius:4px !important;color:rgba(var(--spt-color-gray-600), 1)}#shim{padding:0;margin-top:var(--pst-header-height)}#navbar-main{z-index:5000;padding-left:15px;padding-right:15px}#navbar-main .container-xl{padding:0}.bd-header{background:#343a40 !important}#navbar-icon-links i:before{color:var(--spt-color-light) !important}main.standalone-main{padding:0 !important;background-color:white}main.standalone-main div.sectionwrapper-1,main.standalone-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1)}main.standalone-main div.section-1,main.standalone-main div.section-2{position:relative;padding-top:1rem;padding-bottom:1rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h2,main.standalone-main div.section-1 .h2,main.standalone-main div.section-1 h1,main.standalone-main div.section-1 .h1,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h2,main.standalone-main div.section-2 .h2,main.standalone-main div.section-2 h1,main.standalone-main div.section-2 .h1{margin-top:0;margin-bottom:0.5rem}main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6{padding:1rem 0}main.standalone-main div.section-title-wrapper{display:flex;justify-content:flex-start}main.standalone-main div.section-title{padding:0 4rem 0.1rem 0;margin:0 0 1.6rem 0;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main{padding:0 !important}main.banner-main #main-content{padding:0 !important}main.banner-main div.sectionwrapper-1{position:relative;background-size:cover;background-position:center center;color:rgba(var(--spt-color-light), 1);background-color:rgba(var(--spt-color-gray-700), 1)}main.banner-main div.sectionwrapper-1 div.section-banner-caption{position:absolute;right:0;bottom:0;font-size:0.8rem;opacity:0.6;padding-right:0.5rem}main.banner-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1);background-color:rgba(var(--spt-color-light), 1)}main.banner-main div.sectionwrapper-2:nth-child(even){background-color:rgba(var(--spt-color-gray-300), 1)}main.banner-main div.section-1,main.banner-main div.section-2{position:relative;padding-top:7rem;padding-bottom:7rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.banner-main div.section-1 h3,main.banner-main div.section-1 h4,main.banner-main div.section-1 h5,main.banner-main div.section-1 h6,main.banner-main div.section-2 h3,main.banner-main div.section-2 h4,main.banner-main div.section-2 h5,main.banner-main div.section-2 h6{padding:2rem 0 1rem 0;text-align:center}main.banner-main div.section-title-wrapper{display:flex;justify-content:center}main.banner-main div.section-title{padding:0 4rem 1rem 4rem;margin-bottom:3rem;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main p{font-size:1.25rem;font-weight:300}main.banner-main div.section.dark-banner h1,main.banner-main div.section.dark-banner h2,main.banner-main div.section.dark-banner h3,main.banner-main div.section.dark-banner h4,main.banner-main div.section.dark-banner h5,main.banner-main div.section.dark-banner h6{color:var(--spt-color-light) !important}main.banner-main div.section.dark-banner p{color:var(--spt-color-light) !important}.bd-main .bd-content .bd-article-container{max-width:100%}.bd-page-width{max-width:85%}.bd-footer{color:rgba(var(--spt-color-light), 1);font-size:0.8rem;font-family:var(--spt-font-footnote);padding:0}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6,.bd-footer p,.bd-footer a{color:rgba(var(--spt-color-light), 1);font-family:var(--spt-font-footnote)}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6{font-size:1rem;margin-bottom:5px}.bd-footer p{font-size:0.8rem}.bd-footer .footer-logos{background-color:rgba(var(--spt-color-gray-200), 1)}.bd-footer .footer-info,.bd-footer .footer-menu{color:rgba(var(--spt-color-gray-400), 1);background-color:rgba(var(--spt-color-dark), 1);padding-top:0.4rem;padding-bottom:0.4rem}.bd-footer .footer-info li,.bd-footer .footer-menu li{line-height:1rem;margin-bottom:5px}.bd-footer .footer-extra{background-color:rgba(var(--spt-color-gray-700), 1);padding-top:1rem;padding-bottom:1rem}.bd-footer .footer-extra img{height:60px}.iframe,.iframe-4x3,.iframe-16x9{position:relative;height:0;width:75%;margin-bottom:1rem;margin-left:auto;margin-right:auto}.iframe iframe,.iframe-4x3 iframe,.iframe-16x9 iframe{border:0;position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%}.iframe-16x9{padding-bottom:calc(0.75 * 56.25%)}.iframe-4x3{padding-bottom:calc(0.75 * 75%)} + +/* Dark mode styles */ +@media (prefers-color-scheme: dark) { + p { + color: black; + } \ No newline at end of file From 5a8ab40cd2617d63246a29ba90db84988341cdde Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 31 May 2024 17:43:25 +0000 Subject: [PATCH 02/18] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- sphinx_pythia_theme/static/sphinx-pythia-theme.min.css | 6 ------ 1 file changed, 6 deletions(-) diff --git a/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css b/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css index 707990f..997d17c 100644 --- a/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css +++ b/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css @@ -1,8 +1,2 @@ @import url(sphinx-book-theme.css);:root{--spt-font-body: 'Poppins';--spt-font-headings: 'Poppins';--spt-font-footnote: 'Cormorant';--spt-color-gray-100: 248, 249, 250;--spt-color-gray-200: 233, 236, 239;--spt-color-gray-300: 222, 226, 230;--spt-color-gray-400: 206, 212, 218;--spt-color-gray-500: 173, 181, 189;--spt-color-gray-600: 108, 117, 125;--spt-color-gray-700: 73, 80, 87;--spt-color-gray-800: 52, 58, 64;--spt-color-gray-900: 33, 37, 41;--spt-color-light: var(--spt-color-gray-100);--spt-color-dark: var(--spt-color-gray-800);--spt-color-green: 0, 121, 124;--spt-color-green-lighter: 20, 141, 144;--spt-color-green-lightest: 130, 231, 234;--spt-color-blue: 26, 101, 143;--spt-color-blue-lighter: 46, 121, 163;--spt-color-blue-lightest: 156, 191, 213;--spt-color-deep-blue: 1, 33, 105;--spt-color-green-highlight: 168, 199, 0;--pst-color-primary: var(--spt-color-blue) !important;--pst-color-primary-hover: var(--spt-color-blue-lighter) !important;--pst-color-secondary: var(--spt-color-blue-lightest) !important;--pst-color-link: #1a648f !important;--pst-color-link-hover: #9cbfd5 !important;--pst-color-headerlink: var(--spt-color-gray-300) !important;--pst-color-headerlink-hover: var(--spt-color-gray-100)!important;--pst-color-text-muted: #6c757d !important;--tabs-size-label: 0.8rem !important;--tabs-color-label-active: rgba(var(--pst-color-primary), 1) !important;--tabs-color-label-inactive: rgba(var(--spt-color-blue-lightest), 1) !important }body{font-family:var(--spt-font-body),sans-serif}html{scroll-behavior:smooth;scroll-padding-top:128px}.admonition.alert-info,div.admonition.alert-info{border-color:#0c5460 !important}.admonition.alert-info .admonition-title::before,div.admonition.alert-info .admonition-title::before{color:#0c5460 !important}.admonition.alert-success,div.admonition.alert-success{border-color:#155724 !important}.admonition.alert-success .admonition-title::before,div.admonition.alert-success .admonition-title::before{color:#155724 !important}.admonition.alert-warning,div.admonition.alert-warning{border-color:#856404 !important}.admonition.alert-warning .admonition-title::before,div.admonition.alert-warning .admonition-title::before{color:#856404 !important}.admonition.alert-danger,div.admonition.alert-danger{border-color:#721c24 !important}.admonition.alert-danger .admonition-title::before,div.admonition.alert-danger .admonition-title::before{color:#721c24 !important}.bg-primary{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary{background-color:rgba(var(--pst-color-primary), 1) !important;border-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary:hover{background-color:rgba(var(--pst-color-primary-hover), 1) !important;color:white !important}.btn-outline-primary{border-color:rgba(var(--pst-color-primary), 1) !important;color:rgba(var(--pst-color-primary), 1) !important}.btn-outline-primary:hover,.show>.btn-outline-primary.dropdown-toggle{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-link{color:rgba(var(--pst-color-primary), 1) !important}.display-1{font-size:5rem !important}.display-2{font-size:3rem !important}.display-3{font-size:2rem !important}.display-4{font-size:1.6667rem !important}.display-5{font-size:1.3333rem !important}.display-6{font-size:1rem !important}.form-control:focus{outline:none !important;box-shadow:none !important}.navbar-brand{padding:.75rem 0 !important}.row{margin-left:0 !important;margin-right:0 !important}a.badge{text-decoration:none !important}a.navbar-brand img{vertical-align:middle !important}body>div.container-fluid,body>div.container-xl{padding-right:0;padding-left:0}i.fab,i.far,i.fas{font-size:70%}a.headerlink i.fab,a.headerlink i.far,a.headerlink i.fas{position:absolute;top:50%;transform:translateY(-50%)}a.headerlink{position:relative;text-decoration:none;font-size:unset !important;padding:0 0.7rem !important}a.headerlink:hover{color:rgba(var(--spt-color-gray-500), 1);background-color:transparent}div.highlight pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.bd-sidebar .nav li>a{padding-top:0.1rem;padding-bottom:0.1rem}.bd-toc nav>.nav{border-left:1px solid #eee;border-bottom:1px solid #eee;border-radius:0 0 0 6px;padding-bottom:0.5em}.prev-next-area{margin:2rem auto 0 auto;border-top:1px solid rgba(var(--spt-color-gray-300), 1);max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}.prev-next-area i{font-size:1.1rem;color:rgba(var(--spt-color-gray-600), 1)}.prev-next-area a p.prev-next-title{font-size:1rem;font-weight:600;color:rgba(var(--spt-color-gray-600), 1)}#banner{margin-top:var(--pst-header-height) !important}#site-navigation{top:var(--pst-header-height) !important;height:calc(100vh - var(--pst-header-height)) !important;padding-top:0}#main-content{min-height:calc(100vh - var(--pst-header-height))}.topbar{top:var(--pst-header-height) !important;padding:0 !important}.topbar-main button:focus{outline:none !important}.cell .cell_input,.cell .cell_output{padding:0 !important}.cell .cell_input{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;border-left-color:rgba(var(--pst-color-primary), 1) !important;border-left-width:medium !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_input pre{border:none !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_output{border:none !important}.cell .cell_output pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.tabbed-content{box-shadow:0 -0.0625rem var(--tabs-color-overline) !important;padding-bottom:0 !important}.tabbed-set>label{padding:0 1rem !important;margin:0 !important}.thebe-launch-button{height:2.2em !important;font-size:.8em !important;border:1px solid rgba(var(--spt-color-gray-600), 1) !important;border-radius:4px !important;color:rgba(var(--spt-color-gray-600), 1)}#shim{padding:0;margin-top:var(--pst-header-height)}#navbar-main{z-index:5000;padding-left:15px;padding-right:15px}#navbar-main .container-xl{padding:0}.bd-header{background:#343a40 !important}#navbar-icon-links i:before{color:var(--spt-color-light) !important}main.standalone-main{padding:0 !important;background-color:white}main.standalone-main div.sectionwrapper-1,main.standalone-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1)}main.standalone-main div.section-1,main.standalone-main div.section-2{position:relative;padding-top:1rem;padding-bottom:1rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h2,main.standalone-main div.section-1 .h2,main.standalone-main div.section-1 h1,main.standalone-main div.section-1 .h1,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h2,main.standalone-main div.section-2 .h2,main.standalone-main div.section-2 h1,main.standalone-main div.section-2 .h1{margin-top:0;margin-bottom:0.5rem}main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6{padding:1rem 0}main.standalone-main div.section-title-wrapper{display:flex;justify-content:flex-start}main.standalone-main div.section-title{padding:0 4rem 0.1rem 0;margin:0 0 1.6rem 0;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main{padding:0 !important}main.banner-main #main-content{padding:0 !important}main.banner-main div.sectionwrapper-1{position:relative;background-size:cover;background-position:center center;color:rgba(var(--spt-color-light), 1);background-color:rgba(var(--spt-color-gray-700), 1)}main.banner-main div.sectionwrapper-1 div.section-banner-caption{position:absolute;right:0;bottom:0;font-size:0.8rem;opacity:0.6;padding-right:0.5rem}main.banner-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1);background-color:rgba(var(--spt-color-light), 1)}main.banner-main div.sectionwrapper-2:nth-child(even){background-color:rgba(var(--spt-color-gray-300), 1)}main.banner-main div.section-1,main.banner-main div.section-2{position:relative;padding-top:7rem;padding-bottom:7rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.banner-main div.section-1 h3,main.banner-main div.section-1 h4,main.banner-main div.section-1 h5,main.banner-main div.section-1 h6,main.banner-main div.section-2 h3,main.banner-main div.section-2 h4,main.banner-main div.section-2 h5,main.banner-main div.section-2 h6{padding:2rem 0 1rem 0;text-align:center}main.banner-main div.section-title-wrapper{display:flex;justify-content:center}main.banner-main div.section-title{padding:0 4rem 1rem 4rem;margin-bottom:3rem;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main p{font-size:1.25rem;font-weight:300}main.banner-main div.section.dark-banner h1,main.banner-main div.section.dark-banner h2,main.banner-main div.section.dark-banner h3,main.banner-main div.section.dark-banner h4,main.banner-main div.section.dark-banner h5,main.banner-main div.section.dark-banner h6{color:var(--spt-color-light) !important}main.banner-main div.section.dark-banner p{color:var(--spt-color-light) !important}.bd-main .bd-content .bd-article-container{max-width:100%}.bd-page-width{max-width:85%}.bd-footer{color:rgba(var(--spt-color-light), 1);font-size:0.8rem;font-family:var(--spt-font-footnote);padding:0}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6,.bd-footer p,.bd-footer a{color:rgba(var(--spt-color-light), 1);font-family:var(--spt-font-footnote)}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6{font-size:1rem;margin-bottom:5px}.bd-footer p{font-size:0.8rem}.bd-footer .footer-logos{background-color:rgba(var(--spt-color-gray-200), 1)}.bd-footer .footer-info,.bd-footer .footer-menu{color:rgba(var(--spt-color-gray-400), 1);background-color:rgba(var(--spt-color-dark), 1);padding-top:0.4rem;padding-bottom:0.4rem}.bd-footer .footer-info li,.bd-footer .footer-menu li{line-height:1rem;margin-bottom:5px}.bd-footer .footer-extra{background-color:rgba(var(--spt-color-gray-700), 1);padding-top:1rem;padding-bottom:1rem}.bd-footer .footer-extra img{height:60px}.iframe,.iframe-4x3,.iframe-16x9{position:relative;height:0;width:75%;margin-bottom:1rem;margin-left:auto;margin-right:auto}.iframe iframe,.iframe-4x3 iframe,.iframe-16x9 iframe{border:0;position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%}.iframe-16x9{padding-bottom:calc(0.75 * 56.25%)}.iframe-4x3{padding-bottom:calc(0.75 * 75%)} - -/* Dark mode styles */ -@media (prefers-color-scheme: dark) { - p { - color: black; - } \ No newline at end of file From d658d6ea259bf245edf2aaff2cd31afa2b040ec3 Mon Sep 17 00:00:00 2001 From: Julia Kent <46687291+jukent@users.noreply.github.com> Date: Mon, 3 Jun 2024 11:23:36 -0600 Subject: [PATCH 03/18] try again --- sphinx_pythia_theme/static/sphinx-pythia-theme.min.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css b/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css index 997d17c..f7e5e4f 100644 --- a/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css +++ b/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css @@ -1,2 +1,9 @@ @import url(sphinx-book-theme.css);:root{--spt-font-body: 'Poppins';--spt-font-headings: 'Poppins';--spt-font-footnote: 'Cormorant';--spt-color-gray-100: 248, 249, 250;--spt-color-gray-200: 233, 236, 239;--spt-color-gray-300: 222, 226, 230;--spt-color-gray-400: 206, 212, 218;--spt-color-gray-500: 173, 181, 189;--spt-color-gray-600: 108, 117, 125;--spt-color-gray-700: 73, 80, 87;--spt-color-gray-800: 52, 58, 64;--spt-color-gray-900: 33, 37, 41;--spt-color-light: var(--spt-color-gray-100);--spt-color-dark: var(--spt-color-gray-800);--spt-color-green: 0, 121, 124;--spt-color-green-lighter: 20, 141, 144;--spt-color-green-lightest: 130, 231, 234;--spt-color-blue: 26, 101, 143;--spt-color-blue-lighter: 46, 121, 163;--spt-color-blue-lightest: 156, 191, 213;--spt-color-deep-blue: 1, 33, 105;--spt-color-green-highlight: 168, 199, 0;--pst-color-primary: var(--spt-color-blue) !important;--pst-color-primary-hover: var(--spt-color-blue-lighter) !important;--pst-color-secondary: var(--spt-color-blue-lightest) !important;--pst-color-link: #1a648f !important;--pst-color-link-hover: #9cbfd5 !important;--pst-color-headerlink: var(--spt-color-gray-300) !important;--pst-color-headerlink-hover: var(--spt-color-gray-100)!important;--pst-color-text-muted: #6c757d !important;--tabs-size-label: 0.8rem !important;--tabs-color-label-active: rgba(var(--pst-color-primary), 1) !important;--tabs-color-label-inactive: rgba(var(--spt-color-blue-lightest), 1) !important }body{font-family:var(--spt-font-body),sans-serif}html{scroll-behavior:smooth;scroll-padding-top:128px}.admonition.alert-info,div.admonition.alert-info{border-color:#0c5460 !important}.admonition.alert-info .admonition-title::before,div.admonition.alert-info .admonition-title::before{color:#0c5460 !important}.admonition.alert-success,div.admonition.alert-success{border-color:#155724 !important}.admonition.alert-success .admonition-title::before,div.admonition.alert-success .admonition-title::before{color:#155724 !important}.admonition.alert-warning,div.admonition.alert-warning{border-color:#856404 !important}.admonition.alert-warning .admonition-title::before,div.admonition.alert-warning .admonition-title::before{color:#856404 !important}.admonition.alert-danger,div.admonition.alert-danger{border-color:#721c24 !important}.admonition.alert-danger .admonition-title::before,div.admonition.alert-danger .admonition-title::before{color:#721c24 !important}.bg-primary{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary{background-color:rgba(var(--pst-color-primary), 1) !important;border-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary:hover{background-color:rgba(var(--pst-color-primary-hover), 1) !important;color:white !important}.btn-outline-primary{border-color:rgba(var(--pst-color-primary), 1) !important;color:rgba(var(--pst-color-primary), 1) !important}.btn-outline-primary:hover,.show>.btn-outline-primary.dropdown-toggle{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-link{color:rgba(var(--pst-color-primary), 1) !important}.display-1{font-size:5rem !important}.display-2{font-size:3rem !important}.display-3{font-size:2rem !important}.display-4{font-size:1.6667rem !important}.display-5{font-size:1.3333rem !important}.display-6{font-size:1rem !important}.form-control:focus{outline:none !important;box-shadow:none !important}.navbar-brand{padding:.75rem 0 !important}.row{margin-left:0 !important;margin-right:0 !important}a.badge{text-decoration:none !important}a.navbar-brand img{vertical-align:middle !important}body>div.container-fluid,body>div.container-xl{padding-right:0;padding-left:0}i.fab,i.far,i.fas{font-size:70%}a.headerlink i.fab,a.headerlink i.far,a.headerlink i.fas{position:absolute;top:50%;transform:translateY(-50%)}a.headerlink{position:relative;text-decoration:none;font-size:unset !important;padding:0 0.7rem !important}a.headerlink:hover{color:rgba(var(--spt-color-gray-500), 1);background-color:transparent}div.highlight pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.bd-sidebar .nav li>a{padding-top:0.1rem;padding-bottom:0.1rem}.bd-toc nav>.nav{border-left:1px solid #eee;border-bottom:1px solid #eee;border-radius:0 0 0 6px;padding-bottom:0.5em}.prev-next-area{margin:2rem auto 0 auto;border-top:1px solid rgba(var(--spt-color-gray-300), 1);max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}.prev-next-area i{font-size:1.1rem;color:rgba(var(--spt-color-gray-600), 1)}.prev-next-area a p.prev-next-title{font-size:1rem;font-weight:600;color:rgba(var(--spt-color-gray-600), 1)}#banner{margin-top:var(--pst-header-height) !important}#site-navigation{top:var(--pst-header-height) !important;height:calc(100vh - var(--pst-header-height)) !important;padding-top:0}#main-content{min-height:calc(100vh - var(--pst-header-height))}.topbar{top:var(--pst-header-height) !important;padding:0 !important}.topbar-main button:focus{outline:none !important}.cell .cell_input,.cell .cell_output{padding:0 !important}.cell .cell_input{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;border-left-color:rgba(var(--pst-color-primary), 1) !important;border-left-width:medium !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_input pre{border:none !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_output{border:none !important}.cell .cell_output pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.tabbed-content{box-shadow:0 -0.0625rem var(--tabs-color-overline) !important;padding-bottom:0 !important}.tabbed-set>label{padding:0 1rem !important;margin:0 !important}.thebe-launch-button{height:2.2em !important;font-size:.8em !important;border:1px solid rgba(var(--spt-color-gray-600), 1) !important;border-radius:4px !important;color:rgba(var(--spt-color-gray-600), 1)}#shim{padding:0;margin-top:var(--pst-header-height)}#navbar-main{z-index:5000;padding-left:15px;padding-right:15px}#navbar-main .container-xl{padding:0}.bd-header{background:#343a40 !important}#navbar-icon-links i:before{color:var(--spt-color-light) !important}main.standalone-main{padding:0 !important;background-color:white}main.standalone-main div.sectionwrapper-1,main.standalone-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1)}main.standalone-main div.section-1,main.standalone-main div.section-2{position:relative;padding-top:1rem;padding-bottom:1rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h2,main.standalone-main div.section-1 .h2,main.standalone-main div.section-1 h1,main.standalone-main div.section-1 .h1,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h2,main.standalone-main div.section-2 .h2,main.standalone-main div.section-2 h1,main.standalone-main div.section-2 .h1{margin-top:0;margin-bottom:0.5rem}main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6{padding:1rem 0}main.standalone-main div.section-title-wrapper{display:flex;justify-content:flex-start}main.standalone-main div.section-title{padding:0 4rem 0.1rem 0;margin:0 0 1.6rem 0;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main{padding:0 !important}main.banner-main #main-content{padding:0 !important}main.banner-main div.sectionwrapper-1{position:relative;background-size:cover;background-position:center center;color:rgba(var(--spt-color-light), 1);background-color:rgba(var(--spt-color-gray-700), 1)}main.banner-main div.sectionwrapper-1 div.section-banner-caption{position:absolute;right:0;bottom:0;font-size:0.8rem;opacity:0.6;padding-right:0.5rem}main.banner-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1);background-color:rgba(var(--spt-color-light), 1)}main.banner-main div.sectionwrapper-2:nth-child(even){background-color:rgba(var(--spt-color-gray-300), 1)}main.banner-main div.section-1,main.banner-main div.section-2{position:relative;padding-top:7rem;padding-bottom:7rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.banner-main div.section-1 h3,main.banner-main div.section-1 h4,main.banner-main div.section-1 h5,main.banner-main div.section-1 h6,main.banner-main div.section-2 h3,main.banner-main div.section-2 h4,main.banner-main div.section-2 h5,main.banner-main div.section-2 h6{padding:2rem 0 1rem 0;text-align:center}main.banner-main div.section-title-wrapper{display:flex;justify-content:center}main.banner-main div.section-title{padding:0 4rem 1rem 4rem;margin-bottom:3rem;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main p{font-size:1.25rem;font-weight:300}main.banner-main div.section.dark-banner h1,main.banner-main div.section.dark-banner h2,main.banner-main div.section.dark-banner h3,main.banner-main div.section.dark-banner h4,main.banner-main div.section.dark-banner h5,main.banner-main div.section.dark-banner h6{color:var(--spt-color-light) !important}main.banner-main div.section.dark-banner p{color:var(--spt-color-light) !important}.bd-main .bd-content .bd-article-container{max-width:100%}.bd-page-width{max-width:85%}.bd-footer{color:rgba(var(--spt-color-light), 1);font-size:0.8rem;font-family:var(--spt-font-footnote);padding:0}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6,.bd-footer p,.bd-footer a{color:rgba(var(--spt-color-light), 1);font-family:var(--spt-font-footnote)}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6{font-size:1rem;margin-bottom:5px}.bd-footer p{font-size:0.8rem}.bd-footer .footer-logos{background-color:rgba(var(--spt-color-gray-200), 1)}.bd-footer .footer-info,.bd-footer .footer-menu{color:rgba(var(--spt-color-gray-400), 1);background-color:rgba(var(--spt-color-dark), 1);padding-top:0.4rem;padding-bottom:0.4rem}.bd-footer .footer-info li,.bd-footer .footer-menu li{line-height:1rem;margin-bottom:5px}.bd-footer .footer-extra{background-color:rgba(var(--spt-color-gray-700), 1);padding-top:1rem;padding-bottom:1rem}.bd-footer .footer-extra img{height:60px}.iframe,.iframe-4x3,.iframe-16x9{position:relative;height:0;width:75%;margin-bottom:1rem;margin-left:auto;margin-right:auto}.iframe iframe,.iframe-4x3 iframe,.iframe-16x9 iframe{border:0;position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%}.iframe-16x9{padding-bottom:calc(0.75 * 56.25%)}.iframe-4x3{padding-bottom:calc(0.75 * 75%)} + +/* Dark mode styles */ +@media (prefers-color-scheme: dark) { + p { + color: black; + } +} \ No newline at end of file From c5e4cf00e463c91076d70ad679448b0bd0724959 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 3 Jun 2024 17:23:48 +0000 Subject: [PATCH 04/18] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- sphinx_pythia_theme/static/sphinx-pythia-theme.min.css | 7 ------- 1 file changed, 7 deletions(-) diff --git a/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css b/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css index f7e5e4f..997d17c 100644 --- a/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css +++ b/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css @@ -1,9 +1,2 @@ @import url(sphinx-book-theme.css);:root{--spt-font-body: 'Poppins';--spt-font-headings: 'Poppins';--spt-font-footnote: 'Cormorant';--spt-color-gray-100: 248, 249, 250;--spt-color-gray-200: 233, 236, 239;--spt-color-gray-300: 222, 226, 230;--spt-color-gray-400: 206, 212, 218;--spt-color-gray-500: 173, 181, 189;--spt-color-gray-600: 108, 117, 125;--spt-color-gray-700: 73, 80, 87;--spt-color-gray-800: 52, 58, 64;--spt-color-gray-900: 33, 37, 41;--spt-color-light: var(--spt-color-gray-100);--spt-color-dark: var(--spt-color-gray-800);--spt-color-green: 0, 121, 124;--spt-color-green-lighter: 20, 141, 144;--spt-color-green-lightest: 130, 231, 234;--spt-color-blue: 26, 101, 143;--spt-color-blue-lighter: 46, 121, 163;--spt-color-blue-lightest: 156, 191, 213;--spt-color-deep-blue: 1, 33, 105;--spt-color-green-highlight: 168, 199, 0;--pst-color-primary: var(--spt-color-blue) !important;--pst-color-primary-hover: var(--spt-color-blue-lighter) !important;--pst-color-secondary: var(--spt-color-blue-lightest) !important;--pst-color-link: #1a648f !important;--pst-color-link-hover: #9cbfd5 !important;--pst-color-headerlink: var(--spt-color-gray-300) !important;--pst-color-headerlink-hover: var(--spt-color-gray-100)!important;--pst-color-text-muted: #6c757d !important;--tabs-size-label: 0.8rem !important;--tabs-color-label-active: rgba(var(--pst-color-primary), 1) !important;--tabs-color-label-inactive: rgba(var(--spt-color-blue-lightest), 1) !important }body{font-family:var(--spt-font-body),sans-serif}html{scroll-behavior:smooth;scroll-padding-top:128px}.admonition.alert-info,div.admonition.alert-info{border-color:#0c5460 !important}.admonition.alert-info .admonition-title::before,div.admonition.alert-info .admonition-title::before{color:#0c5460 !important}.admonition.alert-success,div.admonition.alert-success{border-color:#155724 !important}.admonition.alert-success .admonition-title::before,div.admonition.alert-success .admonition-title::before{color:#155724 !important}.admonition.alert-warning,div.admonition.alert-warning{border-color:#856404 !important}.admonition.alert-warning .admonition-title::before,div.admonition.alert-warning .admonition-title::before{color:#856404 !important}.admonition.alert-danger,div.admonition.alert-danger{border-color:#721c24 !important}.admonition.alert-danger .admonition-title::before,div.admonition.alert-danger .admonition-title::before{color:#721c24 !important}.bg-primary{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary{background-color:rgba(var(--pst-color-primary), 1) !important;border-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary:hover{background-color:rgba(var(--pst-color-primary-hover), 1) !important;color:white !important}.btn-outline-primary{border-color:rgba(var(--pst-color-primary), 1) !important;color:rgba(var(--pst-color-primary), 1) !important}.btn-outline-primary:hover,.show>.btn-outline-primary.dropdown-toggle{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-link{color:rgba(var(--pst-color-primary), 1) !important}.display-1{font-size:5rem !important}.display-2{font-size:3rem !important}.display-3{font-size:2rem !important}.display-4{font-size:1.6667rem !important}.display-5{font-size:1.3333rem !important}.display-6{font-size:1rem !important}.form-control:focus{outline:none !important;box-shadow:none !important}.navbar-brand{padding:.75rem 0 !important}.row{margin-left:0 !important;margin-right:0 !important}a.badge{text-decoration:none !important}a.navbar-brand img{vertical-align:middle !important}body>div.container-fluid,body>div.container-xl{padding-right:0;padding-left:0}i.fab,i.far,i.fas{font-size:70%}a.headerlink i.fab,a.headerlink i.far,a.headerlink i.fas{position:absolute;top:50%;transform:translateY(-50%)}a.headerlink{position:relative;text-decoration:none;font-size:unset !important;padding:0 0.7rem !important}a.headerlink:hover{color:rgba(var(--spt-color-gray-500), 1);background-color:transparent}div.highlight pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.bd-sidebar .nav li>a{padding-top:0.1rem;padding-bottom:0.1rem}.bd-toc nav>.nav{border-left:1px solid #eee;border-bottom:1px solid #eee;border-radius:0 0 0 6px;padding-bottom:0.5em}.prev-next-area{margin:2rem auto 0 auto;border-top:1px solid rgba(var(--spt-color-gray-300), 1);max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}.prev-next-area i{font-size:1.1rem;color:rgba(var(--spt-color-gray-600), 1)}.prev-next-area a p.prev-next-title{font-size:1rem;font-weight:600;color:rgba(var(--spt-color-gray-600), 1)}#banner{margin-top:var(--pst-header-height) !important}#site-navigation{top:var(--pst-header-height) !important;height:calc(100vh - var(--pst-header-height)) !important;padding-top:0}#main-content{min-height:calc(100vh - var(--pst-header-height))}.topbar{top:var(--pst-header-height) !important;padding:0 !important}.topbar-main button:focus{outline:none !important}.cell .cell_input,.cell .cell_output{padding:0 !important}.cell .cell_input{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;border-left-color:rgba(var(--pst-color-primary), 1) !important;border-left-width:medium !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_input pre{border:none !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_output{border:none !important}.cell .cell_output pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.tabbed-content{box-shadow:0 -0.0625rem var(--tabs-color-overline) !important;padding-bottom:0 !important}.tabbed-set>label{padding:0 1rem !important;margin:0 !important}.thebe-launch-button{height:2.2em !important;font-size:.8em !important;border:1px solid rgba(var(--spt-color-gray-600), 1) !important;border-radius:4px !important;color:rgba(var(--spt-color-gray-600), 1)}#shim{padding:0;margin-top:var(--pst-header-height)}#navbar-main{z-index:5000;padding-left:15px;padding-right:15px}#navbar-main .container-xl{padding:0}.bd-header{background:#343a40 !important}#navbar-icon-links i:before{color:var(--spt-color-light) !important}main.standalone-main{padding:0 !important;background-color:white}main.standalone-main div.sectionwrapper-1,main.standalone-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1)}main.standalone-main div.section-1,main.standalone-main div.section-2{position:relative;padding-top:1rem;padding-bottom:1rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h2,main.standalone-main div.section-1 .h2,main.standalone-main div.section-1 h1,main.standalone-main div.section-1 .h1,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h2,main.standalone-main div.section-2 .h2,main.standalone-main div.section-2 h1,main.standalone-main div.section-2 .h1{margin-top:0;margin-bottom:0.5rem}main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6{padding:1rem 0}main.standalone-main div.section-title-wrapper{display:flex;justify-content:flex-start}main.standalone-main div.section-title{padding:0 4rem 0.1rem 0;margin:0 0 1.6rem 0;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main{padding:0 !important}main.banner-main #main-content{padding:0 !important}main.banner-main div.sectionwrapper-1{position:relative;background-size:cover;background-position:center center;color:rgba(var(--spt-color-light), 1);background-color:rgba(var(--spt-color-gray-700), 1)}main.banner-main div.sectionwrapper-1 div.section-banner-caption{position:absolute;right:0;bottom:0;font-size:0.8rem;opacity:0.6;padding-right:0.5rem}main.banner-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1);background-color:rgba(var(--spt-color-light), 1)}main.banner-main div.sectionwrapper-2:nth-child(even){background-color:rgba(var(--spt-color-gray-300), 1)}main.banner-main div.section-1,main.banner-main div.section-2{position:relative;padding-top:7rem;padding-bottom:7rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.banner-main div.section-1 h3,main.banner-main div.section-1 h4,main.banner-main div.section-1 h5,main.banner-main div.section-1 h6,main.banner-main div.section-2 h3,main.banner-main div.section-2 h4,main.banner-main div.section-2 h5,main.banner-main div.section-2 h6{padding:2rem 0 1rem 0;text-align:center}main.banner-main div.section-title-wrapper{display:flex;justify-content:center}main.banner-main div.section-title{padding:0 4rem 1rem 4rem;margin-bottom:3rem;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main p{font-size:1.25rem;font-weight:300}main.banner-main div.section.dark-banner h1,main.banner-main div.section.dark-banner h2,main.banner-main div.section.dark-banner h3,main.banner-main div.section.dark-banner h4,main.banner-main div.section.dark-banner h5,main.banner-main div.section.dark-banner h6{color:var(--spt-color-light) !important}main.banner-main div.section.dark-banner p{color:var(--spt-color-light) !important}.bd-main .bd-content .bd-article-container{max-width:100%}.bd-page-width{max-width:85%}.bd-footer{color:rgba(var(--spt-color-light), 1);font-size:0.8rem;font-family:var(--spt-font-footnote);padding:0}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6,.bd-footer p,.bd-footer a{color:rgba(var(--spt-color-light), 1);font-family:var(--spt-font-footnote)}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6{font-size:1rem;margin-bottom:5px}.bd-footer p{font-size:0.8rem}.bd-footer .footer-logos{background-color:rgba(var(--spt-color-gray-200), 1)}.bd-footer .footer-info,.bd-footer .footer-menu{color:rgba(var(--spt-color-gray-400), 1);background-color:rgba(var(--spt-color-dark), 1);padding-top:0.4rem;padding-bottom:0.4rem}.bd-footer .footer-info li,.bd-footer .footer-menu li{line-height:1rem;margin-bottom:5px}.bd-footer .footer-extra{background-color:rgba(var(--spt-color-gray-700), 1);padding-top:1rem;padding-bottom:1rem}.bd-footer .footer-extra img{height:60px}.iframe,.iframe-4x3,.iframe-16x9{position:relative;height:0;width:75%;margin-bottom:1rem;margin-left:auto;margin-right:auto}.iframe iframe,.iframe-4x3 iframe,.iframe-16x9 iframe{border:0;position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%}.iframe-16x9{padding-bottom:calc(0.75 * 56.25%)}.iframe-4x3{padding-bottom:calc(0.75 * 75%)} - -/* Dark mode styles */ -@media (prefers-color-scheme: dark) { - p { - color: black; - } -} \ No newline at end of file From 8c3dbd39c3c0bd6237352630ece6d847a26e1521 Mon Sep 17 00:00:00 2001 From: Julia Kent <46687291+jukent@users.noreply.github.com> Date: Mon, 3 Jun 2024 11:36:01 -0600 Subject: [PATCH 05/18] change scss instead --- src/scss/sphinx-pythia-theme.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/scss/sphinx-pythia-theme.scss b/src/scss/sphinx-pythia-theme.scss index 0944af2..afa9b3f 100644 --- a/src/scss/sphinx-pythia-theme.scss +++ b/src/scss/sphinx-pythia-theme.scss @@ -287,3 +287,10 @@ main.banner-main { @extend .iframe; padding-bottom: calc(0.75 * 75%); } + +/* Dark mode styles */ +@media (prefers-color-scheme: dark) { + p { + color: black; + } +} \ No newline at end of file From 161c3e16d92ff7eba1adbbe8486ff7219f3bbdf9 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 3 Jun 2024 17:36:53 +0000 Subject: [PATCH 06/18] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- sphinx_pythia_theme/static/sphinx-pythia-theme.min.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css b/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css index 997d17c..c6c472d 100644 --- a/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css +++ b/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css @@ -1,2 +1,2 @@ @import url(sphinx-book-theme.css);:root{--spt-font-body: 'Poppins';--spt-font-headings: 'Poppins';--spt-font-footnote: 'Cormorant';--spt-color-gray-100: 248, 249, 250;--spt-color-gray-200: 233, 236, 239;--spt-color-gray-300: 222, 226, 230;--spt-color-gray-400: 206, 212, 218;--spt-color-gray-500: 173, 181, 189;--spt-color-gray-600: 108, 117, 125;--spt-color-gray-700: 73, 80, 87;--spt-color-gray-800: 52, 58, 64;--spt-color-gray-900: 33, 37, 41;--spt-color-light: var(--spt-color-gray-100);--spt-color-dark: var(--spt-color-gray-800);--spt-color-green: 0, 121, 124;--spt-color-green-lighter: 20, 141, 144;--spt-color-green-lightest: 130, 231, 234;--spt-color-blue: 26, 101, 143;--spt-color-blue-lighter: 46, 121, 163;--spt-color-blue-lightest: 156, 191, 213;--spt-color-deep-blue: 1, 33, 105;--spt-color-green-highlight: 168, 199, 0;--pst-color-primary: var(--spt-color-blue) !important;--pst-color-primary-hover: var(--spt-color-blue-lighter) !important;--pst-color-secondary: var(--spt-color-blue-lightest) !important;--pst-color-link: #1a648f !important;--pst-color-link-hover: #9cbfd5 !important;--pst-color-headerlink: var(--spt-color-gray-300) !important;--pst-color-headerlink-hover: var(--spt-color-gray-100)!important;--pst-color-text-muted: #6c757d !important;--tabs-size-label: 0.8rem !important;--tabs-color-label-active: rgba(var(--pst-color-primary), 1) !important;--tabs-color-label-inactive: rgba(var(--spt-color-blue-lightest), 1) !important -}body{font-family:var(--spt-font-body),sans-serif}html{scroll-behavior:smooth;scroll-padding-top:128px}.admonition.alert-info,div.admonition.alert-info{border-color:#0c5460 !important}.admonition.alert-info .admonition-title::before,div.admonition.alert-info .admonition-title::before{color:#0c5460 !important}.admonition.alert-success,div.admonition.alert-success{border-color:#155724 !important}.admonition.alert-success .admonition-title::before,div.admonition.alert-success .admonition-title::before{color:#155724 !important}.admonition.alert-warning,div.admonition.alert-warning{border-color:#856404 !important}.admonition.alert-warning .admonition-title::before,div.admonition.alert-warning .admonition-title::before{color:#856404 !important}.admonition.alert-danger,div.admonition.alert-danger{border-color:#721c24 !important}.admonition.alert-danger .admonition-title::before,div.admonition.alert-danger .admonition-title::before{color:#721c24 !important}.bg-primary{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary{background-color:rgba(var(--pst-color-primary), 1) !important;border-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary:hover{background-color:rgba(var(--pst-color-primary-hover), 1) !important;color:white !important}.btn-outline-primary{border-color:rgba(var(--pst-color-primary), 1) !important;color:rgba(var(--pst-color-primary), 1) !important}.btn-outline-primary:hover,.show>.btn-outline-primary.dropdown-toggle{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-link{color:rgba(var(--pst-color-primary), 1) !important}.display-1{font-size:5rem !important}.display-2{font-size:3rem !important}.display-3{font-size:2rem !important}.display-4{font-size:1.6667rem !important}.display-5{font-size:1.3333rem !important}.display-6{font-size:1rem !important}.form-control:focus{outline:none !important;box-shadow:none !important}.navbar-brand{padding:.75rem 0 !important}.row{margin-left:0 !important;margin-right:0 !important}a.badge{text-decoration:none !important}a.navbar-brand img{vertical-align:middle !important}body>div.container-fluid,body>div.container-xl{padding-right:0;padding-left:0}i.fab,i.far,i.fas{font-size:70%}a.headerlink i.fab,a.headerlink i.far,a.headerlink i.fas{position:absolute;top:50%;transform:translateY(-50%)}a.headerlink{position:relative;text-decoration:none;font-size:unset !important;padding:0 0.7rem !important}a.headerlink:hover{color:rgba(var(--spt-color-gray-500), 1);background-color:transparent}div.highlight pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.bd-sidebar .nav li>a{padding-top:0.1rem;padding-bottom:0.1rem}.bd-toc nav>.nav{border-left:1px solid #eee;border-bottom:1px solid #eee;border-radius:0 0 0 6px;padding-bottom:0.5em}.prev-next-area{margin:2rem auto 0 auto;border-top:1px solid rgba(var(--spt-color-gray-300), 1);max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}.prev-next-area i{font-size:1.1rem;color:rgba(var(--spt-color-gray-600), 1)}.prev-next-area a p.prev-next-title{font-size:1rem;font-weight:600;color:rgba(var(--spt-color-gray-600), 1)}#banner{margin-top:var(--pst-header-height) !important}#site-navigation{top:var(--pst-header-height) !important;height:calc(100vh - var(--pst-header-height)) !important;padding-top:0}#main-content{min-height:calc(100vh - var(--pst-header-height))}.topbar{top:var(--pst-header-height) !important;padding:0 !important}.topbar-main button:focus{outline:none !important}.cell .cell_input,.cell .cell_output{padding:0 !important}.cell .cell_input{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;border-left-color:rgba(var(--pst-color-primary), 1) !important;border-left-width:medium !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_input pre{border:none !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_output{border:none !important}.cell .cell_output pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.tabbed-content{box-shadow:0 -0.0625rem var(--tabs-color-overline) !important;padding-bottom:0 !important}.tabbed-set>label{padding:0 1rem !important;margin:0 !important}.thebe-launch-button{height:2.2em !important;font-size:.8em !important;border:1px solid rgba(var(--spt-color-gray-600), 1) !important;border-radius:4px !important;color:rgba(var(--spt-color-gray-600), 1)}#shim{padding:0;margin-top:var(--pst-header-height)}#navbar-main{z-index:5000;padding-left:15px;padding-right:15px}#navbar-main .container-xl{padding:0}.bd-header{background:#343a40 !important}#navbar-icon-links i:before{color:var(--spt-color-light) !important}main.standalone-main{padding:0 !important;background-color:white}main.standalone-main div.sectionwrapper-1,main.standalone-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1)}main.standalone-main div.section-1,main.standalone-main div.section-2{position:relative;padding-top:1rem;padding-bottom:1rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h2,main.standalone-main div.section-1 .h2,main.standalone-main div.section-1 h1,main.standalone-main div.section-1 .h1,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h2,main.standalone-main div.section-2 .h2,main.standalone-main div.section-2 h1,main.standalone-main div.section-2 .h1{margin-top:0;margin-bottom:0.5rem}main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6{padding:1rem 0}main.standalone-main div.section-title-wrapper{display:flex;justify-content:flex-start}main.standalone-main div.section-title{padding:0 4rem 0.1rem 0;margin:0 0 1.6rem 0;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main{padding:0 !important}main.banner-main #main-content{padding:0 !important}main.banner-main div.sectionwrapper-1{position:relative;background-size:cover;background-position:center center;color:rgba(var(--spt-color-light), 1);background-color:rgba(var(--spt-color-gray-700), 1)}main.banner-main div.sectionwrapper-1 div.section-banner-caption{position:absolute;right:0;bottom:0;font-size:0.8rem;opacity:0.6;padding-right:0.5rem}main.banner-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1);background-color:rgba(var(--spt-color-light), 1)}main.banner-main div.sectionwrapper-2:nth-child(even){background-color:rgba(var(--spt-color-gray-300), 1)}main.banner-main div.section-1,main.banner-main div.section-2{position:relative;padding-top:7rem;padding-bottom:7rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.banner-main div.section-1 h3,main.banner-main div.section-1 h4,main.banner-main div.section-1 h5,main.banner-main div.section-1 h6,main.banner-main div.section-2 h3,main.banner-main div.section-2 h4,main.banner-main div.section-2 h5,main.banner-main div.section-2 h6{padding:2rem 0 1rem 0;text-align:center}main.banner-main div.section-title-wrapper{display:flex;justify-content:center}main.banner-main div.section-title{padding:0 4rem 1rem 4rem;margin-bottom:3rem;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main p{font-size:1.25rem;font-weight:300}main.banner-main div.section.dark-banner h1,main.banner-main div.section.dark-banner h2,main.banner-main div.section.dark-banner h3,main.banner-main div.section.dark-banner h4,main.banner-main div.section.dark-banner h5,main.banner-main div.section.dark-banner h6{color:var(--spt-color-light) !important}main.banner-main div.section.dark-banner p{color:var(--spt-color-light) !important}.bd-main .bd-content .bd-article-container{max-width:100%}.bd-page-width{max-width:85%}.bd-footer{color:rgba(var(--spt-color-light), 1);font-size:0.8rem;font-family:var(--spt-font-footnote);padding:0}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6,.bd-footer p,.bd-footer a{color:rgba(var(--spt-color-light), 1);font-family:var(--spt-font-footnote)}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6{font-size:1rem;margin-bottom:5px}.bd-footer p{font-size:0.8rem}.bd-footer .footer-logos{background-color:rgba(var(--spt-color-gray-200), 1)}.bd-footer .footer-info,.bd-footer .footer-menu{color:rgba(var(--spt-color-gray-400), 1);background-color:rgba(var(--spt-color-dark), 1);padding-top:0.4rem;padding-bottom:0.4rem}.bd-footer .footer-info li,.bd-footer .footer-menu li{line-height:1rem;margin-bottom:5px}.bd-footer .footer-extra{background-color:rgba(var(--spt-color-gray-700), 1);padding-top:1rem;padding-bottom:1rem}.bd-footer .footer-extra img{height:60px}.iframe,.iframe-4x3,.iframe-16x9{position:relative;height:0;width:75%;margin-bottom:1rem;margin-left:auto;margin-right:auto}.iframe iframe,.iframe-4x3 iframe,.iframe-16x9 iframe{border:0;position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%}.iframe-16x9{padding-bottom:calc(0.75 * 56.25%)}.iframe-4x3{padding-bottom:calc(0.75 * 75%)} +}body{font-family:var(--spt-font-body),sans-serif}html{scroll-behavior:smooth;scroll-padding-top:128px}.admonition.alert-info,div.admonition.alert-info{border-color:#0c5460 !important}.admonition.alert-info .admonition-title::before,div.admonition.alert-info .admonition-title::before{color:#0c5460 !important}.admonition.alert-success,div.admonition.alert-success{border-color:#155724 !important}.admonition.alert-success .admonition-title::before,div.admonition.alert-success .admonition-title::before{color:#155724 !important}.admonition.alert-warning,div.admonition.alert-warning{border-color:#856404 !important}.admonition.alert-warning .admonition-title::before,div.admonition.alert-warning .admonition-title::before{color:#856404 !important}.admonition.alert-danger,div.admonition.alert-danger{border-color:#721c24 !important}.admonition.alert-danger .admonition-title::before,div.admonition.alert-danger .admonition-title::before{color:#721c24 !important}.bg-primary{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary{background-color:rgba(var(--pst-color-primary), 1) !important;border-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary:hover{background-color:rgba(var(--pst-color-primary-hover), 1) !important;color:white !important}.btn-outline-primary{border-color:rgba(var(--pst-color-primary), 1) !important;color:rgba(var(--pst-color-primary), 1) !important}.btn-outline-primary:hover,.show>.btn-outline-primary.dropdown-toggle{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-link{color:rgba(var(--pst-color-primary), 1) !important}.display-1{font-size:5rem !important}.display-2{font-size:3rem !important}.display-3{font-size:2rem !important}.display-4{font-size:1.6667rem !important}.display-5{font-size:1.3333rem !important}.display-6{font-size:1rem !important}.form-control:focus{outline:none !important;box-shadow:none !important}.navbar-brand{padding:.75rem 0 !important}.row{margin-left:0 !important;margin-right:0 !important}a.badge{text-decoration:none !important}a.navbar-brand img{vertical-align:middle !important}body>div.container-fluid,body>div.container-xl{padding-right:0;padding-left:0}i.fab,i.far,i.fas{font-size:70%}a.headerlink i.fab,a.headerlink i.far,a.headerlink i.fas{position:absolute;top:50%;transform:translateY(-50%)}a.headerlink{position:relative;text-decoration:none;font-size:unset !important;padding:0 0.7rem !important}a.headerlink:hover{color:rgba(var(--spt-color-gray-500), 1);background-color:transparent}div.highlight pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.bd-sidebar .nav li>a{padding-top:0.1rem;padding-bottom:0.1rem}.bd-toc nav>.nav{border-left:1px solid #eee;border-bottom:1px solid #eee;border-radius:0 0 0 6px;padding-bottom:0.5em}.prev-next-area{margin:2rem auto 0 auto;border-top:1px solid rgba(var(--spt-color-gray-300), 1);max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}.prev-next-area i{font-size:1.1rem;color:rgba(var(--spt-color-gray-600), 1)}.prev-next-area a p.prev-next-title{font-size:1rem;font-weight:600;color:rgba(var(--spt-color-gray-600), 1)}#banner{margin-top:var(--pst-header-height) !important}#site-navigation{top:var(--pst-header-height) !important;height:calc(100vh - var(--pst-header-height)) !important;padding-top:0}#main-content{min-height:calc(100vh - var(--pst-header-height))}.topbar{top:var(--pst-header-height) !important;padding:0 !important}.topbar-main button:focus{outline:none !important}.cell .cell_input,.cell .cell_output{padding:0 !important}.cell .cell_input{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;border-left-color:rgba(var(--pst-color-primary), 1) !important;border-left-width:medium !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_input pre{border:none !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_output{border:none !important}.cell .cell_output pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.tabbed-content{box-shadow:0 -0.0625rem var(--tabs-color-overline) !important;padding-bottom:0 !important}.tabbed-set>label{padding:0 1rem !important;margin:0 !important}.thebe-launch-button{height:2.2em !important;font-size:.8em !important;border:1px solid rgba(var(--spt-color-gray-600), 1) !important;border-radius:4px !important;color:rgba(var(--spt-color-gray-600), 1)}#shim{padding:0;margin-top:var(--pst-header-height)}#navbar-main{z-index:5000;padding-left:15px;padding-right:15px}#navbar-main .container-xl{padding:0}.bd-header{background:#343a40 !important}#navbar-icon-links i:before{color:var(--spt-color-light) !important}main.standalone-main{padding:0 !important;background-color:white}main.standalone-main div.sectionwrapper-1,main.standalone-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1)}main.standalone-main div.section-1,main.standalone-main div.section-2{position:relative;padding-top:1rem;padding-bottom:1rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h2,main.standalone-main div.section-1 .h2,main.standalone-main div.section-1 h1,main.standalone-main div.section-1 .h1,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h2,main.standalone-main div.section-2 .h2,main.standalone-main div.section-2 h1,main.standalone-main div.section-2 .h1{margin-top:0;margin-bottom:0.5rem}main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6{padding:1rem 0}main.standalone-main div.section-title-wrapper{display:flex;justify-content:flex-start}main.standalone-main div.section-title{padding:0 4rem 0.1rem 0;margin:0 0 1.6rem 0;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main{padding:0 !important}main.banner-main #main-content{padding:0 !important}main.banner-main div.sectionwrapper-1{position:relative;background-size:cover;background-position:center center;color:rgba(var(--spt-color-light), 1);background-color:rgba(var(--spt-color-gray-700), 1)}main.banner-main div.sectionwrapper-1 div.section-banner-caption{position:absolute;right:0;bottom:0;font-size:0.8rem;opacity:0.6;padding-right:0.5rem}main.banner-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1);background-color:rgba(var(--spt-color-light), 1)}main.banner-main div.sectionwrapper-2:nth-child(even){background-color:rgba(var(--spt-color-gray-300), 1)}main.banner-main div.section-1,main.banner-main div.section-2{position:relative;padding-top:7rem;padding-bottom:7rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.banner-main div.section-1 h3,main.banner-main div.section-1 h4,main.banner-main div.section-1 h5,main.banner-main div.section-1 h6,main.banner-main div.section-2 h3,main.banner-main div.section-2 h4,main.banner-main div.section-2 h5,main.banner-main div.section-2 h6{padding:2rem 0 1rem 0;text-align:center}main.banner-main div.section-title-wrapper{display:flex;justify-content:center}main.banner-main div.section-title{padding:0 4rem 1rem 4rem;margin-bottom:3rem;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main p{font-size:1.25rem;font-weight:300}main.banner-main div.section.dark-banner h1,main.banner-main div.section.dark-banner h2,main.banner-main div.section.dark-banner h3,main.banner-main div.section.dark-banner h4,main.banner-main div.section.dark-banner h5,main.banner-main div.section.dark-banner h6{color:var(--spt-color-light) !important}main.banner-main div.section.dark-banner p{color:var(--spt-color-light) !important}.bd-main .bd-content .bd-article-container{max-width:100%}.bd-page-width{max-width:85%}.bd-footer{color:rgba(var(--spt-color-light), 1);font-size:0.8rem;font-family:var(--spt-font-footnote);padding:0}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6,.bd-footer p,.bd-footer a{color:rgba(var(--spt-color-light), 1);font-family:var(--spt-font-footnote)}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6{font-size:1rem;margin-bottom:5px}.bd-footer p{font-size:0.8rem}.bd-footer .footer-logos{background-color:rgba(var(--spt-color-gray-200), 1)}.bd-footer .footer-info,.bd-footer .footer-menu{color:rgba(var(--spt-color-gray-400), 1);background-color:rgba(var(--spt-color-dark), 1);padding-top:0.4rem;padding-bottom:0.4rem}.bd-footer .footer-info li,.bd-footer .footer-menu li{line-height:1rem;margin-bottom:5px}.bd-footer .footer-extra{background-color:rgba(var(--spt-color-gray-700), 1);padding-top:1rem;padding-bottom:1rem}.bd-footer .footer-extra img{height:60px}.iframe,.iframe-4x3,.iframe-16x9{position:relative;height:0;width:75%;margin-bottom:1rem;margin-left:auto;margin-right:auto}.iframe iframe,.iframe-4x3 iframe,.iframe-16x9 iframe{border:0;position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%}.iframe-16x9{padding-bottom:calc(0.75 * 56.25%)}.iframe-4x3{padding-bottom:calc(0.75 * 75%)}@media (prefers-color-scheme: dark){p{color:black}} From 828979cc10df6d9241e27cdeb1632c5f065fe7a6 Mon Sep 17 00:00:00 2001 From: Julia Kent <46687291+jukent@users.noreply.github.com> Date: Mon, 3 Jun 2024 18:16:21 -0600 Subject: [PATCH 07/18] further changes to jupyterbooks --- .../static/sphinx-pythia-theme.min.css | 2 +- src/scss/sphinx-pythia-theme.scss | 64 +++++++++++++++++++ 2 files changed, 65 insertions(+), 1 deletion(-) diff --git a/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css b/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css index c6c472d..54acc15 100644 --- a/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css +++ b/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css @@ -1,2 +1,2 @@ @import url(sphinx-book-theme.css);:root{--spt-font-body: 'Poppins';--spt-font-headings: 'Poppins';--spt-font-footnote: 'Cormorant';--spt-color-gray-100: 248, 249, 250;--spt-color-gray-200: 233, 236, 239;--spt-color-gray-300: 222, 226, 230;--spt-color-gray-400: 206, 212, 218;--spt-color-gray-500: 173, 181, 189;--spt-color-gray-600: 108, 117, 125;--spt-color-gray-700: 73, 80, 87;--spt-color-gray-800: 52, 58, 64;--spt-color-gray-900: 33, 37, 41;--spt-color-light: var(--spt-color-gray-100);--spt-color-dark: var(--spt-color-gray-800);--spt-color-green: 0, 121, 124;--spt-color-green-lighter: 20, 141, 144;--spt-color-green-lightest: 130, 231, 234;--spt-color-blue: 26, 101, 143;--spt-color-blue-lighter: 46, 121, 163;--spt-color-blue-lightest: 156, 191, 213;--spt-color-deep-blue: 1, 33, 105;--spt-color-green-highlight: 168, 199, 0;--pst-color-primary: var(--spt-color-blue) !important;--pst-color-primary-hover: var(--spt-color-blue-lighter) !important;--pst-color-secondary: var(--spt-color-blue-lightest) !important;--pst-color-link: #1a648f !important;--pst-color-link-hover: #9cbfd5 !important;--pst-color-headerlink: var(--spt-color-gray-300) !important;--pst-color-headerlink-hover: var(--spt-color-gray-100)!important;--pst-color-text-muted: #6c757d !important;--tabs-size-label: 0.8rem !important;--tabs-color-label-active: rgba(var(--pst-color-primary), 1) !important;--tabs-color-label-inactive: rgba(var(--spt-color-blue-lightest), 1) !important -}body{font-family:var(--spt-font-body),sans-serif}html{scroll-behavior:smooth;scroll-padding-top:128px}.admonition.alert-info,div.admonition.alert-info{border-color:#0c5460 !important}.admonition.alert-info .admonition-title::before,div.admonition.alert-info .admonition-title::before{color:#0c5460 !important}.admonition.alert-success,div.admonition.alert-success{border-color:#155724 !important}.admonition.alert-success .admonition-title::before,div.admonition.alert-success .admonition-title::before{color:#155724 !important}.admonition.alert-warning,div.admonition.alert-warning{border-color:#856404 !important}.admonition.alert-warning .admonition-title::before,div.admonition.alert-warning .admonition-title::before{color:#856404 !important}.admonition.alert-danger,div.admonition.alert-danger{border-color:#721c24 !important}.admonition.alert-danger .admonition-title::before,div.admonition.alert-danger .admonition-title::before{color:#721c24 !important}.bg-primary{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary{background-color:rgba(var(--pst-color-primary), 1) !important;border-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary:hover{background-color:rgba(var(--pst-color-primary-hover), 1) !important;color:white !important}.btn-outline-primary{border-color:rgba(var(--pst-color-primary), 1) !important;color:rgba(var(--pst-color-primary), 1) !important}.btn-outline-primary:hover,.show>.btn-outline-primary.dropdown-toggle{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-link{color:rgba(var(--pst-color-primary), 1) !important}.display-1{font-size:5rem !important}.display-2{font-size:3rem !important}.display-3{font-size:2rem !important}.display-4{font-size:1.6667rem !important}.display-5{font-size:1.3333rem !important}.display-6{font-size:1rem !important}.form-control:focus{outline:none !important;box-shadow:none !important}.navbar-brand{padding:.75rem 0 !important}.row{margin-left:0 !important;margin-right:0 !important}a.badge{text-decoration:none !important}a.navbar-brand img{vertical-align:middle !important}body>div.container-fluid,body>div.container-xl{padding-right:0;padding-left:0}i.fab,i.far,i.fas{font-size:70%}a.headerlink i.fab,a.headerlink i.far,a.headerlink i.fas{position:absolute;top:50%;transform:translateY(-50%)}a.headerlink{position:relative;text-decoration:none;font-size:unset !important;padding:0 0.7rem !important}a.headerlink:hover{color:rgba(var(--spt-color-gray-500), 1);background-color:transparent}div.highlight pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.bd-sidebar .nav li>a{padding-top:0.1rem;padding-bottom:0.1rem}.bd-toc nav>.nav{border-left:1px solid #eee;border-bottom:1px solid #eee;border-radius:0 0 0 6px;padding-bottom:0.5em}.prev-next-area{margin:2rem auto 0 auto;border-top:1px solid rgba(var(--spt-color-gray-300), 1);max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}.prev-next-area i{font-size:1.1rem;color:rgba(var(--spt-color-gray-600), 1)}.prev-next-area a p.prev-next-title{font-size:1rem;font-weight:600;color:rgba(var(--spt-color-gray-600), 1)}#banner{margin-top:var(--pst-header-height) !important}#site-navigation{top:var(--pst-header-height) !important;height:calc(100vh - var(--pst-header-height)) !important;padding-top:0}#main-content{min-height:calc(100vh - var(--pst-header-height))}.topbar{top:var(--pst-header-height) !important;padding:0 !important}.topbar-main button:focus{outline:none !important}.cell .cell_input,.cell .cell_output{padding:0 !important}.cell .cell_input{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;border-left-color:rgba(var(--pst-color-primary), 1) !important;border-left-width:medium !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_input pre{border:none !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_output{border:none !important}.cell .cell_output pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.tabbed-content{box-shadow:0 -0.0625rem var(--tabs-color-overline) !important;padding-bottom:0 !important}.tabbed-set>label{padding:0 1rem !important;margin:0 !important}.thebe-launch-button{height:2.2em !important;font-size:.8em !important;border:1px solid rgba(var(--spt-color-gray-600), 1) !important;border-radius:4px !important;color:rgba(var(--spt-color-gray-600), 1)}#shim{padding:0;margin-top:var(--pst-header-height)}#navbar-main{z-index:5000;padding-left:15px;padding-right:15px}#navbar-main .container-xl{padding:0}.bd-header{background:#343a40 !important}#navbar-icon-links i:before{color:var(--spt-color-light) !important}main.standalone-main{padding:0 !important;background-color:white}main.standalone-main div.sectionwrapper-1,main.standalone-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1)}main.standalone-main div.section-1,main.standalone-main div.section-2{position:relative;padding-top:1rem;padding-bottom:1rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h2,main.standalone-main div.section-1 .h2,main.standalone-main div.section-1 h1,main.standalone-main div.section-1 .h1,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h2,main.standalone-main div.section-2 .h2,main.standalone-main div.section-2 h1,main.standalone-main div.section-2 .h1{margin-top:0;margin-bottom:0.5rem}main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6{padding:1rem 0}main.standalone-main div.section-title-wrapper{display:flex;justify-content:flex-start}main.standalone-main div.section-title{padding:0 4rem 0.1rem 0;margin:0 0 1.6rem 0;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main{padding:0 !important}main.banner-main #main-content{padding:0 !important}main.banner-main div.sectionwrapper-1{position:relative;background-size:cover;background-position:center center;color:rgba(var(--spt-color-light), 1);background-color:rgba(var(--spt-color-gray-700), 1)}main.banner-main div.sectionwrapper-1 div.section-banner-caption{position:absolute;right:0;bottom:0;font-size:0.8rem;opacity:0.6;padding-right:0.5rem}main.banner-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1);background-color:rgba(var(--spt-color-light), 1)}main.banner-main div.sectionwrapper-2:nth-child(even){background-color:rgba(var(--spt-color-gray-300), 1)}main.banner-main div.section-1,main.banner-main div.section-2{position:relative;padding-top:7rem;padding-bottom:7rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.banner-main div.section-1 h3,main.banner-main div.section-1 h4,main.banner-main div.section-1 h5,main.banner-main div.section-1 h6,main.banner-main div.section-2 h3,main.banner-main div.section-2 h4,main.banner-main div.section-2 h5,main.banner-main div.section-2 h6{padding:2rem 0 1rem 0;text-align:center}main.banner-main div.section-title-wrapper{display:flex;justify-content:center}main.banner-main div.section-title{padding:0 4rem 1rem 4rem;margin-bottom:3rem;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main p{font-size:1.25rem;font-weight:300}main.banner-main div.section.dark-banner h1,main.banner-main div.section.dark-banner h2,main.banner-main div.section.dark-banner h3,main.banner-main div.section.dark-banner h4,main.banner-main div.section.dark-banner h5,main.banner-main div.section.dark-banner h6{color:var(--spt-color-light) !important}main.banner-main div.section.dark-banner p{color:var(--spt-color-light) !important}.bd-main .bd-content .bd-article-container{max-width:100%}.bd-page-width{max-width:85%}.bd-footer{color:rgba(var(--spt-color-light), 1);font-size:0.8rem;font-family:var(--spt-font-footnote);padding:0}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6,.bd-footer p,.bd-footer a{color:rgba(var(--spt-color-light), 1);font-family:var(--spt-font-footnote)}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6{font-size:1rem;margin-bottom:5px}.bd-footer p{font-size:0.8rem}.bd-footer .footer-logos{background-color:rgba(var(--spt-color-gray-200), 1)}.bd-footer .footer-info,.bd-footer .footer-menu{color:rgba(var(--spt-color-gray-400), 1);background-color:rgba(var(--spt-color-dark), 1);padding-top:0.4rem;padding-bottom:0.4rem}.bd-footer .footer-info li,.bd-footer .footer-menu li{line-height:1rem;margin-bottom:5px}.bd-footer .footer-extra{background-color:rgba(var(--spt-color-gray-700), 1);padding-top:1rem;padding-bottom:1rem}.bd-footer .footer-extra img{height:60px}.iframe,.iframe-4x3,.iframe-16x9{position:relative;height:0;width:75%;margin-bottom:1rem;margin-left:auto;margin-right:auto}.iframe iframe,.iframe-4x3 iframe,.iframe-16x9 iframe{border:0;position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%}.iframe-16x9{padding-bottom:calc(0.75 * 56.25%)}.iframe-4x3{padding-bottom:calc(0.75 * 75%)}@media (prefers-color-scheme: dark){p{color:black}} +}body{font-family:var(--spt-font-body),sans-serif}html{scroll-behavior:smooth;scroll-padding-top:128px}.admonition.alert-info,div.admonition.alert-info{border-color:#0c5460 !important}.admonition.alert-info .admonition-title::before,div.admonition.alert-info .admonition-title::before{color:#0c5460 !important}.admonition.alert-success,div.admonition.alert-success{border-color:#155724 !important}.admonition.alert-success .admonition-title::before,div.admonition.alert-success .admonition-title::before{color:#155724 !important}.admonition.alert-warning,div.admonition.alert-warning{border-color:#856404 !important}.admonition.alert-warning .admonition-title::before,div.admonition.alert-warning .admonition-title::before{color:#856404 !important}.admonition.alert-danger,div.admonition.alert-danger{border-color:#721c24 !important}.admonition.alert-danger .admonition-title::before,div.admonition.alert-danger .admonition-title::before{color:#721c24 !important}.bg-primary{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary{background-color:rgba(var(--pst-color-primary), 1) !important;border-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary:hover{background-color:rgba(var(--pst-color-primary-hover), 1) !important;color:white !important}.btn-outline-primary{border-color:rgba(var(--pst-color-primary), 1) !important;color:rgba(var(--pst-color-primary), 1) !important}.btn-outline-primary:hover,.show>.btn-outline-primary.dropdown-toggle{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-link{color:rgba(var(--pst-color-primary), 1) !important}.display-1{font-size:5rem !important}.display-2{font-size:3rem !important}.display-3{font-size:2rem !important}.display-4{font-size:1.6667rem !important}.display-5{font-size:1.3333rem !important}.display-6{font-size:1rem !important}.form-control:focus{outline:none !important;box-shadow:none !important}.navbar-brand{padding:.75rem 0 !important}.row{margin-left:0 !important;margin-right:0 !important}a.badge{text-decoration:none !important}a.navbar-brand img{vertical-align:middle !important}body>div.container-fluid,body>div.container-xl{padding-right:0;padding-left:0}i.fab,i.far,i.fas{font-size:70%}a.headerlink i.fab,a.headerlink i.far,a.headerlink i.fas{position:absolute;top:50%;transform:translateY(-50%)}a.headerlink{position:relative;text-decoration:none;font-size:unset !important;padding:0 0.7rem !important}a.headerlink:hover{color:rgba(var(--spt-color-gray-500), 1);background-color:transparent}div.highlight pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.bd-sidebar .nav li>a{padding-top:0.1rem;padding-bottom:0.1rem}.bd-toc nav>.nav{border-left:1px solid #eee;border-bottom:1px solid #eee;border-radius:0 0 0 6px;padding-bottom:0.5em}.prev-next-area{margin:2rem auto 0 auto;border-top:1px solid rgba(var(--spt-color-gray-300), 1);max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}.prev-next-area i{font-size:1.1rem;color:rgba(var(--spt-color-gray-600), 1)}.prev-next-area a p.prev-next-title{font-size:1rem;font-weight:600;color:rgba(var(--spt-color-gray-600), 1)}#banner{margin-top:var(--pst-header-height) !important}#site-navigation{top:var(--pst-header-height) !important;height:calc(100vh - var(--pst-header-height)) !important;padding-top:0}#main-content{min-height:calc(100vh - var(--pst-header-height))}.topbar{top:var(--pst-header-height) !important;padding:0 !important}.topbar-main button:focus{outline:none !important}.cell .cell_input,.cell .cell_output{padding:0 !important}.cell .cell_input{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;border-left-color:rgba(var(--pst-color-primary), 1) !important;border-left-width:medium !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_input pre{border:none !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_output{border:none !important}.cell .cell_output pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.tabbed-content{box-shadow:0 -0.0625rem var(--tabs-color-overline) !important;padding-bottom:0 !important}.tabbed-set>label{padding:0 1rem !important;margin:0 !important}.thebe-launch-button{height:2.2em !important;font-size:.8em !important;border:1px solid rgba(var(--spt-color-gray-600), 1) !important;border-radius:4px !important;color:rgba(var(--spt-color-gray-600), 1)}#shim{padding:0;margin-top:var(--pst-header-height)}#navbar-main{z-index:5000;padding-left:15px;padding-right:15px}#navbar-main .container-xl{padding:0}.bd-header{background:#343a40 !important}#navbar-icon-links i:before{color:var(--spt-color-light) !important}main.standalone-main{padding:0 !important;background-color:white}main.standalone-main div.sectionwrapper-1,main.standalone-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1)}main.standalone-main div.section-1,main.standalone-main div.section-2{position:relative;padding-top:1rem;padding-bottom:1rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h2,main.standalone-main div.section-1 .h2,main.standalone-main div.section-1 h1,main.standalone-main div.section-1 .h1,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h2,main.standalone-main div.section-2 .h2,main.standalone-main div.section-2 h1,main.standalone-main div.section-2 .h1{margin-top:0;margin-bottom:0.5rem}main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6{padding:1rem 0}main.standalone-main div.section-title-wrapper{display:flex;justify-content:flex-start}main.standalone-main div.section-title{padding:0 4rem 0.1rem 0;margin:0 0 1.6rem 0;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main{padding:0 !important}main.banner-main #main-content{padding:0 !important}main.banner-main div.sectionwrapper-1{position:relative;background-size:cover;background-position:center center;color:rgba(var(--spt-color-light), 1);background-color:rgba(var(--spt-color-gray-700), 1)}main.banner-main div.sectionwrapper-1 div.section-banner-caption{position:absolute;right:0;bottom:0;font-size:0.8rem;opacity:0.6;padding-right:0.5rem}main.banner-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1);background-color:rgba(var(--spt-color-light), 1)}main.banner-main div.sectionwrapper-2:nth-child(even){background-color:rgba(var(--spt-color-gray-300), 1)}main.banner-main div.section-1,main.banner-main div.section-2{position:relative;padding-top:7rem;padding-bottom:7rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.banner-main div.section-1 h3,main.banner-main div.section-1 h4,main.banner-main div.section-1 h5,main.banner-main div.section-1 h6,main.banner-main div.section-2 h3,main.banner-main div.section-2 h4,main.banner-main div.section-2 h5,main.banner-main div.section-2 h6{padding:2rem 0 1rem 0;text-align:center}main.banner-main div.section-title-wrapper{display:flex;justify-content:center}main.banner-main div.section-title{padding:0 4rem 1rem 4rem;margin-bottom:3rem;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main p{font-size:1.25rem;font-weight:300}main.banner-main div.section.dark-banner h1,main.banner-main div.section.dark-banner h2,main.banner-main div.section.dark-banner h3,main.banner-main div.section.dark-banner h4,main.banner-main div.section.dark-banner h5,main.banner-main div.section.dark-banner h6{color:var(--spt-color-light) !important}main.banner-main div.section.dark-banner p{color:var(--spt-color-light) !important}.bd-main .bd-content .bd-article-container{max-width:100%}.bd-page-width{max-width:85%}.bd-footer{color:rgba(var(--spt-color-light), 1);font-size:0.8rem;font-family:var(--spt-font-footnote);padding:0}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6,.bd-footer p,.bd-footer a{color:rgba(var(--spt-color-light), 1);font-family:var(--spt-font-footnote)}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6{font-size:1rem;margin-bottom:5px}.bd-footer p{font-size:0.8rem}.bd-footer .footer-logos{background-color:rgba(var(--spt-color-gray-200), 1)}.bd-footer .footer-info,.bd-footer .footer-menu{color:rgba(var(--spt-color-gray-400), 1);background-color:rgba(var(--spt-color-dark), 1);padding-top:0.4rem;padding-bottom:0.4rem}.bd-footer .footer-info li,.bd-footer .footer-menu li{line-height:1rem;margin-bottom:5px}.bd-footer .footer-extra{background-color:rgba(var(--spt-color-gray-700), 1);padding-top:1rem;padding-bottom:1rem}.bd-footer .footer-extra img{height:60px}.iframe,.iframe-4x3,.iframe-16x9{position:relative;height:0;width:75%;margin-bottom:1rem;margin-left:auto;margin-right:auto}.iframe iframe,.iframe-4x3 iframe,.iframe-16x9 iframe{border:0;position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%}.iframe-16x9{padding-bottom:calc(0.75 * 56.25%)}.iframe-4x3{padding-bottom:calc(0.75 * 75%)}@media (prefers-color-scheme: dark){p{color:black}#codecell1,#codecell2,#codecell3,#codecell4,#codecell5,#codecell6,#codecell7,#codecell8,#codecell9,#codecell10,#codecell11,#codecell12,#codecell13,#codecell14,#codecell15,#codecell16,#codecell17,#codecell18,#codecell19,#codecell20,#codecell21,#codecell22,#codecell23,#codecell24,#codecell25,#codecell26,#codecell27,#codecell28,#codecell29,#codecell30,#codecell31,#codecell32,#codecell33,#codecell34,#codecell35,#codecell36,#codecell37,#codecell38,#codecell39,#codecell40,#codecell41,#codecell42,#codecell43,#codecell44,#codecell45,#codecell46,#codecell47,#codecell48,#codecell49,#codecell50,#codecell51,#codecell52,#codecell53,#codecell54,#codecell55,#codecell56,#codecell57,#codecell58,#codecell59,#codecell60,#codecell61,#codecell62,#codecell63,#codecell64,#codecell65,#codecell66,#codecell67,#codecell68,#codecell69,#codecell70,#codecell71,#codecell72,#codecell73,#codecell74,#codecell75,#codecell76,#codecell77,#codecell78,#codecell79,#codecell80,#codecell81,#codecell82,#codecell83,#codecell84,#codecell85,#codecell86,#codecell87,#codecell88,#codecell89,#codecell90,#codecell91,#codecell92,#codecell93,#codecell94,#codecell95,#codecell96,#codecell97,#codecell98,#codecell99,#codecell100{color:black}}html[data-theme="dark"] .highlight .nn{color:#545454}html[data-theme="dark"] .highlight .n{color:#545454}html[data-theme="dark"] .highlight .s1{color:#008000}html[data-theme="dark"] .highlight .s2{color:#0080}html[data-theme="dark"] .highlight .o{color:#008000}html[data-theme="dark"] .highlight .kn{color:#7928a1}html[data-theme="dark"] .highlight .k{color:#7928a1}html[data-theme="dark"] .highlight .nb{color:#797129}html[data-theme="dark"] .highlight .p{color:#545454}element.style{color:black} diff --git a/src/scss/sphinx-pythia-theme.scss b/src/scss/sphinx-pythia-theme.scss index afa9b3f..903e1aa 100644 --- a/src/scss/sphinx-pythia-theme.scss +++ b/src/scss/sphinx-pythia-theme.scss @@ -293,4 +293,68 @@ main.banner-main { p { color: black; } + + /* Specific styles for code cells (they have IDs instead of a class)*/ + #codecell1, #codecell2, #codecell3, #codecell4, #codecell5, + #codecell6, #codecell7, #codecell8, #codecell9, #codecell10, + #codecell11, #codecell12, #codecell13, #codecell14, #codecell15, + #codecell16, #codecell17, #codecell18, #codecell19, #codecell20, + #codecell21, #codecell22, #codecell23, #codecell24, #codecell25, + #codecell26, #codecell27, #codecell28, #codecell29, #codecell30, + #codecell31, #codecell32, #codecell33, #codecell34, #codecell35, + #codecell36, #codecell37, #codecell38, #codecell39, #codecell40, + #codecell41, #codecell42, #codecell43, #codecell44, #codecell45, + #codecell46, #codecell47, #codecell48, #codecell49, #codecell50, + #codecell51, #codecell52, #codecell53, #codecell54, #codecell55, + #codecell56, #codecell57, #codecell58, #codecell59, #codecell60, + #codecell61, #codecell62, #codecell63, #codecell64, #codecell65, + #codecell66, #codecell67, #codecell68, #codecell69, #codecell70, + #codecell71, #codecell72, #codecell73, #codecell74, #codecell75, + #codecell76, #codecell77, #codecell78, #codecell79, #codecell80, + #codecell81, #codecell82, #codecell83, #codecell84, #codecell85, + #codecell86, #codecell87, #codecell88, #codecell89, #codecell90, + #codecell91, #codecell92, #codecell93, #codecell94, #codecell95, + #codecell96, #codecell97, #codecell98, #codecell99, #codecell100 { + color: black; /* Light text color for dark mode */ + } +} + +html[data-theme="dark"] .highlight .nn { + color: #545454; +} + +html[data-theme="dark"] .highlight .n { + color: #545454; +} + +html[data-theme="dark"] .highlight .s1 { + color: #008000; +} + +html[data-theme="dark"] .highlight .s2 { + color: #0080 +} + +html[data-theme="dark"] .highlight .o { + color: #008000; +} + +html[data-theme="dark"] .highlight .kn { + color: #7928a1 +} + +html[data-theme="dark"] .highlight .k { + color: #7928a1; +} + +html[data-theme="dark"] .highlight .nb { + color: #797129; +} + +html[data-theme="dark"] .highlight .p { + color: #545454; +} + +element.style { + color: black; } \ No newline at end of file From f0888f255b264bc3bcddc39e82029df87dd179c5 Mon Sep 17 00:00:00 2001 From: Julia Kent <46687291+jukent@users.noreply.github.com> Date: Mon, 3 Jun 2024 18:28:01 -0600 Subject: [PATCH 08/18] more theme changes --- .../static/sphinx-pythia-theme.min.css | 2 +- src/scss/sphinx-pythia-theme.scss | 44 +++++++++---------- 2 files changed, 23 insertions(+), 23 deletions(-) diff --git a/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css b/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css index 54acc15..34e80a5 100644 --- a/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css +++ b/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css @@ -1,2 +1,2 @@ @import url(sphinx-book-theme.css);:root{--spt-font-body: 'Poppins';--spt-font-headings: 'Poppins';--spt-font-footnote: 'Cormorant';--spt-color-gray-100: 248, 249, 250;--spt-color-gray-200: 233, 236, 239;--spt-color-gray-300: 222, 226, 230;--spt-color-gray-400: 206, 212, 218;--spt-color-gray-500: 173, 181, 189;--spt-color-gray-600: 108, 117, 125;--spt-color-gray-700: 73, 80, 87;--spt-color-gray-800: 52, 58, 64;--spt-color-gray-900: 33, 37, 41;--spt-color-light: var(--spt-color-gray-100);--spt-color-dark: var(--spt-color-gray-800);--spt-color-green: 0, 121, 124;--spt-color-green-lighter: 20, 141, 144;--spt-color-green-lightest: 130, 231, 234;--spt-color-blue: 26, 101, 143;--spt-color-blue-lighter: 46, 121, 163;--spt-color-blue-lightest: 156, 191, 213;--spt-color-deep-blue: 1, 33, 105;--spt-color-green-highlight: 168, 199, 0;--pst-color-primary: var(--spt-color-blue) !important;--pst-color-primary-hover: var(--spt-color-blue-lighter) !important;--pst-color-secondary: var(--spt-color-blue-lightest) !important;--pst-color-link: #1a648f !important;--pst-color-link-hover: #9cbfd5 !important;--pst-color-headerlink: var(--spt-color-gray-300) !important;--pst-color-headerlink-hover: var(--spt-color-gray-100)!important;--pst-color-text-muted: #6c757d !important;--tabs-size-label: 0.8rem !important;--tabs-color-label-active: rgba(var(--pst-color-primary), 1) !important;--tabs-color-label-inactive: rgba(var(--spt-color-blue-lightest), 1) !important -}body{font-family:var(--spt-font-body),sans-serif}html{scroll-behavior:smooth;scroll-padding-top:128px}.admonition.alert-info,div.admonition.alert-info{border-color:#0c5460 !important}.admonition.alert-info .admonition-title::before,div.admonition.alert-info .admonition-title::before{color:#0c5460 !important}.admonition.alert-success,div.admonition.alert-success{border-color:#155724 !important}.admonition.alert-success .admonition-title::before,div.admonition.alert-success .admonition-title::before{color:#155724 !important}.admonition.alert-warning,div.admonition.alert-warning{border-color:#856404 !important}.admonition.alert-warning .admonition-title::before,div.admonition.alert-warning .admonition-title::before{color:#856404 !important}.admonition.alert-danger,div.admonition.alert-danger{border-color:#721c24 !important}.admonition.alert-danger .admonition-title::before,div.admonition.alert-danger .admonition-title::before{color:#721c24 !important}.bg-primary{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary{background-color:rgba(var(--pst-color-primary), 1) !important;border-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary:hover{background-color:rgba(var(--pst-color-primary-hover), 1) !important;color:white !important}.btn-outline-primary{border-color:rgba(var(--pst-color-primary), 1) !important;color:rgba(var(--pst-color-primary), 1) !important}.btn-outline-primary:hover,.show>.btn-outline-primary.dropdown-toggle{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-link{color:rgba(var(--pst-color-primary), 1) !important}.display-1{font-size:5rem !important}.display-2{font-size:3rem !important}.display-3{font-size:2rem !important}.display-4{font-size:1.6667rem !important}.display-5{font-size:1.3333rem !important}.display-6{font-size:1rem !important}.form-control:focus{outline:none !important;box-shadow:none !important}.navbar-brand{padding:.75rem 0 !important}.row{margin-left:0 !important;margin-right:0 !important}a.badge{text-decoration:none !important}a.navbar-brand img{vertical-align:middle !important}body>div.container-fluid,body>div.container-xl{padding-right:0;padding-left:0}i.fab,i.far,i.fas{font-size:70%}a.headerlink i.fab,a.headerlink i.far,a.headerlink i.fas{position:absolute;top:50%;transform:translateY(-50%)}a.headerlink{position:relative;text-decoration:none;font-size:unset !important;padding:0 0.7rem !important}a.headerlink:hover{color:rgba(var(--spt-color-gray-500), 1);background-color:transparent}div.highlight pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.bd-sidebar .nav li>a{padding-top:0.1rem;padding-bottom:0.1rem}.bd-toc nav>.nav{border-left:1px solid #eee;border-bottom:1px solid #eee;border-radius:0 0 0 6px;padding-bottom:0.5em}.prev-next-area{margin:2rem auto 0 auto;border-top:1px solid rgba(var(--spt-color-gray-300), 1);max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}.prev-next-area i{font-size:1.1rem;color:rgba(var(--spt-color-gray-600), 1)}.prev-next-area a p.prev-next-title{font-size:1rem;font-weight:600;color:rgba(var(--spt-color-gray-600), 1)}#banner{margin-top:var(--pst-header-height) !important}#site-navigation{top:var(--pst-header-height) !important;height:calc(100vh - var(--pst-header-height)) !important;padding-top:0}#main-content{min-height:calc(100vh - var(--pst-header-height))}.topbar{top:var(--pst-header-height) !important;padding:0 !important}.topbar-main button:focus{outline:none !important}.cell .cell_input,.cell .cell_output{padding:0 !important}.cell .cell_input{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;border-left-color:rgba(var(--pst-color-primary), 1) !important;border-left-width:medium !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_input pre{border:none !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_output{border:none !important}.cell .cell_output pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.tabbed-content{box-shadow:0 -0.0625rem var(--tabs-color-overline) !important;padding-bottom:0 !important}.tabbed-set>label{padding:0 1rem !important;margin:0 !important}.thebe-launch-button{height:2.2em !important;font-size:.8em !important;border:1px solid rgba(var(--spt-color-gray-600), 1) !important;border-radius:4px !important;color:rgba(var(--spt-color-gray-600), 1)}#shim{padding:0;margin-top:var(--pst-header-height)}#navbar-main{z-index:5000;padding-left:15px;padding-right:15px}#navbar-main .container-xl{padding:0}.bd-header{background:#343a40 !important}#navbar-icon-links i:before{color:var(--spt-color-light) !important}main.standalone-main{padding:0 !important;background-color:white}main.standalone-main div.sectionwrapper-1,main.standalone-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1)}main.standalone-main div.section-1,main.standalone-main div.section-2{position:relative;padding-top:1rem;padding-bottom:1rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h2,main.standalone-main div.section-1 .h2,main.standalone-main div.section-1 h1,main.standalone-main div.section-1 .h1,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h2,main.standalone-main div.section-2 .h2,main.standalone-main div.section-2 h1,main.standalone-main div.section-2 .h1{margin-top:0;margin-bottom:0.5rem}main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6{padding:1rem 0}main.standalone-main div.section-title-wrapper{display:flex;justify-content:flex-start}main.standalone-main div.section-title{padding:0 4rem 0.1rem 0;margin:0 0 1.6rem 0;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main{padding:0 !important}main.banner-main #main-content{padding:0 !important}main.banner-main div.sectionwrapper-1{position:relative;background-size:cover;background-position:center center;color:rgba(var(--spt-color-light), 1);background-color:rgba(var(--spt-color-gray-700), 1)}main.banner-main div.sectionwrapper-1 div.section-banner-caption{position:absolute;right:0;bottom:0;font-size:0.8rem;opacity:0.6;padding-right:0.5rem}main.banner-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1);background-color:rgba(var(--spt-color-light), 1)}main.banner-main div.sectionwrapper-2:nth-child(even){background-color:rgba(var(--spt-color-gray-300), 1)}main.banner-main div.section-1,main.banner-main div.section-2{position:relative;padding-top:7rem;padding-bottom:7rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.banner-main div.section-1 h3,main.banner-main div.section-1 h4,main.banner-main div.section-1 h5,main.banner-main div.section-1 h6,main.banner-main div.section-2 h3,main.banner-main div.section-2 h4,main.banner-main div.section-2 h5,main.banner-main div.section-2 h6{padding:2rem 0 1rem 0;text-align:center}main.banner-main div.section-title-wrapper{display:flex;justify-content:center}main.banner-main div.section-title{padding:0 4rem 1rem 4rem;margin-bottom:3rem;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main p{font-size:1.25rem;font-weight:300}main.banner-main div.section.dark-banner h1,main.banner-main div.section.dark-banner h2,main.banner-main div.section.dark-banner h3,main.banner-main div.section.dark-banner h4,main.banner-main div.section.dark-banner h5,main.banner-main div.section.dark-banner h6{color:var(--spt-color-light) !important}main.banner-main div.section.dark-banner p{color:var(--spt-color-light) !important}.bd-main .bd-content .bd-article-container{max-width:100%}.bd-page-width{max-width:85%}.bd-footer{color:rgba(var(--spt-color-light), 1);font-size:0.8rem;font-family:var(--spt-font-footnote);padding:0}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6,.bd-footer p,.bd-footer a{color:rgba(var(--spt-color-light), 1);font-family:var(--spt-font-footnote)}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6{font-size:1rem;margin-bottom:5px}.bd-footer p{font-size:0.8rem}.bd-footer .footer-logos{background-color:rgba(var(--spt-color-gray-200), 1)}.bd-footer .footer-info,.bd-footer .footer-menu{color:rgba(var(--spt-color-gray-400), 1);background-color:rgba(var(--spt-color-dark), 1);padding-top:0.4rem;padding-bottom:0.4rem}.bd-footer .footer-info li,.bd-footer .footer-menu li{line-height:1rem;margin-bottom:5px}.bd-footer .footer-extra{background-color:rgba(var(--spt-color-gray-700), 1);padding-top:1rem;padding-bottom:1rem}.bd-footer .footer-extra img{height:60px}.iframe,.iframe-4x3,.iframe-16x9{position:relative;height:0;width:75%;margin-bottom:1rem;margin-left:auto;margin-right:auto}.iframe iframe,.iframe-4x3 iframe,.iframe-16x9 iframe{border:0;position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%}.iframe-16x9{padding-bottom:calc(0.75 * 56.25%)}.iframe-4x3{padding-bottom:calc(0.75 * 75%)}@media (prefers-color-scheme: dark){p{color:black}#codecell1,#codecell2,#codecell3,#codecell4,#codecell5,#codecell6,#codecell7,#codecell8,#codecell9,#codecell10,#codecell11,#codecell12,#codecell13,#codecell14,#codecell15,#codecell16,#codecell17,#codecell18,#codecell19,#codecell20,#codecell21,#codecell22,#codecell23,#codecell24,#codecell25,#codecell26,#codecell27,#codecell28,#codecell29,#codecell30,#codecell31,#codecell32,#codecell33,#codecell34,#codecell35,#codecell36,#codecell37,#codecell38,#codecell39,#codecell40,#codecell41,#codecell42,#codecell43,#codecell44,#codecell45,#codecell46,#codecell47,#codecell48,#codecell49,#codecell50,#codecell51,#codecell52,#codecell53,#codecell54,#codecell55,#codecell56,#codecell57,#codecell58,#codecell59,#codecell60,#codecell61,#codecell62,#codecell63,#codecell64,#codecell65,#codecell66,#codecell67,#codecell68,#codecell69,#codecell70,#codecell71,#codecell72,#codecell73,#codecell74,#codecell75,#codecell76,#codecell77,#codecell78,#codecell79,#codecell80,#codecell81,#codecell82,#codecell83,#codecell84,#codecell85,#codecell86,#codecell87,#codecell88,#codecell89,#codecell90,#codecell91,#codecell92,#codecell93,#codecell94,#codecell95,#codecell96,#codecell97,#codecell98,#codecell99,#codecell100{color:black}}html[data-theme="dark"] .highlight .nn{color:#545454}html[data-theme="dark"] .highlight .n{color:#545454}html[data-theme="dark"] .highlight .s1{color:#008000}html[data-theme="dark"] .highlight .s2{color:#0080}html[data-theme="dark"] .highlight .o{color:#008000}html[data-theme="dark"] .highlight .kn{color:#7928a1}html[data-theme="dark"] .highlight .k{color:#7928a1}html[data-theme="dark"] .highlight .nb{color:#797129}html[data-theme="dark"] .highlight .p{color:#545454}element.style{color:black} +}body{font-family:var(--spt-font-body),sans-serif}html{scroll-behavior:smooth;scroll-padding-top:128px}.admonition.alert-info,div.admonition.alert-info{border-color:#0c5460 !important}.admonition.alert-info .admonition-title::before,div.admonition.alert-info .admonition-title::before{color:#0c5460 !important}.admonition.alert-success,div.admonition.alert-success{border-color:#155724 !important}.admonition.alert-success .admonition-title::before,div.admonition.alert-success .admonition-title::before{color:#155724 !important}.admonition.alert-warning,div.admonition.alert-warning{border-color:#856404 !important}.admonition.alert-warning .admonition-title::before,div.admonition.alert-warning .admonition-title::before{color:#856404 !important}.admonition.alert-danger,div.admonition.alert-danger{border-color:#721c24 !important}.admonition.alert-danger .admonition-title::before,div.admonition.alert-danger .admonition-title::before{color:#721c24 !important}.bg-primary{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary{background-color:rgba(var(--pst-color-primary), 1) !important;border-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary:hover{background-color:rgba(var(--pst-color-primary-hover), 1) !important;color:white !important}.btn-outline-primary{border-color:rgba(var(--pst-color-primary), 1) !important;color:rgba(var(--pst-color-primary), 1) !important}.btn-outline-primary:hover,.show>.btn-outline-primary.dropdown-toggle{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-link{color:rgba(var(--pst-color-primary), 1) !important}.display-1{font-size:5rem !important}.display-2{font-size:3rem !important}.display-3{font-size:2rem !important}.display-4{font-size:1.6667rem !important}.display-5{font-size:1.3333rem !important}.display-6{font-size:1rem !important}.form-control:focus{outline:none !important;box-shadow:none !important}.navbar-brand{padding:.75rem 0 !important}.row{margin-left:0 !important;margin-right:0 !important}a.badge{text-decoration:none !important}a.navbar-brand img{vertical-align:middle !important}body>div.container-fluid,body>div.container-xl{padding-right:0;padding-left:0}i.fab,i.far,i.fas{font-size:70%}a.headerlink i.fab,a.headerlink i.far,a.headerlink i.fas{position:absolute;top:50%;transform:translateY(-50%)}a.headerlink{position:relative;text-decoration:none;font-size:unset !important;padding:0 0.7rem !important}a.headerlink:hover{color:rgba(var(--spt-color-gray-500), 1);background-color:transparent}div.highlight pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.bd-sidebar .nav li>a{padding-top:0.1rem;padding-bottom:0.1rem}.bd-toc nav>.nav{border-left:1px solid #eee;border-bottom:1px solid #eee;border-radius:0 0 0 6px;padding-bottom:0.5em}.prev-next-area{margin:2rem auto 0 auto;border-top:1px solid rgba(var(--spt-color-gray-300), 1);max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}.prev-next-area i{font-size:1.1rem;color:rgba(var(--spt-color-gray-600), 1)}.prev-next-area a p.prev-next-title{font-size:1rem;font-weight:600;color:rgba(var(--spt-color-gray-600), 1)}#banner{margin-top:var(--pst-header-height) !important}#site-navigation{top:var(--pst-header-height) !important;height:calc(100vh - var(--pst-header-height)) !important;padding-top:0}#main-content{min-height:calc(100vh - var(--pst-header-height))}.topbar{top:var(--pst-header-height) !important;padding:0 !important}.topbar-main button:focus{outline:none !important}.cell .cell_input,.cell .cell_output{padding:0 !important}.cell .cell_input{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;border-left-color:rgba(var(--pst-color-primary), 1) !important;border-left-width:medium !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_input pre{border:none !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_output{border:none !important}.cell .cell_output pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.tabbed-content{box-shadow:0 -0.0625rem var(--tabs-color-overline) !important;padding-bottom:0 !important}.tabbed-set>label{padding:0 1rem !important;margin:0 !important}.thebe-launch-button{height:2.2em !important;font-size:.8em !important;border:1px solid rgba(var(--spt-color-gray-600), 1) !important;border-radius:4px !important;color:rgba(var(--spt-color-gray-600), 1)}#shim{padding:0;margin-top:var(--pst-header-height)}#navbar-main{z-index:5000;padding-left:15px;padding-right:15px}#navbar-main .container-xl{padding:0}.bd-header{background:#343a40 !important}#navbar-icon-links i:before{color:var(--spt-color-light) !important}main.standalone-main{padding:0 !important;background-color:white}main.standalone-main div.sectionwrapper-1,main.standalone-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1)}main.standalone-main div.section-1,main.standalone-main div.section-2{position:relative;padding-top:1rem;padding-bottom:1rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h2,main.standalone-main div.section-1 .h2,main.standalone-main div.section-1 h1,main.standalone-main div.section-1 .h1,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h2,main.standalone-main div.section-2 .h2,main.standalone-main div.section-2 h1,main.standalone-main div.section-2 .h1{margin-top:0;margin-bottom:0.5rem}main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6{padding:1rem 0}main.standalone-main div.section-title-wrapper{display:flex;justify-content:flex-start}main.standalone-main div.section-title{padding:0 4rem 0.1rem 0;margin:0 0 1.6rem 0;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main{padding:0 !important}main.banner-main #main-content{padding:0 !important}main.banner-main div.sectionwrapper-1{position:relative;background-size:cover;background-position:center center;color:rgba(var(--spt-color-light), 1);background-color:rgba(var(--spt-color-gray-700), 1)}main.banner-main div.sectionwrapper-1 div.section-banner-caption{position:absolute;right:0;bottom:0;font-size:0.8rem;opacity:0.6;padding-right:0.5rem}main.banner-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1);background-color:rgba(var(--spt-color-light), 1)}main.banner-main div.sectionwrapper-2:nth-child(even){background-color:rgba(var(--spt-color-gray-300), 1)}main.banner-main div.section-1,main.banner-main div.section-2{position:relative;padding-top:7rem;padding-bottom:7rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.banner-main div.section-1 h3,main.banner-main div.section-1 h4,main.banner-main div.section-1 h5,main.banner-main div.section-1 h6,main.banner-main div.section-2 h3,main.banner-main div.section-2 h4,main.banner-main div.section-2 h5,main.banner-main div.section-2 h6{padding:2rem 0 1rem 0;text-align:center}main.banner-main div.section-title-wrapper{display:flex;justify-content:center}main.banner-main div.section-title{padding:0 4rem 1rem 4rem;margin-bottom:3rem;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main p{font-size:1.25rem;font-weight:300}main.banner-main div.section.dark-banner h1,main.banner-main div.section.dark-banner h2,main.banner-main div.section.dark-banner h3,main.banner-main div.section.dark-banner h4,main.banner-main div.section.dark-banner h5,main.banner-main div.section.dark-banner h6{color:var(--spt-color-light) !important}main.banner-main div.section.dark-banner p{color:var(--spt-color-light) !important}.bd-main .bd-content .bd-article-container{max-width:100%}.bd-page-width{max-width:85%}.bd-footer{color:rgba(var(--spt-color-light), 1);font-size:0.8rem;font-family:var(--spt-font-footnote);padding:0}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6,.bd-footer p,.bd-footer a{color:rgba(var(--spt-color-light), 1);font-family:var(--spt-font-footnote)}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6{font-size:1rem;margin-bottom:5px}.bd-footer p{font-size:0.8rem}.bd-footer .footer-logos{background-color:rgba(var(--spt-color-gray-200), 1)}.bd-footer .footer-info,.bd-footer .footer-menu{color:rgba(var(--spt-color-gray-400), 1);background-color:rgba(var(--spt-color-dark), 1);padding-top:0.4rem;padding-bottom:0.4rem}.bd-footer .footer-info li,.bd-footer .footer-menu li{line-height:1rem;margin-bottom:5px}.bd-footer .footer-extra{background-color:rgba(var(--spt-color-gray-700), 1);padding-top:1rem;padding-bottom:1rem}.bd-footer .footer-extra img{height:60px}.iframe,.iframe-4x3,.iframe-16x9{position:relative;height:0;width:75%;margin-bottom:1rem;margin-left:auto;margin-right:auto}.iframe iframe,.iframe-4x3 iframe,.iframe-16x9 iframe{border:0;position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%}.iframe-16x9{padding-bottom:calc(0.75 * 56.25%)}.iframe-4x3{padding-bottom:calc(0.75 * 75%)}.sd-btn-primary,.sd-btn-outline-primary:hover,.sd-btn-outline-primary:focus{color:#0a7d91 !important}@media (prefers-color-scheme: dark){p{color:black}.sd-btn-primary,.sd-btn-outline-primary:hover,.sd-btn-outline-primary:focus{color:#0a7d91 !important}}html[data-theme="dark"] .highlight .nn{color:#545454}html[data-theme="dark"] .highlight .n{color:#545454}html[data-theme="dark"] .highlight .s1{color:#008000}html[data-theme="dark"] .highlight .s2{color:#0080}html[data-theme="dark"] .highlight .o{color:#008000}html[data-theme="dark"] .highlight .kn{color:#7928a1}html[data-theme="dark"] .highlight .k{color:#7928a1}html[data-theme="dark"] .highlight .nb{color:#797129}html[data-theme="dark"] .highlight .p{color:#545454}element.style{color:black}html[data-theme="dark"] .highlight .nt{color:#007faa}html[data-theme="dark"] .highlight .l{color:#797129}html[data-theme="dark"] .highlight .cp{color:#797129}html[data-theme="dark"] .highlight pre{color:black} diff --git a/src/scss/sphinx-pythia-theme.scss b/src/scss/sphinx-pythia-theme.scss index 903e1aa..2dc9d4b 100644 --- a/src/scss/sphinx-pythia-theme.scss +++ b/src/scss/sphinx-pythia-theme.scss @@ -288,34 +288,18 @@ main.banner-main { padding-bottom: calc(0.75 * 75%); } +.sd-btn-primary, .sd-btn-outline-primary:hover, .sd-btn-outline-primary:focus { + color: #0a7d91 !important; +} + /* Dark mode styles */ @media (prefers-color-scheme: dark) { p { color: black; } - /* Specific styles for code cells (they have IDs instead of a class)*/ - #codecell1, #codecell2, #codecell3, #codecell4, #codecell5, - #codecell6, #codecell7, #codecell8, #codecell9, #codecell10, - #codecell11, #codecell12, #codecell13, #codecell14, #codecell15, - #codecell16, #codecell17, #codecell18, #codecell19, #codecell20, - #codecell21, #codecell22, #codecell23, #codecell24, #codecell25, - #codecell26, #codecell27, #codecell28, #codecell29, #codecell30, - #codecell31, #codecell32, #codecell33, #codecell34, #codecell35, - #codecell36, #codecell37, #codecell38, #codecell39, #codecell40, - #codecell41, #codecell42, #codecell43, #codecell44, #codecell45, - #codecell46, #codecell47, #codecell48, #codecell49, #codecell50, - #codecell51, #codecell52, #codecell53, #codecell54, #codecell55, - #codecell56, #codecell57, #codecell58, #codecell59, #codecell60, - #codecell61, #codecell62, #codecell63, #codecell64, #codecell65, - #codecell66, #codecell67, #codecell68, #codecell69, #codecell70, - #codecell71, #codecell72, #codecell73, #codecell74, #codecell75, - #codecell76, #codecell77, #codecell78, #codecell79, #codecell80, - #codecell81, #codecell82, #codecell83, #codecell84, #codecell85, - #codecell86, #codecell87, #codecell88, #codecell89, #codecell90, - #codecell91, #codecell92, #codecell93, #codecell94, #codecell95, - #codecell96, #codecell97, #codecell98, #codecell99, #codecell100 { - color: black; /* Light text color for dark mode */ + .sd-btn-primary, .sd-btn-outline-primary:hover, .sd-btn-outline-primary:focus { + color: #0a7d91 !important; } } @@ -357,4 +341,20 @@ html[data-theme="dark"] .highlight .p { element.style { color: black; +} + +html[data-theme="dark"] .highlight .nt { + color: #007faa; +} + +html[data-theme="dark"] .highlight .l { + color: #797129; +} + +html[data-theme="dark"] .highlight .cp { + color: #797129; +} + +html[data-theme="dark"] .highlight pre { + color: black; } \ No newline at end of file From 32565e179225db567d29461c0c34a57bfd7621d0 Mon Sep 17 00:00:00 2001 From: Julia Kent <46687291+jukent@users.noreply.github.com> Date: Mon, 3 Jun 2024 18:42:20 -0600 Subject: [PATCH 09/18] missed highlight classes and navbuttons --- .../static/sphinx-pythia-theme.min.css | 2 +- src/scss/sphinx-pythia-theme.scss | 65 ++++++++++++------- 2 files changed, 43 insertions(+), 24 deletions(-) diff --git a/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css b/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css index 34e80a5..6a5d18f 100644 --- a/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css +++ b/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css @@ -1,2 +1,2 @@ @import url(sphinx-book-theme.css);:root{--spt-font-body: 'Poppins';--spt-font-headings: 'Poppins';--spt-font-footnote: 'Cormorant';--spt-color-gray-100: 248, 249, 250;--spt-color-gray-200: 233, 236, 239;--spt-color-gray-300: 222, 226, 230;--spt-color-gray-400: 206, 212, 218;--spt-color-gray-500: 173, 181, 189;--spt-color-gray-600: 108, 117, 125;--spt-color-gray-700: 73, 80, 87;--spt-color-gray-800: 52, 58, 64;--spt-color-gray-900: 33, 37, 41;--spt-color-light: var(--spt-color-gray-100);--spt-color-dark: var(--spt-color-gray-800);--spt-color-green: 0, 121, 124;--spt-color-green-lighter: 20, 141, 144;--spt-color-green-lightest: 130, 231, 234;--spt-color-blue: 26, 101, 143;--spt-color-blue-lighter: 46, 121, 163;--spt-color-blue-lightest: 156, 191, 213;--spt-color-deep-blue: 1, 33, 105;--spt-color-green-highlight: 168, 199, 0;--pst-color-primary: var(--spt-color-blue) !important;--pst-color-primary-hover: var(--spt-color-blue-lighter) !important;--pst-color-secondary: var(--spt-color-blue-lightest) !important;--pst-color-link: #1a648f !important;--pst-color-link-hover: #9cbfd5 !important;--pst-color-headerlink: var(--spt-color-gray-300) !important;--pst-color-headerlink-hover: var(--spt-color-gray-100)!important;--pst-color-text-muted: #6c757d !important;--tabs-size-label: 0.8rem !important;--tabs-color-label-active: rgba(var(--pst-color-primary), 1) !important;--tabs-color-label-inactive: rgba(var(--spt-color-blue-lightest), 1) !important -}body{font-family:var(--spt-font-body),sans-serif}html{scroll-behavior:smooth;scroll-padding-top:128px}.admonition.alert-info,div.admonition.alert-info{border-color:#0c5460 !important}.admonition.alert-info .admonition-title::before,div.admonition.alert-info .admonition-title::before{color:#0c5460 !important}.admonition.alert-success,div.admonition.alert-success{border-color:#155724 !important}.admonition.alert-success .admonition-title::before,div.admonition.alert-success .admonition-title::before{color:#155724 !important}.admonition.alert-warning,div.admonition.alert-warning{border-color:#856404 !important}.admonition.alert-warning .admonition-title::before,div.admonition.alert-warning .admonition-title::before{color:#856404 !important}.admonition.alert-danger,div.admonition.alert-danger{border-color:#721c24 !important}.admonition.alert-danger .admonition-title::before,div.admonition.alert-danger .admonition-title::before{color:#721c24 !important}.bg-primary{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary{background-color:rgba(var(--pst-color-primary), 1) !important;border-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary:hover{background-color:rgba(var(--pst-color-primary-hover), 1) !important;color:white !important}.btn-outline-primary{border-color:rgba(var(--pst-color-primary), 1) !important;color:rgba(var(--pst-color-primary), 1) !important}.btn-outline-primary:hover,.show>.btn-outline-primary.dropdown-toggle{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-link{color:rgba(var(--pst-color-primary), 1) !important}.display-1{font-size:5rem !important}.display-2{font-size:3rem !important}.display-3{font-size:2rem !important}.display-4{font-size:1.6667rem !important}.display-5{font-size:1.3333rem !important}.display-6{font-size:1rem !important}.form-control:focus{outline:none !important;box-shadow:none !important}.navbar-brand{padding:.75rem 0 !important}.row{margin-left:0 !important;margin-right:0 !important}a.badge{text-decoration:none !important}a.navbar-brand img{vertical-align:middle !important}body>div.container-fluid,body>div.container-xl{padding-right:0;padding-left:0}i.fab,i.far,i.fas{font-size:70%}a.headerlink i.fab,a.headerlink i.far,a.headerlink i.fas{position:absolute;top:50%;transform:translateY(-50%)}a.headerlink{position:relative;text-decoration:none;font-size:unset !important;padding:0 0.7rem !important}a.headerlink:hover{color:rgba(var(--spt-color-gray-500), 1);background-color:transparent}div.highlight pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.bd-sidebar .nav li>a{padding-top:0.1rem;padding-bottom:0.1rem}.bd-toc nav>.nav{border-left:1px solid #eee;border-bottom:1px solid #eee;border-radius:0 0 0 6px;padding-bottom:0.5em}.prev-next-area{margin:2rem auto 0 auto;border-top:1px solid rgba(var(--spt-color-gray-300), 1);max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}.prev-next-area i{font-size:1.1rem;color:rgba(var(--spt-color-gray-600), 1)}.prev-next-area a p.prev-next-title{font-size:1rem;font-weight:600;color:rgba(var(--spt-color-gray-600), 1)}#banner{margin-top:var(--pst-header-height) !important}#site-navigation{top:var(--pst-header-height) !important;height:calc(100vh - var(--pst-header-height)) !important;padding-top:0}#main-content{min-height:calc(100vh - var(--pst-header-height))}.topbar{top:var(--pst-header-height) !important;padding:0 !important}.topbar-main button:focus{outline:none !important}.cell .cell_input,.cell .cell_output{padding:0 !important}.cell .cell_input{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;border-left-color:rgba(var(--pst-color-primary), 1) !important;border-left-width:medium !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_input pre{border:none !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_output{border:none !important}.cell .cell_output pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.tabbed-content{box-shadow:0 -0.0625rem var(--tabs-color-overline) !important;padding-bottom:0 !important}.tabbed-set>label{padding:0 1rem !important;margin:0 !important}.thebe-launch-button{height:2.2em !important;font-size:.8em !important;border:1px solid rgba(var(--spt-color-gray-600), 1) !important;border-radius:4px !important;color:rgba(var(--spt-color-gray-600), 1)}#shim{padding:0;margin-top:var(--pst-header-height)}#navbar-main{z-index:5000;padding-left:15px;padding-right:15px}#navbar-main .container-xl{padding:0}.bd-header{background:#343a40 !important}#navbar-icon-links i:before{color:var(--spt-color-light) !important}main.standalone-main{padding:0 !important;background-color:white}main.standalone-main div.sectionwrapper-1,main.standalone-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1)}main.standalone-main div.section-1,main.standalone-main div.section-2{position:relative;padding-top:1rem;padding-bottom:1rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h2,main.standalone-main div.section-1 .h2,main.standalone-main div.section-1 h1,main.standalone-main div.section-1 .h1,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h2,main.standalone-main div.section-2 .h2,main.standalone-main div.section-2 h1,main.standalone-main div.section-2 .h1{margin-top:0;margin-bottom:0.5rem}main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6{padding:1rem 0}main.standalone-main div.section-title-wrapper{display:flex;justify-content:flex-start}main.standalone-main div.section-title{padding:0 4rem 0.1rem 0;margin:0 0 1.6rem 0;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main{padding:0 !important}main.banner-main #main-content{padding:0 !important}main.banner-main div.sectionwrapper-1{position:relative;background-size:cover;background-position:center center;color:rgba(var(--spt-color-light), 1);background-color:rgba(var(--spt-color-gray-700), 1)}main.banner-main div.sectionwrapper-1 div.section-banner-caption{position:absolute;right:0;bottom:0;font-size:0.8rem;opacity:0.6;padding-right:0.5rem}main.banner-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1);background-color:rgba(var(--spt-color-light), 1)}main.banner-main div.sectionwrapper-2:nth-child(even){background-color:rgba(var(--spt-color-gray-300), 1)}main.banner-main div.section-1,main.banner-main div.section-2{position:relative;padding-top:7rem;padding-bottom:7rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.banner-main div.section-1 h3,main.banner-main div.section-1 h4,main.banner-main div.section-1 h5,main.banner-main div.section-1 h6,main.banner-main div.section-2 h3,main.banner-main div.section-2 h4,main.banner-main div.section-2 h5,main.banner-main div.section-2 h6{padding:2rem 0 1rem 0;text-align:center}main.banner-main div.section-title-wrapper{display:flex;justify-content:center}main.banner-main div.section-title{padding:0 4rem 1rem 4rem;margin-bottom:3rem;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main p{font-size:1.25rem;font-weight:300}main.banner-main div.section.dark-banner h1,main.banner-main div.section.dark-banner h2,main.banner-main div.section.dark-banner h3,main.banner-main div.section.dark-banner h4,main.banner-main div.section.dark-banner h5,main.banner-main div.section.dark-banner h6{color:var(--spt-color-light) !important}main.banner-main div.section.dark-banner p{color:var(--spt-color-light) !important}.bd-main .bd-content .bd-article-container{max-width:100%}.bd-page-width{max-width:85%}.bd-footer{color:rgba(var(--spt-color-light), 1);font-size:0.8rem;font-family:var(--spt-font-footnote);padding:0}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6,.bd-footer p,.bd-footer a{color:rgba(var(--spt-color-light), 1);font-family:var(--spt-font-footnote)}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6{font-size:1rem;margin-bottom:5px}.bd-footer p{font-size:0.8rem}.bd-footer .footer-logos{background-color:rgba(var(--spt-color-gray-200), 1)}.bd-footer .footer-info,.bd-footer .footer-menu{color:rgba(var(--spt-color-gray-400), 1);background-color:rgba(var(--spt-color-dark), 1);padding-top:0.4rem;padding-bottom:0.4rem}.bd-footer .footer-info li,.bd-footer .footer-menu li{line-height:1rem;margin-bottom:5px}.bd-footer .footer-extra{background-color:rgba(var(--spt-color-gray-700), 1);padding-top:1rem;padding-bottom:1rem}.bd-footer .footer-extra img{height:60px}.iframe,.iframe-4x3,.iframe-16x9{position:relative;height:0;width:75%;margin-bottom:1rem;margin-left:auto;margin-right:auto}.iframe iframe,.iframe-4x3 iframe,.iframe-16x9 iframe{border:0;position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%}.iframe-16x9{padding-bottom:calc(0.75 * 56.25%)}.iframe-4x3{padding-bottom:calc(0.75 * 75%)}.sd-btn-primary,.sd-btn-outline-primary:hover,.sd-btn-outline-primary:focus{color:#0a7d91 !important}@media (prefers-color-scheme: dark){p{color:black}.sd-btn-primary,.sd-btn-outline-primary:hover,.sd-btn-outline-primary:focus{color:#0a7d91 !important}}html[data-theme="dark"] .highlight .nn{color:#545454}html[data-theme="dark"] .highlight .n{color:#545454}html[data-theme="dark"] .highlight .s1{color:#008000}html[data-theme="dark"] .highlight .s2{color:#0080}html[data-theme="dark"] .highlight .o{color:#008000}html[data-theme="dark"] .highlight .kn{color:#7928a1}html[data-theme="dark"] .highlight .k{color:#7928a1}html[data-theme="dark"] .highlight .nb{color:#797129}html[data-theme="dark"] .highlight .p{color:#545454}element.style{color:black}html[data-theme="dark"] .highlight .nt{color:#007faa}html[data-theme="dark"] .highlight .l{color:#797129}html[data-theme="dark"] .highlight .cp{color:#797129}html[data-theme="dark"] .highlight pre{color:black} +}body{font-family:var(--spt-font-body),sans-serif}html{scroll-behavior:smooth;scroll-padding-top:128px}.admonition.alert-info,div.admonition.alert-info{border-color:#0c5460 !important}.admonition.alert-info .admonition-title::before,div.admonition.alert-info .admonition-title::before{color:#0c5460 !important}.admonition.alert-success,div.admonition.alert-success{border-color:#155724 !important}.admonition.alert-success .admonition-title::before,div.admonition.alert-success .admonition-title::before{color:#155724 !important}.admonition.alert-warning,div.admonition.alert-warning{border-color:#856404 !important}.admonition.alert-warning .admonition-title::before,div.admonition.alert-warning .admonition-title::before{color:#856404 !important}.admonition.alert-danger,div.admonition.alert-danger{border-color:#721c24 !important}.admonition.alert-danger .admonition-title::before,div.admonition.alert-danger .admonition-title::before{color:#721c24 !important}.bg-primary{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary{background-color:rgba(var(--pst-color-primary), 1) !important;border-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary:hover{background-color:rgba(var(--pst-color-primary-hover), 1) !important;color:white !important}.btn-outline-primary{border-color:rgba(var(--pst-color-primary), 1) !important;color:rgba(var(--pst-color-primary), 1) !important}.btn-outline-primary:hover,.show>.btn-outline-primary.dropdown-toggle{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-link{color:rgba(var(--pst-color-primary), 1) !important}.display-1{font-size:5rem !important}.display-2{font-size:3rem !important}.display-3{font-size:2rem !important}.display-4{font-size:1.6667rem !important}.display-5{font-size:1.3333rem !important}.display-6{font-size:1rem !important}.form-control:focus{outline:none !important;box-shadow:none !important}.navbar-brand{padding:.75rem 0 !important}.row{margin-left:0 !important;margin-right:0 !important}a.badge{text-decoration:none !important}a.navbar-brand img{vertical-align:middle !important}body>div.container-fluid,body>div.container-xl{padding-right:0;padding-left:0}i.fab,i.far,i.fas{font-size:70%}a.headerlink i.fab,a.headerlink i.far,a.headerlink i.fas{position:absolute;top:50%;transform:translateY(-50%)}a.headerlink{position:relative;text-decoration:none;font-size:unset !important;padding:0 0.7rem !important}a.headerlink:hover{color:rgba(var(--spt-color-gray-500), 1);background-color:transparent}div.highlight pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.bd-sidebar .nav li>a{padding-top:0.1rem;padding-bottom:0.1rem}.bd-toc nav>.nav{border-left:1px solid #eee;border-bottom:1px solid #eee;border-radius:0 0 0 6px;padding-bottom:0.5em}.prev-next-area{margin:2rem auto 0 auto;border-top:1px solid rgba(var(--spt-color-gray-300), 1);max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}.prev-next-area i{font-size:1.1rem;color:rgba(var(--spt-color-gray-600), 1)}.prev-next-area a p.prev-next-title{font-size:1rem;font-weight:600;color:rgba(var(--spt-color-gray-600), 1)}#banner{margin-top:var(--pst-header-height) !important}#site-navigation{top:var(--pst-header-height) !important;height:calc(100vh - var(--pst-header-height)) !important;padding-top:0}#main-content{min-height:calc(100vh - var(--pst-header-height))}.topbar{top:var(--pst-header-height) !important;padding:0 !important}.topbar-main button:focus{outline:none !important}.cell .cell_input,.cell .cell_output{padding:0 !important}.cell .cell_input{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;border-left-color:rgba(var(--pst-color-primary), 1) !important;border-left-width:medium !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_input pre{border:none !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_output{border:none !important}.cell .cell_output pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.tabbed-content{box-shadow:0 -0.0625rem var(--tabs-color-overline) !important;padding-bottom:0 !important}.tabbed-set>label{padding:0 1rem !important;margin:0 !important}.thebe-launch-button{height:2.2em !important;font-size:.8em !important;border:1px solid rgba(var(--spt-color-gray-600), 1) !important;border-radius:4px !important;color:rgba(var(--spt-color-gray-600), 1)}#shim{padding:0;margin-top:var(--pst-header-height)}#navbar-main{z-index:5000;padding-left:15px;padding-right:15px}#navbar-main .container-xl{padding:0}.bd-header{background:#343a40 !important}#navbar-icon-links i:before{color:var(--spt-color-light) !important}main.standalone-main{padding:0 !important;background-color:white}main.standalone-main div.sectionwrapper-1,main.standalone-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1)}main.standalone-main div.section-1,main.standalone-main div.section-2{position:relative;padding-top:1rem;padding-bottom:1rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h2,main.standalone-main div.section-1 .h2,main.standalone-main div.section-1 h1,main.standalone-main div.section-1 .h1,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h2,main.standalone-main div.section-2 .h2,main.standalone-main div.section-2 h1,main.standalone-main div.section-2 .h1{margin-top:0;margin-bottom:0.5rem}main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6{padding:1rem 0}main.standalone-main div.section-title-wrapper{display:flex;justify-content:flex-start}main.standalone-main div.section-title{padding:0 4rem 0.1rem 0;margin:0 0 1.6rem 0;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main{padding:0 !important}main.banner-main #main-content{padding:0 !important}main.banner-main div.sectionwrapper-1{position:relative;background-size:cover;background-position:center center;color:rgba(var(--spt-color-light), 1);background-color:rgba(var(--spt-color-gray-700), 1)}main.banner-main div.sectionwrapper-1 div.section-banner-caption{position:absolute;right:0;bottom:0;font-size:0.8rem;opacity:0.6;padding-right:0.5rem}main.banner-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1);background-color:rgba(var(--spt-color-light), 1)}main.banner-main div.sectionwrapper-2:nth-child(even){background-color:rgba(var(--spt-color-gray-300), 1)}main.banner-main div.section-1,main.banner-main div.section-2{position:relative;padding-top:7rem;padding-bottom:7rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.banner-main div.section-1 h3,main.banner-main div.section-1 h4,main.banner-main div.section-1 h5,main.banner-main div.section-1 h6,main.banner-main div.section-2 h3,main.banner-main div.section-2 h4,main.banner-main div.section-2 h5,main.banner-main div.section-2 h6{padding:2rem 0 1rem 0;text-align:center}main.banner-main div.section-title-wrapper{display:flex;justify-content:center}main.banner-main div.section-title{padding:0 4rem 1rem 4rem;margin-bottom:3rem;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main p{font-size:1.25rem;font-weight:300}main.banner-main div.section.dark-banner h1,main.banner-main div.section.dark-banner h2,main.banner-main div.section.dark-banner h3,main.banner-main div.section.dark-banner h4,main.banner-main div.section.dark-banner h5,main.banner-main div.section.dark-banner h6{color:var(--spt-color-light) !important}main.banner-main div.section.dark-banner p{color:var(--spt-color-light) !important}.bd-main .bd-content .bd-article-container{max-width:100%}.bd-page-width{max-width:85%}.bd-footer{color:rgba(var(--spt-color-light), 1);font-size:0.8rem;font-family:var(--spt-font-footnote);padding:0}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6,.bd-footer p,.bd-footer a{color:rgba(var(--spt-color-light), 1);font-family:var(--spt-font-footnote)}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6{font-size:1rem;margin-bottom:5px}.bd-footer p{font-size:0.8rem}.bd-footer .footer-logos{background-color:rgba(var(--spt-color-gray-200), 1)}.bd-footer .footer-info,.bd-footer .footer-menu{color:rgba(var(--spt-color-gray-400), 1);background-color:rgba(var(--spt-color-dark), 1);padding-top:0.4rem;padding-bottom:0.4rem}.bd-footer .footer-info li,.bd-footer .footer-menu li{line-height:1rem;margin-bottom:5px}.bd-footer .footer-extra{background-color:rgba(var(--spt-color-gray-700), 1);padding-top:1rem;padding-bottom:1rem}.bd-footer .footer-extra img{height:60px}.iframe,.iframe-4x3,.iframe-16x9{position:relative;height:0;width:75%;margin-bottom:1rem;margin-left:auto;margin-right:auto}.iframe iframe,.iframe-4x3 iframe,.iframe-16x9 iframe{border:0;position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%}.iframe-16x9{padding-bottom:calc(0.75 * 56.25%)}.iframe-4x3{padding-bottom:calc(0.75 * 75%)}.sd-btn-primary,.sd-btn-outline-primary:hover,.sd-btn-outline-primary:focus{color:#0a7d91 !important}@media (prefers-color-scheme: dark){p{color:black}.sd-btn-primary,.sd-btn-outline-primary:hover,.sd-btn-outline-primary:focus{color:#0a7d91 !important}.btn{--bs-btn-color: white}.search-button{color:white}.nav-link{color:white}}html[data-theme="light"] .highlight .cp{color:#797129}html[data-theme="dark"] .highlight .cp{color:#797129}html[data-theme="dark"] .highlight .k{color:#7928a1}html[data-theme="light"] .highlight .kc{color:#7928a1}html[data-theme="dark"] .highlight .kn{color:#7928a1}html[data-theme="dark"] .highlight .l{color:#797129}html[data-theme="dark"] .highlight .n{color:#545454}html[data-theme="dark"] .highlight .nb{color:#797129}html[data-theme="dark"] .highlight .nn{color:#545454}html[data-theme="dark"] .highlight .nt{color:#007faa}html[data-theme="dark"] .highlight .o{color:#008000}html[data-theme="dark"] .highlight .p{color:#545454}html[data-theme="dark"] .highlight .s{color:#008000}html[data-theme="dark"] .highlight .s1{color:#008000}html[data-theme="dark"] .highlight .s2{color:#008000}html[data-theme="dark"] .highlight pre{color:black} diff --git a/src/scss/sphinx-pythia-theme.scss b/src/scss/sphinx-pythia-theme.scss index 2dc9d4b..0d1a3e7 100644 --- a/src/scss/sphinx-pythia-theme.scss +++ b/src/scss/sphinx-pythia-theme.scss @@ -301,58 +301,77 @@ main.banner-main { .sd-btn-primary, .sd-btn-outline-primary:hover, .sd-btn-outline-primary:focus { color: #0a7d91 !important; } -} -html[data-theme="dark"] .highlight .nn { - color: #545454; + .btn { + --bs-btn-color: white; + } + + .search-button { + color: white; + } + + .nav-link { + color: white; + } } -html[data-theme="dark"] .highlight .n { - color: #545454; +html[data-theme="light"] .highlight .cp { + color: #797129; } -html[data-theme="dark"] .highlight .s1 { - color: #008000; +html[data-theme="dark"] .highlight .cp { + color: #797129; } -html[data-theme="dark"] .highlight .s2 { - color: #0080 +html[data-theme="dark"] .highlight .k { + color: #7928a1; } -html[data-theme="dark"] .highlight .o { - color: #008000; +html[data-theme="light"] .highlight .kc { + color: #7928a1; } html[data-theme="dark"] .highlight .kn { color: #7928a1 } -html[data-theme="dark"] .highlight .k { - color: #7928a1; -} - -html[data-theme="dark"] .highlight .nb { +html[data-theme="dark"] .highlight .l { color: #797129; } -html[data-theme="dark"] .highlight .p { +html[data-theme="dark"] .highlight .n { color: #545454; } -element.style { - color: black; +html[data-theme="dark"] .highlight .nb { + color: #797129; +} +html[data-theme="dark"] .highlight .nn { + color: #545454; } html[data-theme="dark"] .highlight .nt { color: #007faa; } -html[data-theme="dark"] .highlight .l { - color: #797129; +html[data-theme="dark"] .highlight .o { + color: #008000; } -html[data-theme="dark"] .highlight .cp { - color: #797129; +html[data-theme="dark"] .highlight .p { + color: #545454; +} + +html[data-theme="dark"] .highlight .s { + color: #008000; +} + +html[data-theme="dark"] .highlight .s1 { + color: #008000; +} + +html[data-theme="dark"] .highlight .s2 { + color: #008000 } html[data-theme="dark"] .highlight pre { From 4544ad1174f819552227407d7d05bda2a4101d9a Mon Sep 17 00:00:00 2001 From: Julia Kent <46687291+jukent@users.noreply.github.com> Date: Mon, 3 Jun 2024 18:50:31 -0600 Subject: [PATCH 10/18] inconsistencies between dark theme and browser dark mode --- .../static/sphinx-pythia-theme.min.css | 2 +- src/scss/sphinx-pythia-theme.scss | 26 +++++++++---------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css b/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css index 6a5d18f..48627fc 100644 --- a/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css +++ b/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css @@ -1,2 +1,2 @@ @import url(sphinx-book-theme.css);:root{--spt-font-body: 'Poppins';--spt-font-headings: 'Poppins';--spt-font-footnote: 'Cormorant';--spt-color-gray-100: 248, 249, 250;--spt-color-gray-200: 233, 236, 239;--spt-color-gray-300: 222, 226, 230;--spt-color-gray-400: 206, 212, 218;--spt-color-gray-500: 173, 181, 189;--spt-color-gray-600: 108, 117, 125;--spt-color-gray-700: 73, 80, 87;--spt-color-gray-800: 52, 58, 64;--spt-color-gray-900: 33, 37, 41;--spt-color-light: var(--spt-color-gray-100);--spt-color-dark: var(--spt-color-gray-800);--spt-color-green: 0, 121, 124;--spt-color-green-lighter: 20, 141, 144;--spt-color-green-lightest: 130, 231, 234;--spt-color-blue: 26, 101, 143;--spt-color-blue-lighter: 46, 121, 163;--spt-color-blue-lightest: 156, 191, 213;--spt-color-deep-blue: 1, 33, 105;--spt-color-green-highlight: 168, 199, 0;--pst-color-primary: var(--spt-color-blue) !important;--pst-color-primary-hover: var(--spt-color-blue-lighter) !important;--pst-color-secondary: var(--spt-color-blue-lightest) !important;--pst-color-link: #1a648f !important;--pst-color-link-hover: #9cbfd5 !important;--pst-color-headerlink: var(--spt-color-gray-300) !important;--pst-color-headerlink-hover: var(--spt-color-gray-100)!important;--pst-color-text-muted: #6c757d !important;--tabs-size-label: 0.8rem !important;--tabs-color-label-active: rgba(var(--pst-color-primary), 1) !important;--tabs-color-label-inactive: rgba(var(--spt-color-blue-lightest), 1) !important -}body{font-family:var(--spt-font-body),sans-serif}html{scroll-behavior:smooth;scroll-padding-top:128px}.admonition.alert-info,div.admonition.alert-info{border-color:#0c5460 !important}.admonition.alert-info .admonition-title::before,div.admonition.alert-info .admonition-title::before{color:#0c5460 !important}.admonition.alert-success,div.admonition.alert-success{border-color:#155724 !important}.admonition.alert-success .admonition-title::before,div.admonition.alert-success .admonition-title::before{color:#155724 !important}.admonition.alert-warning,div.admonition.alert-warning{border-color:#856404 !important}.admonition.alert-warning .admonition-title::before,div.admonition.alert-warning .admonition-title::before{color:#856404 !important}.admonition.alert-danger,div.admonition.alert-danger{border-color:#721c24 !important}.admonition.alert-danger .admonition-title::before,div.admonition.alert-danger .admonition-title::before{color:#721c24 !important}.bg-primary{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary{background-color:rgba(var(--pst-color-primary), 1) !important;border-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary:hover{background-color:rgba(var(--pst-color-primary-hover), 1) !important;color:white !important}.btn-outline-primary{border-color:rgba(var(--pst-color-primary), 1) !important;color:rgba(var(--pst-color-primary), 1) !important}.btn-outline-primary:hover,.show>.btn-outline-primary.dropdown-toggle{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-link{color:rgba(var(--pst-color-primary), 1) !important}.display-1{font-size:5rem !important}.display-2{font-size:3rem !important}.display-3{font-size:2rem !important}.display-4{font-size:1.6667rem !important}.display-5{font-size:1.3333rem !important}.display-6{font-size:1rem !important}.form-control:focus{outline:none !important;box-shadow:none !important}.navbar-brand{padding:.75rem 0 !important}.row{margin-left:0 !important;margin-right:0 !important}a.badge{text-decoration:none !important}a.navbar-brand img{vertical-align:middle !important}body>div.container-fluid,body>div.container-xl{padding-right:0;padding-left:0}i.fab,i.far,i.fas{font-size:70%}a.headerlink i.fab,a.headerlink i.far,a.headerlink i.fas{position:absolute;top:50%;transform:translateY(-50%)}a.headerlink{position:relative;text-decoration:none;font-size:unset !important;padding:0 0.7rem !important}a.headerlink:hover{color:rgba(var(--spt-color-gray-500), 1);background-color:transparent}div.highlight pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.bd-sidebar .nav li>a{padding-top:0.1rem;padding-bottom:0.1rem}.bd-toc nav>.nav{border-left:1px solid #eee;border-bottom:1px solid #eee;border-radius:0 0 0 6px;padding-bottom:0.5em}.prev-next-area{margin:2rem auto 0 auto;border-top:1px solid rgba(var(--spt-color-gray-300), 1);max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}.prev-next-area i{font-size:1.1rem;color:rgba(var(--spt-color-gray-600), 1)}.prev-next-area a p.prev-next-title{font-size:1rem;font-weight:600;color:rgba(var(--spt-color-gray-600), 1)}#banner{margin-top:var(--pst-header-height) !important}#site-navigation{top:var(--pst-header-height) !important;height:calc(100vh - var(--pst-header-height)) !important;padding-top:0}#main-content{min-height:calc(100vh - var(--pst-header-height))}.topbar{top:var(--pst-header-height) !important;padding:0 !important}.topbar-main button:focus{outline:none !important}.cell .cell_input,.cell .cell_output{padding:0 !important}.cell .cell_input{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;border-left-color:rgba(var(--pst-color-primary), 1) !important;border-left-width:medium !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_input pre{border:none !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_output{border:none !important}.cell .cell_output pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.tabbed-content{box-shadow:0 -0.0625rem var(--tabs-color-overline) !important;padding-bottom:0 !important}.tabbed-set>label{padding:0 1rem !important;margin:0 !important}.thebe-launch-button{height:2.2em !important;font-size:.8em !important;border:1px solid rgba(var(--spt-color-gray-600), 1) !important;border-radius:4px !important;color:rgba(var(--spt-color-gray-600), 1)}#shim{padding:0;margin-top:var(--pst-header-height)}#navbar-main{z-index:5000;padding-left:15px;padding-right:15px}#navbar-main .container-xl{padding:0}.bd-header{background:#343a40 !important}#navbar-icon-links i:before{color:var(--spt-color-light) !important}main.standalone-main{padding:0 !important;background-color:white}main.standalone-main div.sectionwrapper-1,main.standalone-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1)}main.standalone-main div.section-1,main.standalone-main div.section-2{position:relative;padding-top:1rem;padding-bottom:1rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h2,main.standalone-main div.section-1 .h2,main.standalone-main div.section-1 h1,main.standalone-main div.section-1 .h1,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h2,main.standalone-main div.section-2 .h2,main.standalone-main div.section-2 h1,main.standalone-main div.section-2 .h1{margin-top:0;margin-bottom:0.5rem}main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6{padding:1rem 0}main.standalone-main div.section-title-wrapper{display:flex;justify-content:flex-start}main.standalone-main div.section-title{padding:0 4rem 0.1rem 0;margin:0 0 1.6rem 0;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main{padding:0 !important}main.banner-main #main-content{padding:0 !important}main.banner-main div.sectionwrapper-1{position:relative;background-size:cover;background-position:center center;color:rgba(var(--spt-color-light), 1);background-color:rgba(var(--spt-color-gray-700), 1)}main.banner-main div.sectionwrapper-1 div.section-banner-caption{position:absolute;right:0;bottom:0;font-size:0.8rem;opacity:0.6;padding-right:0.5rem}main.banner-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1);background-color:rgba(var(--spt-color-light), 1)}main.banner-main div.sectionwrapper-2:nth-child(even){background-color:rgba(var(--spt-color-gray-300), 1)}main.banner-main div.section-1,main.banner-main div.section-2{position:relative;padding-top:7rem;padding-bottom:7rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.banner-main div.section-1 h3,main.banner-main div.section-1 h4,main.banner-main div.section-1 h5,main.banner-main div.section-1 h6,main.banner-main div.section-2 h3,main.banner-main div.section-2 h4,main.banner-main div.section-2 h5,main.banner-main div.section-2 h6{padding:2rem 0 1rem 0;text-align:center}main.banner-main div.section-title-wrapper{display:flex;justify-content:center}main.banner-main div.section-title{padding:0 4rem 1rem 4rem;margin-bottom:3rem;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main p{font-size:1.25rem;font-weight:300}main.banner-main div.section.dark-banner h1,main.banner-main div.section.dark-banner h2,main.banner-main div.section.dark-banner h3,main.banner-main div.section.dark-banner h4,main.banner-main div.section.dark-banner h5,main.banner-main div.section.dark-banner h6{color:var(--spt-color-light) !important}main.banner-main div.section.dark-banner p{color:var(--spt-color-light) !important}.bd-main .bd-content .bd-article-container{max-width:100%}.bd-page-width{max-width:85%}.bd-footer{color:rgba(var(--spt-color-light), 1);font-size:0.8rem;font-family:var(--spt-font-footnote);padding:0}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6,.bd-footer p,.bd-footer a{color:rgba(var(--spt-color-light), 1);font-family:var(--spt-font-footnote)}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6{font-size:1rem;margin-bottom:5px}.bd-footer p{font-size:0.8rem}.bd-footer .footer-logos{background-color:rgba(var(--spt-color-gray-200), 1)}.bd-footer .footer-info,.bd-footer .footer-menu{color:rgba(var(--spt-color-gray-400), 1);background-color:rgba(var(--spt-color-dark), 1);padding-top:0.4rem;padding-bottom:0.4rem}.bd-footer .footer-info li,.bd-footer .footer-menu li{line-height:1rem;margin-bottom:5px}.bd-footer .footer-extra{background-color:rgba(var(--spt-color-gray-700), 1);padding-top:1rem;padding-bottom:1rem}.bd-footer .footer-extra img{height:60px}.iframe,.iframe-4x3,.iframe-16x9{position:relative;height:0;width:75%;margin-bottom:1rem;margin-left:auto;margin-right:auto}.iframe iframe,.iframe-4x3 iframe,.iframe-16x9 iframe{border:0;position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%}.iframe-16x9{padding-bottom:calc(0.75 * 56.25%)}.iframe-4x3{padding-bottom:calc(0.75 * 75%)}.sd-btn-primary,.sd-btn-outline-primary:hover,.sd-btn-outline-primary:focus{color:#0a7d91 !important}@media (prefers-color-scheme: dark){p{color:black}.sd-btn-primary,.sd-btn-outline-primary:hover,.sd-btn-outline-primary:focus{color:#0a7d91 !important}.btn{--bs-btn-color: white}.search-button{color:white}.nav-link{color:white}}html[data-theme="light"] .highlight .cp{color:#797129}html[data-theme="dark"] .highlight .cp{color:#797129}html[data-theme="dark"] .highlight .k{color:#7928a1}html[data-theme="light"] .highlight .kc{color:#7928a1}html[data-theme="dark"] .highlight .kn{color:#7928a1}html[data-theme="dark"] .highlight .l{color:#797129}html[data-theme="dark"] .highlight .n{color:#545454}html[data-theme="dark"] .highlight .nb{color:#797129}html[data-theme="dark"] .highlight .nn{color:#545454}html[data-theme="dark"] .highlight .nt{color:#007faa}html[data-theme="dark"] .highlight .o{color:#008000}html[data-theme="dark"] .highlight .p{color:#545454}html[data-theme="dark"] .highlight .s{color:#008000}html[data-theme="dark"] .highlight .s1{color:#008000}html[data-theme="dark"] .highlight .s2{color:#008000}html[data-theme="dark"] .highlight pre{color:black} +}body{font-family:var(--spt-font-body),sans-serif}html{scroll-behavior:smooth;scroll-padding-top:128px}.admonition.alert-info,div.admonition.alert-info{border-color:#0c5460 !important}.admonition.alert-info .admonition-title::before,div.admonition.alert-info .admonition-title::before{color:#0c5460 !important}.admonition.alert-success,div.admonition.alert-success{border-color:#155724 !important}.admonition.alert-success .admonition-title::before,div.admonition.alert-success .admonition-title::before{color:#155724 !important}.admonition.alert-warning,div.admonition.alert-warning{border-color:#856404 !important}.admonition.alert-warning .admonition-title::before,div.admonition.alert-warning .admonition-title::before{color:#856404 !important}.admonition.alert-danger,div.admonition.alert-danger{border-color:#721c24 !important}.admonition.alert-danger .admonition-title::before,div.admonition.alert-danger .admonition-title::before{color:#721c24 !important}.bg-primary{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary{background-color:rgba(var(--pst-color-primary), 1) !important;border-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary:hover{background-color:rgba(var(--pst-color-primary-hover), 1) !important;color:white !important}.btn-outline-primary{border-color:rgba(var(--pst-color-primary), 1) !important;color:rgba(var(--pst-color-primary), 1) !important}.btn-outline-primary:hover,.show>.btn-outline-primary.dropdown-toggle{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-link{color:rgba(var(--pst-color-primary), 1) !important}.display-1{font-size:5rem !important}.display-2{font-size:3rem !important}.display-3{font-size:2rem !important}.display-4{font-size:1.6667rem !important}.display-5{font-size:1.3333rem !important}.display-6{font-size:1rem !important}.form-control:focus{outline:none !important;box-shadow:none !important}.navbar-brand{padding:.75rem 0 !important}.row{margin-left:0 !important;margin-right:0 !important}a.badge{text-decoration:none !important}a.navbar-brand img{vertical-align:middle !important}body>div.container-fluid,body>div.container-xl{padding-right:0;padding-left:0}i.fab,i.far,i.fas{font-size:70%}a.headerlink i.fab,a.headerlink i.far,a.headerlink i.fas{position:absolute;top:50%;transform:translateY(-50%)}a.headerlink{position:relative;text-decoration:none;font-size:unset !important;padding:0 0.7rem !important}a.headerlink:hover{color:rgba(var(--spt-color-gray-500), 1);background-color:transparent}div.highlight pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.bd-sidebar .nav li>a{padding-top:0.1rem;padding-bottom:0.1rem}.bd-toc nav>.nav{border-left:1px solid #eee;border-bottom:1px solid #eee;border-radius:0 0 0 6px;padding-bottom:0.5em}.prev-next-area{margin:2rem auto 0 auto;border-top:1px solid rgba(var(--spt-color-gray-300), 1);max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}.prev-next-area i{font-size:1.1rem;color:rgba(var(--spt-color-gray-600), 1)}.prev-next-area a p.prev-next-title{font-size:1rem;font-weight:600;color:rgba(var(--spt-color-gray-600), 1)}#banner{margin-top:var(--pst-header-height) !important}#site-navigation{top:var(--pst-header-height) !important;height:calc(100vh - var(--pst-header-height)) !important;padding-top:0}#main-content{min-height:calc(100vh - var(--pst-header-height))}.topbar{top:var(--pst-header-height) !important;padding:0 !important}.topbar-main button:focus{outline:none !important}.cell .cell_input,.cell .cell_output{padding:0 !important}.cell .cell_input{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;border-left-color:rgba(var(--pst-color-primary), 1) !important;border-left-width:medium !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_input pre{border:none !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_output{border:none !important}.cell .cell_output pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.tabbed-content{box-shadow:0 -0.0625rem var(--tabs-color-overline) !important;padding-bottom:0 !important}.tabbed-set>label{padding:0 1rem !important;margin:0 !important}.thebe-launch-button{height:2.2em !important;font-size:.8em !important;border:1px solid rgba(var(--spt-color-gray-600), 1) !important;border-radius:4px !important;color:rgba(var(--spt-color-gray-600), 1)}#shim{padding:0;margin-top:var(--pst-header-height)}#navbar-main{z-index:5000;padding-left:15px;padding-right:15px}#navbar-main .container-xl{padding:0}.bd-header{background:#343a40 !important}#navbar-icon-links i:before{color:var(--spt-color-light) !important}main.standalone-main{padding:0 !important;background-color:white}main.standalone-main div.sectionwrapper-1,main.standalone-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1)}main.standalone-main div.section-1,main.standalone-main div.section-2{position:relative;padding-top:1rem;padding-bottom:1rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h2,main.standalone-main div.section-1 .h2,main.standalone-main div.section-1 h1,main.standalone-main div.section-1 .h1,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h2,main.standalone-main div.section-2 .h2,main.standalone-main div.section-2 h1,main.standalone-main div.section-2 .h1{margin-top:0;margin-bottom:0.5rem}main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6{padding:1rem 0}main.standalone-main div.section-title-wrapper{display:flex;justify-content:flex-start}main.standalone-main div.section-title{padding:0 4rem 0.1rem 0;margin:0 0 1.6rem 0;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main{padding:0 !important}main.banner-main #main-content{padding:0 !important}main.banner-main div.sectionwrapper-1{position:relative;background-size:cover;background-position:center center;color:rgba(var(--spt-color-light), 1);background-color:rgba(var(--spt-color-gray-700), 1)}main.banner-main div.sectionwrapper-1 div.section-banner-caption{position:absolute;right:0;bottom:0;font-size:0.8rem;opacity:0.6;padding-right:0.5rem}main.banner-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1);background-color:rgba(var(--spt-color-light), 1)}main.banner-main div.sectionwrapper-2:nth-child(even){background-color:rgba(var(--spt-color-gray-300), 1)}main.banner-main div.section-1,main.banner-main div.section-2{position:relative;padding-top:7rem;padding-bottom:7rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.banner-main div.section-1 h3,main.banner-main div.section-1 h4,main.banner-main div.section-1 h5,main.banner-main div.section-1 h6,main.banner-main div.section-2 h3,main.banner-main div.section-2 h4,main.banner-main div.section-2 h5,main.banner-main div.section-2 h6{padding:2rem 0 1rem 0;text-align:center}main.banner-main div.section-title-wrapper{display:flex;justify-content:center}main.banner-main div.section-title{padding:0 4rem 1rem 4rem;margin-bottom:3rem;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main p{font-size:1.25rem;font-weight:300}main.banner-main div.section.dark-banner h1,main.banner-main div.section.dark-banner h2,main.banner-main div.section.dark-banner h3,main.banner-main div.section.dark-banner h4,main.banner-main div.section.dark-banner h5,main.banner-main div.section.dark-banner h6{color:var(--spt-color-light) !important}main.banner-main div.section.dark-banner p{color:var(--spt-color-light) !important}.bd-main .bd-content .bd-article-container{max-width:100%}.bd-page-width{max-width:85%}.bd-footer{color:rgba(var(--spt-color-light), 1);font-size:0.8rem;font-family:var(--spt-font-footnote);padding:0}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6,.bd-footer p,.bd-footer a{color:rgba(var(--spt-color-light), 1);font-family:var(--spt-font-footnote)}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6{font-size:1rem;margin-bottom:5px}.bd-footer p{font-size:0.8rem}.bd-footer .footer-logos{background-color:rgba(var(--spt-color-gray-200), 1)}.bd-footer .footer-info,.bd-footer .footer-menu{color:rgba(var(--spt-color-gray-400), 1);background-color:rgba(var(--spt-color-dark), 1);padding-top:0.4rem;padding-bottom:0.4rem}.bd-footer .footer-info li,.bd-footer .footer-menu li{line-height:1rem;margin-bottom:5px}.bd-footer .footer-extra{background-color:rgba(var(--spt-color-gray-700), 1);padding-top:1rem;padding-bottom:1rem}.bd-footer .footer-extra img{height:60px}.iframe,.iframe-4x3,.iframe-16x9{position:relative;height:0;width:75%;margin-bottom:1rem;margin-left:auto;margin-right:auto}.iframe iframe,.iframe-4x3 iframe,.iframe-16x9 iframe{border:0;position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%}.iframe-16x9{padding-bottom:calc(0.75 * 56.25%)}.iframe-4x3{padding-bottom:calc(0.75 * 75%)}.sd-btn-primary,.sd-btn-outline-primary:hover,.sd-btn-outline-primary:focus{color:#0a7d91 !important}@media (prefers-color-scheme: dark){p{color:black}}html[data-theme="light"] .sd-btn-primary,.sd-btn-outline-primary:hover,.sd-btn-outline-primary:focus{color:#0a7d91 !important}html[data-theme="light"] .btn{--bs-btn-color: white}html[data-theme="light"] .search-button{color:white}html[data-theme="light"] .nav-link{color:white}html[data-theme="light"] .highlight .c{color:#797129}html[data-theme="dark"] .highlight .cp{color:#797129}html[data-theme="dark"] .highlight .k{color:#7928a1}html[data-theme="light"] .highlight .kc{color:#7928a1}html[data-theme="dark"] .highlight .kn{color:#7928a1}html[data-theme="dark"] .highlight .l{color:#797129}html[data-theme="dark"] .highlight .n{color:#545454}html[data-theme="dark"] .highlight .nb{color:#797129}html[data-theme="dark"] .highlight .nn{color:#545454}html[data-theme="dark"] .highlight .nt{color:#007faa}html[data-theme="dark"] .highlight .o{color:#008000}html[data-theme="dark"] .highlight .p{color:#545454}html[data-theme="dark"] .highlight .s{color:#008000}html[data-theme="dark"] .highlight .s1{color:#008000}html[data-theme="dark"] .highlight .s2{color:#008000}html[data-theme="dark"] .highlight pre{color:black} diff --git a/src/scss/sphinx-pythia-theme.scss b/src/scss/sphinx-pythia-theme.scss index 0d1a3e7..00ba4f1 100644 --- a/src/scss/sphinx-pythia-theme.scss +++ b/src/scss/sphinx-pythia-theme.scss @@ -297,25 +297,25 @@ main.banner-main { p { color: black; } +} - .sd-btn-primary, .sd-btn-outline-primary:hover, .sd-btn-outline-primary:focus { - color: #0a7d91 !important; - } +html[data-theme="light"] .sd-btn-primary, .sd-btn-outline-primary:hover, .sd-btn-outline-primary:focus { + color: #0a7d91 !important; +} - .btn { - --bs-btn-color: white; - } +html[data-theme="light"] .btn { + --bs-btn-color: white; +} - .search-button { - color: white; - } +html[data-theme="light"] .search-button { + color: white; +} - .nav-link { - color: white; - } +html[data-theme="light"] .nav-link { + color: white; } -html[data-theme="light"] .highlight .cp { +html[data-theme="light"] .highlight .c { color: #797129; } From faad2acad5de47f0e3202ccae995e269512a36d4 Mon Sep 17 00:00:00 2001 From: Julia Kent <46687291+jukent@users.noreply.github.com> Date: Mon, 3 Jun 2024 18:52:33 -0600 Subject: [PATCH 11/18] attempt to fix dark theme and dark mode combined --- .../static/sphinx-pythia-theme.min.css | 2 +- src/scss/sphinx-pythia-theme.scss | 16 ++++++++++------ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css b/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css index 48627fc..1d7f868 100644 --- a/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css +++ b/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css @@ -1,2 +1,2 @@ @import url(sphinx-book-theme.css);:root{--spt-font-body: 'Poppins';--spt-font-headings: 'Poppins';--spt-font-footnote: 'Cormorant';--spt-color-gray-100: 248, 249, 250;--spt-color-gray-200: 233, 236, 239;--spt-color-gray-300: 222, 226, 230;--spt-color-gray-400: 206, 212, 218;--spt-color-gray-500: 173, 181, 189;--spt-color-gray-600: 108, 117, 125;--spt-color-gray-700: 73, 80, 87;--spt-color-gray-800: 52, 58, 64;--spt-color-gray-900: 33, 37, 41;--spt-color-light: var(--spt-color-gray-100);--spt-color-dark: var(--spt-color-gray-800);--spt-color-green: 0, 121, 124;--spt-color-green-lighter: 20, 141, 144;--spt-color-green-lightest: 130, 231, 234;--spt-color-blue: 26, 101, 143;--spt-color-blue-lighter: 46, 121, 163;--spt-color-blue-lightest: 156, 191, 213;--spt-color-deep-blue: 1, 33, 105;--spt-color-green-highlight: 168, 199, 0;--pst-color-primary: var(--spt-color-blue) !important;--pst-color-primary-hover: var(--spt-color-blue-lighter) !important;--pst-color-secondary: var(--spt-color-blue-lightest) !important;--pst-color-link: #1a648f !important;--pst-color-link-hover: #9cbfd5 !important;--pst-color-headerlink: var(--spt-color-gray-300) !important;--pst-color-headerlink-hover: var(--spt-color-gray-100)!important;--pst-color-text-muted: #6c757d !important;--tabs-size-label: 0.8rem !important;--tabs-color-label-active: rgba(var(--pst-color-primary), 1) !important;--tabs-color-label-inactive: rgba(var(--spt-color-blue-lightest), 1) !important -}body{font-family:var(--spt-font-body),sans-serif}html{scroll-behavior:smooth;scroll-padding-top:128px}.admonition.alert-info,div.admonition.alert-info{border-color:#0c5460 !important}.admonition.alert-info .admonition-title::before,div.admonition.alert-info .admonition-title::before{color:#0c5460 !important}.admonition.alert-success,div.admonition.alert-success{border-color:#155724 !important}.admonition.alert-success .admonition-title::before,div.admonition.alert-success .admonition-title::before{color:#155724 !important}.admonition.alert-warning,div.admonition.alert-warning{border-color:#856404 !important}.admonition.alert-warning .admonition-title::before,div.admonition.alert-warning .admonition-title::before{color:#856404 !important}.admonition.alert-danger,div.admonition.alert-danger{border-color:#721c24 !important}.admonition.alert-danger .admonition-title::before,div.admonition.alert-danger .admonition-title::before{color:#721c24 !important}.bg-primary{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary{background-color:rgba(var(--pst-color-primary), 1) !important;border-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary:hover{background-color:rgba(var(--pst-color-primary-hover), 1) !important;color:white !important}.btn-outline-primary{border-color:rgba(var(--pst-color-primary), 1) !important;color:rgba(var(--pst-color-primary), 1) !important}.btn-outline-primary:hover,.show>.btn-outline-primary.dropdown-toggle{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-link{color:rgba(var(--pst-color-primary), 1) !important}.display-1{font-size:5rem !important}.display-2{font-size:3rem !important}.display-3{font-size:2rem !important}.display-4{font-size:1.6667rem !important}.display-5{font-size:1.3333rem !important}.display-6{font-size:1rem !important}.form-control:focus{outline:none !important;box-shadow:none !important}.navbar-brand{padding:.75rem 0 !important}.row{margin-left:0 !important;margin-right:0 !important}a.badge{text-decoration:none !important}a.navbar-brand img{vertical-align:middle !important}body>div.container-fluid,body>div.container-xl{padding-right:0;padding-left:0}i.fab,i.far,i.fas{font-size:70%}a.headerlink i.fab,a.headerlink i.far,a.headerlink i.fas{position:absolute;top:50%;transform:translateY(-50%)}a.headerlink{position:relative;text-decoration:none;font-size:unset !important;padding:0 0.7rem !important}a.headerlink:hover{color:rgba(var(--spt-color-gray-500), 1);background-color:transparent}div.highlight pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.bd-sidebar .nav li>a{padding-top:0.1rem;padding-bottom:0.1rem}.bd-toc nav>.nav{border-left:1px solid #eee;border-bottom:1px solid #eee;border-radius:0 0 0 6px;padding-bottom:0.5em}.prev-next-area{margin:2rem auto 0 auto;border-top:1px solid rgba(var(--spt-color-gray-300), 1);max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}.prev-next-area i{font-size:1.1rem;color:rgba(var(--spt-color-gray-600), 1)}.prev-next-area a p.prev-next-title{font-size:1rem;font-weight:600;color:rgba(var(--spt-color-gray-600), 1)}#banner{margin-top:var(--pst-header-height) !important}#site-navigation{top:var(--pst-header-height) !important;height:calc(100vh - var(--pst-header-height)) !important;padding-top:0}#main-content{min-height:calc(100vh - var(--pst-header-height))}.topbar{top:var(--pst-header-height) !important;padding:0 !important}.topbar-main button:focus{outline:none !important}.cell .cell_input,.cell .cell_output{padding:0 !important}.cell .cell_input{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;border-left-color:rgba(var(--pst-color-primary), 1) !important;border-left-width:medium !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_input pre{border:none !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_output{border:none !important}.cell .cell_output pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.tabbed-content{box-shadow:0 -0.0625rem var(--tabs-color-overline) !important;padding-bottom:0 !important}.tabbed-set>label{padding:0 1rem !important;margin:0 !important}.thebe-launch-button{height:2.2em !important;font-size:.8em !important;border:1px solid rgba(var(--spt-color-gray-600), 1) !important;border-radius:4px !important;color:rgba(var(--spt-color-gray-600), 1)}#shim{padding:0;margin-top:var(--pst-header-height)}#navbar-main{z-index:5000;padding-left:15px;padding-right:15px}#navbar-main .container-xl{padding:0}.bd-header{background:#343a40 !important}#navbar-icon-links i:before{color:var(--spt-color-light) !important}main.standalone-main{padding:0 !important;background-color:white}main.standalone-main div.sectionwrapper-1,main.standalone-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1)}main.standalone-main div.section-1,main.standalone-main div.section-2{position:relative;padding-top:1rem;padding-bottom:1rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h2,main.standalone-main div.section-1 .h2,main.standalone-main div.section-1 h1,main.standalone-main div.section-1 .h1,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h2,main.standalone-main div.section-2 .h2,main.standalone-main div.section-2 h1,main.standalone-main div.section-2 .h1{margin-top:0;margin-bottom:0.5rem}main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6{padding:1rem 0}main.standalone-main div.section-title-wrapper{display:flex;justify-content:flex-start}main.standalone-main div.section-title{padding:0 4rem 0.1rem 0;margin:0 0 1.6rem 0;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main{padding:0 !important}main.banner-main #main-content{padding:0 !important}main.banner-main div.sectionwrapper-1{position:relative;background-size:cover;background-position:center center;color:rgba(var(--spt-color-light), 1);background-color:rgba(var(--spt-color-gray-700), 1)}main.banner-main div.sectionwrapper-1 div.section-banner-caption{position:absolute;right:0;bottom:0;font-size:0.8rem;opacity:0.6;padding-right:0.5rem}main.banner-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1);background-color:rgba(var(--spt-color-light), 1)}main.banner-main div.sectionwrapper-2:nth-child(even){background-color:rgba(var(--spt-color-gray-300), 1)}main.banner-main div.section-1,main.banner-main div.section-2{position:relative;padding-top:7rem;padding-bottom:7rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.banner-main div.section-1 h3,main.banner-main div.section-1 h4,main.banner-main div.section-1 h5,main.banner-main div.section-1 h6,main.banner-main div.section-2 h3,main.banner-main div.section-2 h4,main.banner-main div.section-2 h5,main.banner-main div.section-2 h6{padding:2rem 0 1rem 0;text-align:center}main.banner-main div.section-title-wrapper{display:flex;justify-content:center}main.banner-main div.section-title{padding:0 4rem 1rem 4rem;margin-bottom:3rem;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main p{font-size:1.25rem;font-weight:300}main.banner-main div.section.dark-banner h1,main.banner-main div.section.dark-banner h2,main.banner-main div.section.dark-banner h3,main.banner-main div.section.dark-banner h4,main.banner-main div.section.dark-banner h5,main.banner-main div.section.dark-banner h6{color:var(--spt-color-light) !important}main.banner-main div.section.dark-banner p{color:var(--spt-color-light) !important}.bd-main .bd-content .bd-article-container{max-width:100%}.bd-page-width{max-width:85%}.bd-footer{color:rgba(var(--spt-color-light), 1);font-size:0.8rem;font-family:var(--spt-font-footnote);padding:0}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6,.bd-footer p,.bd-footer a{color:rgba(var(--spt-color-light), 1);font-family:var(--spt-font-footnote)}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6{font-size:1rem;margin-bottom:5px}.bd-footer p{font-size:0.8rem}.bd-footer .footer-logos{background-color:rgba(var(--spt-color-gray-200), 1)}.bd-footer .footer-info,.bd-footer .footer-menu{color:rgba(var(--spt-color-gray-400), 1);background-color:rgba(var(--spt-color-dark), 1);padding-top:0.4rem;padding-bottom:0.4rem}.bd-footer .footer-info li,.bd-footer .footer-menu li{line-height:1rem;margin-bottom:5px}.bd-footer .footer-extra{background-color:rgba(var(--spt-color-gray-700), 1);padding-top:1rem;padding-bottom:1rem}.bd-footer .footer-extra img{height:60px}.iframe,.iframe-4x3,.iframe-16x9{position:relative;height:0;width:75%;margin-bottom:1rem;margin-left:auto;margin-right:auto}.iframe iframe,.iframe-4x3 iframe,.iframe-16x9 iframe{border:0;position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%}.iframe-16x9{padding-bottom:calc(0.75 * 56.25%)}.iframe-4x3{padding-bottom:calc(0.75 * 75%)}.sd-btn-primary,.sd-btn-outline-primary:hover,.sd-btn-outline-primary:focus{color:#0a7d91 !important}@media (prefers-color-scheme: dark){p{color:black}}html[data-theme="light"] .sd-btn-primary,.sd-btn-outline-primary:hover,.sd-btn-outline-primary:focus{color:#0a7d91 !important}html[data-theme="light"] .btn{--bs-btn-color: white}html[data-theme="light"] .search-button{color:white}html[data-theme="light"] .nav-link{color:white}html[data-theme="light"] .highlight .c{color:#797129}html[data-theme="dark"] .highlight .cp{color:#797129}html[data-theme="dark"] .highlight .k{color:#7928a1}html[data-theme="light"] .highlight .kc{color:#7928a1}html[data-theme="dark"] .highlight .kn{color:#7928a1}html[data-theme="dark"] .highlight .l{color:#797129}html[data-theme="dark"] .highlight .n{color:#545454}html[data-theme="dark"] .highlight .nb{color:#797129}html[data-theme="dark"] .highlight .nn{color:#545454}html[data-theme="dark"] .highlight .nt{color:#007faa}html[data-theme="dark"] .highlight .o{color:#008000}html[data-theme="dark"] .highlight .p{color:#545454}html[data-theme="dark"] .highlight .s{color:#008000}html[data-theme="dark"] .highlight .s1{color:#008000}html[data-theme="dark"] .highlight .s2{color:#008000}html[data-theme="dark"] .highlight pre{color:black} +}body{font-family:var(--spt-font-body),sans-serif}html{scroll-behavior:smooth;scroll-padding-top:128px}.admonition.alert-info,div.admonition.alert-info{border-color:#0c5460 !important}.admonition.alert-info .admonition-title::before,div.admonition.alert-info .admonition-title::before{color:#0c5460 !important}.admonition.alert-success,div.admonition.alert-success{border-color:#155724 !important}.admonition.alert-success .admonition-title::before,div.admonition.alert-success .admonition-title::before{color:#155724 !important}.admonition.alert-warning,div.admonition.alert-warning{border-color:#856404 !important}.admonition.alert-warning .admonition-title::before,div.admonition.alert-warning .admonition-title::before{color:#856404 !important}.admonition.alert-danger,div.admonition.alert-danger{border-color:#721c24 !important}.admonition.alert-danger .admonition-title::before,div.admonition.alert-danger .admonition-title::before{color:#721c24 !important}.bg-primary{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary{background-color:rgba(var(--pst-color-primary), 1) !important;border-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary:hover{background-color:rgba(var(--pst-color-primary-hover), 1) !important;color:white !important}.btn-outline-primary{border-color:rgba(var(--pst-color-primary), 1) !important;color:rgba(var(--pst-color-primary), 1) !important}.btn-outline-primary:hover,.show>.btn-outline-primary.dropdown-toggle{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-link{color:rgba(var(--pst-color-primary), 1) !important}.display-1{font-size:5rem !important}.display-2{font-size:3rem !important}.display-3{font-size:2rem !important}.display-4{font-size:1.6667rem !important}.display-5{font-size:1.3333rem !important}.display-6{font-size:1rem !important}.form-control:focus{outline:none !important;box-shadow:none !important}.navbar-brand{padding:.75rem 0 !important}.row{margin-left:0 !important;margin-right:0 !important}a.badge{text-decoration:none !important}a.navbar-brand img{vertical-align:middle !important}body>div.container-fluid,body>div.container-xl{padding-right:0;padding-left:0}i.fab,i.far,i.fas{font-size:70%}a.headerlink i.fab,a.headerlink i.far,a.headerlink i.fas{position:absolute;top:50%;transform:translateY(-50%)}a.headerlink{position:relative;text-decoration:none;font-size:unset !important;padding:0 0.7rem !important}a.headerlink:hover{color:rgba(var(--spt-color-gray-500), 1);background-color:transparent}div.highlight pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.bd-sidebar .nav li>a{padding-top:0.1rem;padding-bottom:0.1rem}.bd-toc nav>.nav{border-left:1px solid #eee;border-bottom:1px solid #eee;border-radius:0 0 0 6px;padding-bottom:0.5em}.prev-next-area{margin:2rem auto 0 auto;border-top:1px solid rgba(var(--spt-color-gray-300), 1);max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}.prev-next-area i{font-size:1.1rem;color:rgba(var(--spt-color-gray-600), 1)}.prev-next-area a p.prev-next-title{font-size:1rem;font-weight:600;color:rgba(var(--spt-color-gray-600), 1)}#banner{margin-top:var(--pst-header-height) !important}#site-navigation{top:var(--pst-header-height) !important;height:calc(100vh - var(--pst-header-height)) !important;padding-top:0}#main-content{min-height:calc(100vh - var(--pst-header-height))}.topbar{top:var(--pst-header-height) !important;padding:0 !important}.topbar-main button:focus{outline:none !important}.cell .cell_input,.cell .cell_output{padding:0 !important}.cell .cell_input{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;border-left-color:rgba(var(--pst-color-primary), 1) !important;border-left-width:medium !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_input pre{border:none !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_output{border:none !important}.cell .cell_output pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.tabbed-content{box-shadow:0 -0.0625rem var(--tabs-color-overline) !important;padding-bottom:0 !important}.tabbed-set>label{padding:0 1rem !important;margin:0 !important}.thebe-launch-button{height:2.2em !important;font-size:.8em !important;border:1px solid rgba(var(--spt-color-gray-600), 1) !important;border-radius:4px !important;color:rgba(var(--spt-color-gray-600), 1)}#shim{padding:0;margin-top:var(--pst-header-height)}#navbar-main{z-index:5000;padding-left:15px;padding-right:15px}#navbar-main .container-xl{padding:0}.bd-header{background:#343a40 !important}#navbar-icon-links i:before{color:var(--spt-color-light) !important}main.standalone-main{padding:0 !important;background-color:white}main.standalone-main div.sectionwrapper-1,main.standalone-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1)}main.standalone-main div.section-1,main.standalone-main div.section-2{position:relative;padding-top:1rem;padding-bottom:1rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h2,main.standalone-main div.section-1 .h2,main.standalone-main div.section-1 h1,main.standalone-main div.section-1 .h1,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h2,main.standalone-main div.section-2 .h2,main.standalone-main div.section-2 h1,main.standalone-main div.section-2 .h1{margin-top:0;margin-bottom:0.5rem}main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6{padding:1rem 0}main.standalone-main div.section-title-wrapper{display:flex;justify-content:flex-start}main.standalone-main div.section-title{padding:0 4rem 0.1rem 0;margin:0 0 1.6rem 0;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main{padding:0 !important}main.banner-main #main-content{padding:0 !important}main.banner-main div.sectionwrapper-1{position:relative;background-size:cover;background-position:center center;color:rgba(var(--spt-color-light), 1);background-color:rgba(var(--spt-color-gray-700), 1)}main.banner-main div.sectionwrapper-1 div.section-banner-caption{position:absolute;right:0;bottom:0;font-size:0.8rem;opacity:0.6;padding-right:0.5rem}main.banner-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1);background-color:rgba(var(--spt-color-light), 1)}main.banner-main div.sectionwrapper-2:nth-child(even){background-color:rgba(var(--spt-color-gray-300), 1)}main.banner-main div.section-1,main.banner-main div.section-2{position:relative;padding-top:7rem;padding-bottom:7rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.banner-main div.section-1 h3,main.banner-main div.section-1 h4,main.banner-main div.section-1 h5,main.banner-main div.section-1 h6,main.banner-main div.section-2 h3,main.banner-main div.section-2 h4,main.banner-main div.section-2 h5,main.banner-main div.section-2 h6{padding:2rem 0 1rem 0;text-align:center}main.banner-main div.section-title-wrapper{display:flex;justify-content:center}main.banner-main div.section-title{padding:0 4rem 1rem 4rem;margin-bottom:3rem;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main p{font-size:1.25rem;font-weight:300}main.banner-main div.section.dark-banner h1,main.banner-main div.section.dark-banner h2,main.banner-main div.section.dark-banner h3,main.banner-main div.section.dark-banner h4,main.banner-main div.section.dark-banner h5,main.banner-main div.section.dark-banner h6{color:var(--spt-color-light) !important}main.banner-main div.section.dark-banner p{color:var(--spt-color-light) !important}.bd-main .bd-content .bd-article-container{max-width:100%}.bd-page-width{max-width:85%}.bd-footer{color:rgba(var(--spt-color-light), 1);font-size:0.8rem;font-family:var(--spt-font-footnote);padding:0}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6,.bd-footer p,.bd-footer a{color:rgba(var(--spt-color-light), 1);font-family:var(--spt-font-footnote)}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6{font-size:1rem;margin-bottom:5px}.bd-footer p{font-size:0.8rem}.bd-footer .footer-logos{background-color:rgba(var(--spt-color-gray-200), 1)}.bd-footer .footer-info,.bd-footer .footer-menu{color:rgba(var(--spt-color-gray-400), 1);background-color:rgba(var(--spt-color-dark), 1);padding-top:0.4rem;padding-bottom:0.4rem}.bd-footer .footer-info li,.bd-footer .footer-menu li{line-height:1rem;margin-bottom:5px}.bd-footer .footer-extra{background-color:rgba(var(--spt-color-gray-700), 1);padding-top:1rem;padding-bottom:1rem}.bd-footer .footer-extra img{height:60px}.iframe,.iframe-4x3,.iframe-16x9{position:relative;height:0;width:75%;margin-bottom:1rem;margin-left:auto;margin-right:auto}.iframe iframe,.iframe-4x3 iframe,.iframe-16x9 iframe{border:0;position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%}.iframe-16x9{padding-bottom:calc(0.75 * 56.25%)}.iframe-4x3{padding-bottom:calc(0.75 * 75%)}.sd-btn-primary,.sd-btn-outline-primary:hover,.sd-btn-outline-primary:focus{color:#0a7d91 !important}@media (prefers-color-scheme: dark){p{color:black}}html[data-theme="dark"] p{color:white}html[data-theme="dark"] .sd-btn-primary,.sd-btn-outline-primary:hover,.sd-btn-outline-primary:focus{color:#0a7d91 !important}html[data-theme="dark"] .btn{--bs-btn-color: white}html[data-theme="dark"] .search-button{color:white}html[data-theme="dark"] .nav-link{color:white}html[data-theme="dark"] .highlight .c{color:#797129}html[data-theme="dark"] .highlight .cp{color:#797129}html[data-theme="dark"] .highlight .k{color:#7928a1}html[data-theme="dark"] .highlight .kc{color:#7928a1}html[data-theme="dark"] .highlight .kn{color:#7928a1}html[data-theme="dark"] .highlight .l{color:#797129}html[data-theme="dark"] .highlight .n{color:#545454}html[data-theme="dark"] .highlight .nb{color:#797129}html[data-theme="dark"] .highlight .nn{color:#545454}html[data-theme="dark"] .highlight .nt{color:#007faa}html[data-theme="dark"] .highlight .o{color:#008000}html[data-theme="dark"] .highlight .p{color:#545454}html[data-theme="dark"] .highlight .s{color:#008000}html[data-theme="dark"] .highlight .s1{color:#008000}html[data-theme="dark"] .highlight .s2{color:#008000}html[data-theme="dark"] .highlight pre{color:black} diff --git a/src/scss/sphinx-pythia-theme.scss b/src/scss/sphinx-pythia-theme.scss index 00ba4f1..7987e90 100644 --- a/src/scss/sphinx-pythia-theme.scss +++ b/src/scss/sphinx-pythia-theme.scss @@ -299,23 +299,27 @@ main.banner-main { } } -html[data-theme="light"] .sd-btn-primary, .sd-btn-outline-primary:hover, .sd-btn-outline-primary:focus { +html[data-theme="dark"] p { + color: white; +} + +html[data-theme="dark"] .sd-btn-primary, .sd-btn-outline-primary:hover, .sd-btn-outline-primary:focus { color: #0a7d91 !important; } -html[data-theme="light"] .btn { +html[data-theme="dark"] .btn { --bs-btn-color: white; } -html[data-theme="light"] .search-button { +html[data-theme="dark"] .search-button { color: white; } -html[data-theme="light"] .nav-link { +html[data-theme="dark"] .nav-link { color: white; } -html[data-theme="light"] .highlight .c { +html[data-theme="dark"] .highlight .c { color: #797129; } @@ -327,7 +331,7 @@ html[data-theme="dark"] .highlight .k { color: #7928a1; } -html[data-theme="light"] .highlight .kc { +html[data-theme="dark"] .highlight .kc { color: #7928a1; } From 2f681e37ee0dd8f763125f101f96f5a4a5e8d6d6 Mon Sep 17 00:00:00 2001 From: Julia Kent <46687291+jukent@users.noreply.github.com> Date: Mon, 3 Jun 2024 20:05:05 -0600 Subject: [PATCH 12/18] fixed tables and collapse spans --- .../static/sphinx-pythia-theme.min.css | 2 +- src/scss/sphinx-pythia-theme.scss | 42 +++++++++++++++++++ 2 files changed, 43 insertions(+), 1 deletion(-) diff --git a/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css b/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css index 1d7f868..ae78900 100644 --- a/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css +++ b/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css @@ -1,2 +1,2 @@ @import url(sphinx-book-theme.css);:root{--spt-font-body: 'Poppins';--spt-font-headings: 'Poppins';--spt-font-footnote: 'Cormorant';--spt-color-gray-100: 248, 249, 250;--spt-color-gray-200: 233, 236, 239;--spt-color-gray-300: 222, 226, 230;--spt-color-gray-400: 206, 212, 218;--spt-color-gray-500: 173, 181, 189;--spt-color-gray-600: 108, 117, 125;--spt-color-gray-700: 73, 80, 87;--spt-color-gray-800: 52, 58, 64;--spt-color-gray-900: 33, 37, 41;--spt-color-light: var(--spt-color-gray-100);--spt-color-dark: var(--spt-color-gray-800);--spt-color-green: 0, 121, 124;--spt-color-green-lighter: 20, 141, 144;--spt-color-green-lightest: 130, 231, 234;--spt-color-blue: 26, 101, 143;--spt-color-blue-lighter: 46, 121, 163;--spt-color-blue-lightest: 156, 191, 213;--spt-color-deep-blue: 1, 33, 105;--spt-color-green-highlight: 168, 199, 0;--pst-color-primary: var(--spt-color-blue) !important;--pst-color-primary-hover: var(--spt-color-blue-lighter) !important;--pst-color-secondary: var(--spt-color-blue-lightest) !important;--pst-color-link: #1a648f !important;--pst-color-link-hover: #9cbfd5 !important;--pst-color-headerlink: var(--spt-color-gray-300) !important;--pst-color-headerlink-hover: var(--spt-color-gray-100)!important;--pst-color-text-muted: #6c757d !important;--tabs-size-label: 0.8rem !important;--tabs-color-label-active: rgba(var(--pst-color-primary), 1) !important;--tabs-color-label-inactive: rgba(var(--spt-color-blue-lightest), 1) !important -}body{font-family:var(--spt-font-body),sans-serif}html{scroll-behavior:smooth;scroll-padding-top:128px}.admonition.alert-info,div.admonition.alert-info{border-color:#0c5460 !important}.admonition.alert-info .admonition-title::before,div.admonition.alert-info .admonition-title::before{color:#0c5460 !important}.admonition.alert-success,div.admonition.alert-success{border-color:#155724 !important}.admonition.alert-success .admonition-title::before,div.admonition.alert-success .admonition-title::before{color:#155724 !important}.admonition.alert-warning,div.admonition.alert-warning{border-color:#856404 !important}.admonition.alert-warning .admonition-title::before,div.admonition.alert-warning .admonition-title::before{color:#856404 !important}.admonition.alert-danger,div.admonition.alert-danger{border-color:#721c24 !important}.admonition.alert-danger .admonition-title::before,div.admonition.alert-danger .admonition-title::before{color:#721c24 !important}.bg-primary{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary{background-color:rgba(var(--pst-color-primary), 1) !important;border-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary:hover{background-color:rgba(var(--pst-color-primary-hover), 1) !important;color:white !important}.btn-outline-primary{border-color:rgba(var(--pst-color-primary), 1) !important;color:rgba(var(--pst-color-primary), 1) !important}.btn-outline-primary:hover,.show>.btn-outline-primary.dropdown-toggle{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-link{color:rgba(var(--pst-color-primary), 1) !important}.display-1{font-size:5rem !important}.display-2{font-size:3rem !important}.display-3{font-size:2rem !important}.display-4{font-size:1.6667rem !important}.display-5{font-size:1.3333rem !important}.display-6{font-size:1rem !important}.form-control:focus{outline:none !important;box-shadow:none !important}.navbar-brand{padding:.75rem 0 !important}.row{margin-left:0 !important;margin-right:0 !important}a.badge{text-decoration:none !important}a.navbar-brand img{vertical-align:middle !important}body>div.container-fluid,body>div.container-xl{padding-right:0;padding-left:0}i.fab,i.far,i.fas{font-size:70%}a.headerlink i.fab,a.headerlink i.far,a.headerlink i.fas{position:absolute;top:50%;transform:translateY(-50%)}a.headerlink{position:relative;text-decoration:none;font-size:unset !important;padding:0 0.7rem !important}a.headerlink:hover{color:rgba(var(--spt-color-gray-500), 1);background-color:transparent}div.highlight pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.bd-sidebar .nav li>a{padding-top:0.1rem;padding-bottom:0.1rem}.bd-toc nav>.nav{border-left:1px solid #eee;border-bottom:1px solid #eee;border-radius:0 0 0 6px;padding-bottom:0.5em}.prev-next-area{margin:2rem auto 0 auto;border-top:1px solid rgba(var(--spt-color-gray-300), 1);max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}.prev-next-area i{font-size:1.1rem;color:rgba(var(--spt-color-gray-600), 1)}.prev-next-area a p.prev-next-title{font-size:1rem;font-weight:600;color:rgba(var(--spt-color-gray-600), 1)}#banner{margin-top:var(--pst-header-height) !important}#site-navigation{top:var(--pst-header-height) !important;height:calc(100vh - var(--pst-header-height)) !important;padding-top:0}#main-content{min-height:calc(100vh - var(--pst-header-height))}.topbar{top:var(--pst-header-height) !important;padding:0 !important}.topbar-main button:focus{outline:none !important}.cell .cell_input,.cell .cell_output{padding:0 !important}.cell .cell_input{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;border-left-color:rgba(var(--pst-color-primary), 1) !important;border-left-width:medium !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_input pre{border:none !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_output{border:none !important}.cell .cell_output pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.tabbed-content{box-shadow:0 -0.0625rem var(--tabs-color-overline) !important;padding-bottom:0 !important}.tabbed-set>label{padding:0 1rem !important;margin:0 !important}.thebe-launch-button{height:2.2em !important;font-size:.8em !important;border:1px solid rgba(var(--spt-color-gray-600), 1) !important;border-radius:4px !important;color:rgba(var(--spt-color-gray-600), 1)}#shim{padding:0;margin-top:var(--pst-header-height)}#navbar-main{z-index:5000;padding-left:15px;padding-right:15px}#navbar-main .container-xl{padding:0}.bd-header{background:#343a40 !important}#navbar-icon-links i:before{color:var(--spt-color-light) !important}main.standalone-main{padding:0 !important;background-color:white}main.standalone-main div.sectionwrapper-1,main.standalone-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1)}main.standalone-main div.section-1,main.standalone-main div.section-2{position:relative;padding-top:1rem;padding-bottom:1rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h2,main.standalone-main div.section-1 .h2,main.standalone-main div.section-1 h1,main.standalone-main div.section-1 .h1,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h2,main.standalone-main div.section-2 .h2,main.standalone-main div.section-2 h1,main.standalone-main div.section-2 .h1{margin-top:0;margin-bottom:0.5rem}main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6{padding:1rem 0}main.standalone-main div.section-title-wrapper{display:flex;justify-content:flex-start}main.standalone-main div.section-title{padding:0 4rem 0.1rem 0;margin:0 0 1.6rem 0;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main{padding:0 !important}main.banner-main #main-content{padding:0 !important}main.banner-main div.sectionwrapper-1{position:relative;background-size:cover;background-position:center center;color:rgba(var(--spt-color-light), 1);background-color:rgba(var(--spt-color-gray-700), 1)}main.banner-main div.sectionwrapper-1 div.section-banner-caption{position:absolute;right:0;bottom:0;font-size:0.8rem;opacity:0.6;padding-right:0.5rem}main.banner-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1);background-color:rgba(var(--spt-color-light), 1)}main.banner-main div.sectionwrapper-2:nth-child(even){background-color:rgba(var(--spt-color-gray-300), 1)}main.banner-main div.section-1,main.banner-main div.section-2{position:relative;padding-top:7rem;padding-bottom:7rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.banner-main div.section-1 h3,main.banner-main div.section-1 h4,main.banner-main div.section-1 h5,main.banner-main div.section-1 h6,main.banner-main div.section-2 h3,main.banner-main div.section-2 h4,main.banner-main div.section-2 h5,main.banner-main div.section-2 h6{padding:2rem 0 1rem 0;text-align:center}main.banner-main div.section-title-wrapper{display:flex;justify-content:center}main.banner-main div.section-title{padding:0 4rem 1rem 4rem;margin-bottom:3rem;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main p{font-size:1.25rem;font-weight:300}main.banner-main div.section.dark-banner h1,main.banner-main div.section.dark-banner h2,main.banner-main div.section.dark-banner h3,main.banner-main div.section.dark-banner h4,main.banner-main div.section.dark-banner h5,main.banner-main div.section.dark-banner h6{color:var(--spt-color-light) !important}main.banner-main div.section.dark-banner p{color:var(--spt-color-light) !important}.bd-main .bd-content .bd-article-container{max-width:100%}.bd-page-width{max-width:85%}.bd-footer{color:rgba(var(--spt-color-light), 1);font-size:0.8rem;font-family:var(--spt-font-footnote);padding:0}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6,.bd-footer p,.bd-footer a{color:rgba(var(--spt-color-light), 1);font-family:var(--spt-font-footnote)}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6{font-size:1rem;margin-bottom:5px}.bd-footer p{font-size:0.8rem}.bd-footer .footer-logos{background-color:rgba(var(--spt-color-gray-200), 1)}.bd-footer .footer-info,.bd-footer .footer-menu{color:rgba(var(--spt-color-gray-400), 1);background-color:rgba(var(--spt-color-dark), 1);padding-top:0.4rem;padding-bottom:0.4rem}.bd-footer .footer-info li,.bd-footer .footer-menu li{line-height:1rem;margin-bottom:5px}.bd-footer .footer-extra{background-color:rgba(var(--spt-color-gray-700), 1);padding-top:1rem;padding-bottom:1rem}.bd-footer .footer-extra img{height:60px}.iframe,.iframe-4x3,.iframe-16x9{position:relative;height:0;width:75%;margin-bottom:1rem;margin-left:auto;margin-right:auto}.iframe iframe,.iframe-4x3 iframe,.iframe-16x9 iframe{border:0;position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%}.iframe-16x9{padding-bottom:calc(0.75 * 56.25%)}.iframe-4x3{padding-bottom:calc(0.75 * 75%)}.sd-btn-primary,.sd-btn-outline-primary:hover,.sd-btn-outline-primary:focus{color:#0a7d91 !important}@media (prefers-color-scheme: dark){p{color:black}}html[data-theme="dark"] p{color:white}html[data-theme="dark"] .sd-btn-primary,.sd-btn-outline-primary:hover,.sd-btn-outline-primary:focus{color:#0a7d91 !important}html[data-theme="dark"] .btn{--bs-btn-color: white}html[data-theme="dark"] .search-button{color:white}html[data-theme="dark"] .nav-link{color:white}html[data-theme="dark"] .highlight .c{color:#797129}html[data-theme="dark"] .highlight .cp{color:#797129}html[data-theme="dark"] .highlight .k{color:#7928a1}html[data-theme="dark"] .highlight .kc{color:#7928a1}html[data-theme="dark"] .highlight .kn{color:#7928a1}html[data-theme="dark"] .highlight .l{color:#797129}html[data-theme="dark"] .highlight .n{color:#545454}html[data-theme="dark"] .highlight .nb{color:#797129}html[data-theme="dark"] .highlight .nn{color:#545454}html[data-theme="dark"] .highlight .nt{color:#007faa}html[data-theme="dark"] .highlight .o{color:#008000}html[data-theme="dark"] .highlight .p{color:#545454}html[data-theme="dark"] .highlight .s{color:#008000}html[data-theme="dark"] .highlight .s1{color:#008000}html[data-theme="dark"] .highlight .s2{color:#008000}html[data-theme="dark"] .highlight pre{color:black} +}body{font-family:var(--spt-font-body),sans-serif}html{scroll-behavior:smooth;scroll-padding-top:128px}.admonition.alert-info,div.admonition.alert-info{border-color:#0c5460 !important}.admonition.alert-info .admonition-title::before,div.admonition.alert-info .admonition-title::before{color:#0c5460 !important}.admonition.alert-success,div.admonition.alert-success{border-color:#155724 !important}.admonition.alert-success .admonition-title::before,div.admonition.alert-success .admonition-title::before{color:#155724 !important}.admonition.alert-warning,div.admonition.alert-warning{border-color:#856404 !important}.admonition.alert-warning .admonition-title::before,div.admonition.alert-warning .admonition-title::before{color:#856404 !important}.admonition.alert-danger,div.admonition.alert-danger{border-color:#721c24 !important}.admonition.alert-danger .admonition-title::before,div.admonition.alert-danger .admonition-title::before{color:#721c24 !important}.bg-primary{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary{background-color:rgba(var(--pst-color-primary), 1) !important;border-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary:hover{background-color:rgba(var(--pst-color-primary-hover), 1) !important;color:white !important}.btn-outline-primary{border-color:rgba(var(--pst-color-primary), 1) !important;color:rgba(var(--pst-color-primary), 1) !important}.btn-outline-primary:hover,.show>.btn-outline-primary.dropdown-toggle{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-link{color:rgba(var(--pst-color-primary), 1) !important}.display-1{font-size:5rem !important}.display-2{font-size:3rem !important}.display-3{font-size:2rem !important}.display-4{font-size:1.6667rem !important}.display-5{font-size:1.3333rem !important}.display-6{font-size:1rem !important}.form-control:focus{outline:none !important;box-shadow:none !important}.navbar-brand{padding:.75rem 0 !important}.row{margin-left:0 !important;margin-right:0 !important}a.badge{text-decoration:none !important}a.navbar-brand img{vertical-align:middle !important}body>div.container-fluid,body>div.container-xl{padding-right:0;padding-left:0}i.fab,i.far,i.fas{font-size:70%}a.headerlink i.fab,a.headerlink i.far,a.headerlink i.fas{position:absolute;top:50%;transform:translateY(-50%)}a.headerlink{position:relative;text-decoration:none;font-size:unset !important;padding:0 0.7rem !important}a.headerlink:hover{color:rgba(var(--spt-color-gray-500), 1);background-color:transparent}div.highlight pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.bd-sidebar .nav li>a{padding-top:0.1rem;padding-bottom:0.1rem}.bd-toc nav>.nav{border-left:1px solid #eee;border-bottom:1px solid #eee;border-radius:0 0 0 6px;padding-bottom:0.5em}.prev-next-area{margin:2rem auto 0 auto;border-top:1px solid rgba(var(--spt-color-gray-300), 1);max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}.prev-next-area i{font-size:1.1rem;color:rgba(var(--spt-color-gray-600), 1)}.prev-next-area a p.prev-next-title{font-size:1rem;font-weight:600;color:rgba(var(--spt-color-gray-600), 1)}#banner{margin-top:var(--pst-header-height) !important}#site-navigation{top:var(--pst-header-height) !important;height:calc(100vh - var(--pst-header-height)) !important;padding-top:0}#main-content{min-height:calc(100vh - var(--pst-header-height))}.topbar{top:var(--pst-header-height) !important;padding:0 !important}.topbar-main button:focus{outline:none !important}.cell .cell_input,.cell .cell_output{padding:0 !important}.cell .cell_input{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;border-left-color:rgba(var(--pst-color-primary), 1) !important;border-left-width:medium !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_input pre{border:none !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_output{border:none !important}.cell .cell_output pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.tabbed-content{box-shadow:0 -0.0625rem var(--tabs-color-overline) !important;padding-bottom:0 !important}.tabbed-set>label{padding:0 1rem !important;margin:0 !important}.thebe-launch-button{height:2.2em !important;font-size:.8em !important;border:1px solid rgba(var(--spt-color-gray-600), 1) !important;border-radius:4px !important;color:rgba(var(--spt-color-gray-600), 1)}#shim{padding:0;margin-top:var(--pst-header-height)}#navbar-main{z-index:5000;padding-left:15px;padding-right:15px}#navbar-main .container-xl{padding:0}.bd-header{background:#343a40 !important}#navbar-icon-links i:before{color:var(--spt-color-light) !important}main.standalone-main{padding:0 !important;background-color:white}main.standalone-main div.sectionwrapper-1,main.standalone-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1)}main.standalone-main div.section-1,main.standalone-main div.section-2{position:relative;padding-top:1rem;padding-bottom:1rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h2,main.standalone-main div.section-1 .h2,main.standalone-main div.section-1 h1,main.standalone-main div.section-1 .h1,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h2,main.standalone-main div.section-2 .h2,main.standalone-main div.section-2 h1,main.standalone-main div.section-2 .h1{margin-top:0;margin-bottom:0.5rem}main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6{padding:1rem 0}main.standalone-main div.section-title-wrapper{display:flex;justify-content:flex-start}main.standalone-main div.section-title{padding:0 4rem 0.1rem 0;margin:0 0 1.6rem 0;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main{padding:0 !important}main.banner-main #main-content{padding:0 !important}main.banner-main div.sectionwrapper-1{position:relative;background-size:cover;background-position:center center;color:rgba(var(--spt-color-light), 1);background-color:rgba(var(--spt-color-gray-700), 1)}main.banner-main div.sectionwrapper-1 div.section-banner-caption{position:absolute;right:0;bottom:0;font-size:0.8rem;opacity:0.6;padding-right:0.5rem}main.banner-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1);background-color:rgba(var(--spt-color-light), 1)}main.banner-main div.sectionwrapper-2:nth-child(even){background-color:rgba(var(--spt-color-gray-300), 1)}main.banner-main div.section-1,main.banner-main div.section-2{position:relative;padding-top:7rem;padding-bottom:7rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.banner-main div.section-1 h3,main.banner-main div.section-1 h4,main.banner-main div.section-1 h5,main.banner-main div.section-1 h6,main.banner-main div.section-2 h3,main.banner-main div.section-2 h4,main.banner-main div.section-2 h5,main.banner-main div.section-2 h6{padding:2rem 0 1rem 0;text-align:center}main.banner-main div.section-title-wrapper{display:flex;justify-content:center}main.banner-main div.section-title{padding:0 4rem 1rem 4rem;margin-bottom:3rem;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main p{font-size:1.25rem;font-weight:300}main.banner-main div.section.dark-banner h1,main.banner-main div.section.dark-banner h2,main.banner-main div.section.dark-banner h3,main.banner-main div.section.dark-banner h4,main.banner-main div.section.dark-banner h5,main.banner-main div.section.dark-banner h6{color:var(--spt-color-light) !important}main.banner-main div.section.dark-banner p{color:var(--spt-color-light) !important}.bd-main .bd-content .bd-article-container{max-width:100%}.bd-page-width{max-width:85%}.bd-footer{color:rgba(var(--spt-color-light), 1);font-size:0.8rem;font-family:var(--spt-font-footnote);padding:0}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6,.bd-footer p,.bd-footer a{color:rgba(var(--spt-color-light), 1);font-family:var(--spt-font-footnote)}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6{font-size:1rem;margin-bottom:5px}.bd-footer p{font-size:0.8rem}.bd-footer .footer-logos{background-color:rgba(var(--spt-color-gray-200), 1)}.bd-footer .footer-info,.bd-footer .footer-menu{color:rgba(var(--spt-color-gray-400), 1);background-color:rgba(var(--spt-color-dark), 1);padding-top:0.4rem;padding-bottom:0.4rem}.bd-footer .footer-info li,.bd-footer .footer-menu li{line-height:1rem;margin-bottom:5px}.bd-footer .footer-extra{background-color:rgba(var(--spt-color-gray-700), 1);padding-top:1rem;padding-bottom:1rem}.bd-footer .footer-extra img{height:60px}.iframe,.iframe-4x3,.iframe-16x9{position:relative;height:0;width:75%;margin-bottom:1rem;margin-left:auto;margin-right:auto}.iframe iframe,.iframe-4x3 iframe,.iframe-16x9 iframe{border:0;position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%}.iframe-16x9{padding-bottom:calc(0.75 * 56.25%)}.iframe-4x3{padding-bottom:calc(0.75 * 75%)}.sd-btn-primary,.sd-btn-outline-primary:hover,.sd-btn-outline-primary:focus{color:#0a7d91 !important}@media (prefers-color-scheme: dark){p{color:black}}html[data-theme="dark"] p{color:white}html[data-theme="dark"] .sd-btn-primary,.sd-btn-outline-primary:hover,.sd-btn-outline-primary:focus{color:#0a7d91 !important}html[data-theme="dark"] .btn{--bs-btn-color: white}html[data-theme="dark"] .search-button{color:white}html[data-theme="dark"] .nav-link{color:white}html[data-theme="dark"] .highlight .c{color:#797129}html[data-theme="dark"] .highlight .c1{color:#797129}html[data-theme="dark"] .highlight .cp{color:#797129}html[data-theme="dark"] .highlight .k{color:#7928a1}html[data-theme="dark"] .highlight .kc{color:#7928a1}html[data-theme="dark"] .highlight .kn{color:#7928a1}html[data-theme="dark"] .highlight .l{color:#797129}html[data-theme="dark"] .highlight .mf{color:#797129}html[data-theme="dark"] .highlight .mi{color:#797129}html[data-theme="dark"] .highlight .n{color:#545454}html[data-theme="dark"] .highlight .nb{color:#797129}html[data-theme="dark"] .highlight .nn{color:#545454}html[data-theme="dark"] .highlight .nt{color:#007faa}html[data-theme="dark"] .highlight .o{color:#008000}html[data-theme="dark"] .highlight .ow{color:#7928a1}html[data-theme="dark"] .highlight .p{color:#545454}html[data-theme="dark"] .highlight .s{color:#008000}html[data-theme="dark"] .highlight .sa{color:#008000}html[data-theme="dark"] .highlight .se{color:#008000}html[data-theme="dark"] .highlight .si{color:#008000}html[data-theme="dark"] .highlight .s1{color:#008000}html[data-theme="dark"] .highlight .s2{color:#008000}html[data-theme="dark"] .highlight pre{color:black}html[data-theme="dark"] table thead tr{background-color:white}html[data-theme="dark"] table tbody tr:nth-child(2n){background-color:white}html[data-theme="dark"] span.collapsed{color:black} diff --git a/src/scss/sphinx-pythia-theme.scss b/src/scss/sphinx-pythia-theme.scss index 7987e90..e2a9051 100644 --- a/src/scss/sphinx-pythia-theme.scss +++ b/src/scss/sphinx-pythia-theme.scss @@ -323,6 +323,10 @@ html[data-theme="dark"] .highlight .c { color: #797129; } +html[data-theme="dark"] .highlight .c1 { + color: #797129; +} + html[data-theme="dark"] .highlight .cp { color: #797129; } @@ -343,6 +347,14 @@ html[data-theme="dark"] .highlight .l { color: #797129; } +html[data-theme="dark"] .highlight .mf { + color: #797129; +} + +html[data-theme="dark"] .highlight .mi { + color: #797129; +} + html[data-theme="dark"] .highlight .n { color: #545454; } @@ -362,6 +374,10 @@ html[data-theme="dark"] .highlight .o { color: #008000; } +html[data-theme="dark"] .highlight .ow { + color: #7928a1; +} + html[data-theme="dark"] .highlight .p { color: #545454; } @@ -370,6 +386,18 @@ html[data-theme="dark"] .highlight .s { color: #008000; } +html[data-theme="dark"] .highlight .sa { + color: #008000; +} + +html[data-theme="dark"] .highlight .se { + color: #008000; +} + +html[data-theme="dark"] .highlight .si { + color: #008000; +} + html[data-theme="dark"] .highlight .s1 { color: #008000; } @@ -380,4 +408,18 @@ html[data-theme="dark"] .highlight .s2 { html[data-theme="dark"] .highlight pre { color: black; +} + +html[data-theme="dark"] table thead tr { + background-color: white; +} + +html[data-theme="dark"] table tbody tr:nth-child(2n) { + background-color: white; +} + + + +html[data-theme="dark"] span.collapsed { + color: black; } \ No newline at end of file From c7a36fd6fc70ddc64627d02af020a6e8f6de08b6 Mon Sep 17 00:00:00 2001 From: Julia Kent <46687291+jukent@users.noreply.github.com> Date: Mon, 3 Jun 2024 20:15:01 -0600 Subject: [PATCH 13/18] mess w tables some more --- .../static/sphinx-pythia-theme.min.css | 2 +- src/scss/sphinx-pythia-theme.scss | 15 +++++++++++++-- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css b/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css index ae78900..f81316b 100644 --- a/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css +++ b/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css @@ -1,2 +1,2 @@ @import url(sphinx-book-theme.css);:root{--spt-font-body: 'Poppins';--spt-font-headings: 'Poppins';--spt-font-footnote: 'Cormorant';--spt-color-gray-100: 248, 249, 250;--spt-color-gray-200: 233, 236, 239;--spt-color-gray-300: 222, 226, 230;--spt-color-gray-400: 206, 212, 218;--spt-color-gray-500: 173, 181, 189;--spt-color-gray-600: 108, 117, 125;--spt-color-gray-700: 73, 80, 87;--spt-color-gray-800: 52, 58, 64;--spt-color-gray-900: 33, 37, 41;--spt-color-light: var(--spt-color-gray-100);--spt-color-dark: var(--spt-color-gray-800);--spt-color-green: 0, 121, 124;--spt-color-green-lighter: 20, 141, 144;--spt-color-green-lightest: 130, 231, 234;--spt-color-blue: 26, 101, 143;--spt-color-blue-lighter: 46, 121, 163;--spt-color-blue-lightest: 156, 191, 213;--spt-color-deep-blue: 1, 33, 105;--spt-color-green-highlight: 168, 199, 0;--pst-color-primary: var(--spt-color-blue) !important;--pst-color-primary-hover: var(--spt-color-blue-lighter) !important;--pst-color-secondary: var(--spt-color-blue-lightest) !important;--pst-color-link: #1a648f !important;--pst-color-link-hover: #9cbfd5 !important;--pst-color-headerlink: var(--spt-color-gray-300) !important;--pst-color-headerlink-hover: var(--spt-color-gray-100)!important;--pst-color-text-muted: #6c757d !important;--tabs-size-label: 0.8rem !important;--tabs-color-label-active: rgba(var(--pst-color-primary), 1) !important;--tabs-color-label-inactive: rgba(var(--spt-color-blue-lightest), 1) !important -}body{font-family:var(--spt-font-body),sans-serif}html{scroll-behavior:smooth;scroll-padding-top:128px}.admonition.alert-info,div.admonition.alert-info{border-color:#0c5460 !important}.admonition.alert-info .admonition-title::before,div.admonition.alert-info .admonition-title::before{color:#0c5460 !important}.admonition.alert-success,div.admonition.alert-success{border-color:#155724 !important}.admonition.alert-success .admonition-title::before,div.admonition.alert-success .admonition-title::before{color:#155724 !important}.admonition.alert-warning,div.admonition.alert-warning{border-color:#856404 !important}.admonition.alert-warning .admonition-title::before,div.admonition.alert-warning .admonition-title::before{color:#856404 !important}.admonition.alert-danger,div.admonition.alert-danger{border-color:#721c24 !important}.admonition.alert-danger .admonition-title::before,div.admonition.alert-danger .admonition-title::before{color:#721c24 !important}.bg-primary{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary{background-color:rgba(var(--pst-color-primary), 1) !important;border-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary:hover{background-color:rgba(var(--pst-color-primary-hover), 1) !important;color:white !important}.btn-outline-primary{border-color:rgba(var(--pst-color-primary), 1) !important;color:rgba(var(--pst-color-primary), 1) !important}.btn-outline-primary:hover,.show>.btn-outline-primary.dropdown-toggle{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-link{color:rgba(var(--pst-color-primary), 1) !important}.display-1{font-size:5rem !important}.display-2{font-size:3rem !important}.display-3{font-size:2rem !important}.display-4{font-size:1.6667rem !important}.display-5{font-size:1.3333rem !important}.display-6{font-size:1rem !important}.form-control:focus{outline:none !important;box-shadow:none !important}.navbar-brand{padding:.75rem 0 !important}.row{margin-left:0 !important;margin-right:0 !important}a.badge{text-decoration:none !important}a.navbar-brand img{vertical-align:middle !important}body>div.container-fluid,body>div.container-xl{padding-right:0;padding-left:0}i.fab,i.far,i.fas{font-size:70%}a.headerlink i.fab,a.headerlink i.far,a.headerlink i.fas{position:absolute;top:50%;transform:translateY(-50%)}a.headerlink{position:relative;text-decoration:none;font-size:unset !important;padding:0 0.7rem !important}a.headerlink:hover{color:rgba(var(--spt-color-gray-500), 1);background-color:transparent}div.highlight pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.bd-sidebar .nav li>a{padding-top:0.1rem;padding-bottom:0.1rem}.bd-toc nav>.nav{border-left:1px solid #eee;border-bottom:1px solid #eee;border-radius:0 0 0 6px;padding-bottom:0.5em}.prev-next-area{margin:2rem auto 0 auto;border-top:1px solid rgba(var(--spt-color-gray-300), 1);max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}.prev-next-area i{font-size:1.1rem;color:rgba(var(--spt-color-gray-600), 1)}.prev-next-area a p.prev-next-title{font-size:1rem;font-weight:600;color:rgba(var(--spt-color-gray-600), 1)}#banner{margin-top:var(--pst-header-height) !important}#site-navigation{top:var(--pst-header-height) !important;height:calc(100vh - var(--pst-header-height)) !important;padding-top:0}#main-content{min-height:calc(100vh - var(--pst-header-height))}.topbar{top:var(--pst-header-height) !important;padding:0 !important}.topbar-main button:focus{outline:none !important}.cell .cell_input,.cell .cell_output{padding:0 !important}.cell .cell_input{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;border-left-color:rgba(var(--pst-color-primary), 1) !important;border-left-width:medium !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_input pre{border:none !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_output{border:none !important}.cell .cell_output pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.tabbed-content{box-shadow:0 -0.0625rem var(--tabs-color-overline) !important;padding-bottom:0 !important}.tabbed-set>label{padding:0 1rem !important;margin:0 !important}.thebe-launch-button{height:2.2em !important;font-size:.8em !important;border:1px solid rgba(var(--spt-color-gray-600), 1) !important;border-radius:4px !important;color:rgba(var(--spt-color-gray-600), 1)}#shim{padding:0;margin-top:var(--pst-header-height)}#navbar-main{z-index:5000;padding-left:15px;padding-right:15px}#navbar-main .container-xl{padding:0}.bd-header{background:#343a40 !important}#navbar-icon-links i:before{color:var(--spt-color-light) !important}main.standalone-main{padding:0 !important;background-color:white}main.standalone-main div.sectionwrapper-1,main.standalone-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1)}main.standalone-main div.section-1,main.standalone-main div.section-2{position:relative;padding-top:1rem;padding-bottom:1rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h2,main.standalone-main div.section-1 .h2,main.standalone-main div.section-1 h1,main.standalone-main div.section-1 .h1,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h2,main.standalone-main div.section-2 .h2,main.standalone-main div.section-2 h1,main.standalone-main div.section-2 .h1{margin-top:0;margin-bottom:0.5rem}main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6{padding:1rem 0}main.standalone-main div.section-title-wrapper{display:flex;justify-content:flex-start}main.standalone-main div.section-title{padding:0 4rem 0.1rem 0;margin:0 0 1.6rem 0;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main{padding:0 !important}main.banner-main #main-content{padding:0 !important}main.banner-main div.sectionwrapper-1{position:relative;background-size:cover;background-position:center center;color:rgba(var(--spt-color-light), 1);background-color:rgba(var(--spt-color-gray-700), 1)}main.banner-main div.sectionwrapper-1 div.section-banner-caption{position:absolute;right:0;bottom:0;font-size:0.8rem;opacity:0.6;padding-right:0.5rem}main.banner-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1);background-color:rgba(var(--spt-color-light), 1)}main.banner-main div.sectionwrapper-2:nth-child(even){background-color:rgba(var(--spt-color-gray-300), 1)}main.banner-main div.section-1,main.banner-main div.section-2{position:relative;padding-top:7rem;padding-bottom:7rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.banner-main div.section-1 h3,main.banner-main div.section-1 h4,main.banner-main div.section-1 h5,main.banner-main div.section-1 h6,main.banner-main div.section-2 h3,main.banner-main div.section-2 h4,main.banner-main div.section-2 h5,main.banner-main div.section-2 h6{padding:2rem 0 1rem 0;text-align:center}main.banner-main div.section-title-wrapper{display:flex;justify-content:center}main.banner-main div.section-title{padding:0 4rem 1rem 4rem;margin-bottom:3rem;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main p{font-size:1.25rem;font-weight:300}main.banner-main div.section.dark-banner h1,main.banner-main div.section.dark-banner h2,main.banner-main div.section.dark-banner h3,main.banner-main div.section.dark-banner h4,main.banner-main div.section.dark-banner h5,main.banner-main div.section.dark-banner h6{color:var(--spt-color-light) !important}main.banner-main div.section.dark-banner p{color:var(--spt-color-light) !important}.bd-main .bd-content .bd-article-container{max-width:100%}.bd-page-width{max-width:85%}.bd-footer{color:rgba(var(--spt-color-light), 1);font-size:0.8rem;font-family:var(--spt-font-footnote);padding:0}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6,.bd-footer p,.bd-footer a{color:rgba(var(--spt-color-light), 1);font-family:var(--spt-font-footnote)}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6{font-size:1rem;margin-bottom:5px}.bd-footer p{font-size:0.8rem}.bd-footer .footer-logos{background-color:rgba(var(--spt-color-gray-200), 1)}.bd-footer .footer-info,.bd-footer .footer-menu{color:rgba(var(--spt-color-gray-400), 1);background-color:rgba(var(--spt-color-dark), 1);padding-top:0.4rem;padding-bottom:0.4rem}.bd-footer .footer-info li,.bd-footer .footer-menu li{line-height:1rem;margin-bottom:5px}.bd-footer .footer-extra{background-color:rgba(var(--spt-color-gray-700), 1);padding-top:1rem;padding-bottom:1rem}.bd-footer .footer-extra img{height:60px}.iframe,.iframe-4x3,.iframe-16x9{position:relative;height:0;width:75%;margin-bottom:1rem;margin-left:auto;margin-right:auto}.iframe iframe,.iframe-4x3 iframe,.iframe-16x9 iframe{border:0;position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%}.iframe-16x9{padding-bottom:calc(0.75 * 56.25%)}.iframe-4x3{padding-bottom:calc(0.75 * 75%)}.sd-btn-primary,.sd-btn-outline-primary:hover,.sd-btn-outline-primary:focus{color:#0a7d91 !important}@media (prefers-color-scheme: dark){p{color:black}}html[data-theme="dark"] p{color:white}html[data-theme="dark"] .sd-btn-primary,.sd-btn-outline-primary:hover,.sd-btn-outline-primary:focus{color:#0a7d91 !important}html[data-theme="dark"] .btn{--bs-btn-color: white}html[data-theme="dark"] .search-button{color:white}html[data-theme="dark"] .nav-link{color:white}html[data-theme="dark"] .highlight .c{color:#797129}html[data-theme="dark"] .highlight .c1{color:#797129}html[data-theme="dark"] .highlight .cp{color:#797129}html[data-theme="dark"] .highlight .k{color:#7928a1}html[data-theme="dark"] .highlight .kc{color:#7928a1}html[data-theme="dark"] .highlight .kn{color:#7928a1}html[data-theme="dark"] .highlight .l{color:#797129}html[data-theme="dark"] .highlight .mf{color:#797129}html[data-theme="dark"] .highlight .mi{color:#797129}html[data-theme="dark"] .highlight .n{color:#545454}html[data-theme="dark"] .highlight .nb{color:#797129}html[data-theme="dark"] .highlight .nn{color:#545454}html[data-theme="dark"] .highlight .nt{color:#007faa}html[data-theme="dark"] .highlight .o{color:#008000}html[data-theme="dark"] .highlight .ow{color:#7928a1}html[data-theme="dark"] .highlight .p{color:#545454}html[data-theme="dark"] .highlight .s{color:#008000}html[data-theme="dark"] .highlight .sa{color:#008000}html[data-theme="dark"] .highlight .se{color:#008000}html[data-theme="dark"] .highlight .si{color:#008000}html[data-theme="dark"] .highlight .s1{color:#008000}html[data-theme="dark"] .highlight .s2{color:#008000}html[data-theme="dark"] .highlight pre{color:black}html[data-theme="dark"] table thead tr{background-color:white}html[data-theme="dark"] table tbody tr:nth-child(2n){background-color:white}html[data-theme="dark"] span.collapsed{color:black} +}body{font-family:var(--spt-font-body),sans-serif}html{scroll-behavior:smooth;scroll-padding-top:128px}.admonition.alert-info,div.admonition.alert-info{border-color:#0c5460 !important}.admonition.alert-info .admonition-title::before,div.admonition.alert-info .admonition-title::before{color:#0c5460 !important}.admonition.alert-success,div.admonition.alert-success{border-color:#155724 !important}.admonition.alert-success .admonition-title::before,div.admonition.alert-success .admonition-title::before{color:#155724 !important}.admonition.alert-warning,div.admonition.alert-warning{border-color:#856404 !important}.admonition.alert-warning .admonition-title::before,div.admonition.alert-warning .admonition-title::before{color:#856404 !important}.admonition.alert-danger,div.admonition.alert-danger{border-color:#721c24 !important}.admonition.alert-danger .admonition-title::before,div.admonition.alert-danger .admonition-title::before{color:#721c24 !important}.bg-primary{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary{background-color:rgba(var(--pst-color-primary), 1) !important;border-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary:hover{background-color:rgba(var(--pst-color-primary-hover), 1) !important;color:white !important}.btn-outline-primary{border-color:rgba(var(--pst-color-primary), 1) !important;color:rgba(var(--pst-color-primary), 1) !important}.btn-outline-primary:hover,.show>.btn-outline-primary.dropdown-toggle{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-link{color:rgba(var(--pst-color-primary), 1) !important}.display-1{font-size:5rem !important}.display-2{font-size:3rem !important}.display-3{font-size:2rem !important}.display-4{font-size:1.6667rem !important}.display-5{font-size:1.3333rem !important}.display-6{font-size:1rem !important}.form-control:focus{outline:none !important;box-shadow:none !important}.navbar-brand{padding:.75rem 0 !important}.row{margin-left:0 !important;margin-right:0 !important}a.badge{text-decoration:none !important}a.navbar-brand img{vertical-align:middle !important}body>div.container-fluid,body>div.container-xl{padding-right:0;padding-left:0}i.fab,i.far,i.fas{font-size:70%}a.headerlink i.fab,a.headerlink i.far,a.headerlink i.fas{position:absolute;top:50%;transform:translateY(-50%)}a.headerlink{position:relative;text-decoration:none;font-size:unset !important;padding:0 0.7rem !important}a.headerlink:hover{color:rgba(var(--spt-color-gray-500), 1);background-color:transparent}div.highlight pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.bd-sidebar .nav li>a{padding-top:0.1rem;padding-bottom:0.1rem}.bd-toc nav>.nav{border-left:1px solid #eee;border-bottom:1px solid #eee;border-radius:0 0 0 6px;padding-bottom:0.5em}.prev-next-area{margin:2rem auto 0 auto;border-top:1px solid rgba(var(--spt-color-gray-300), 1);max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}.prev-next-area i{font-size:1.1rem;color:rgba(var(--spt-color-gray-600), 1)}.prev-next-area a p.prev-next-title{font-size:1rem;font-weight:600;color:rgba(var(--spt-color-gray-600), 1)}#banner{margin-top:var(--pst-header-height) !important}#site-navigation{top:var(--pst-header-height) !important;height:calc(100vh - var(--pst-header-height)) !important;padding-top:0}#main-content{min-height:calc(100vh - var(--pst-header-height))}.topbar{top:var(--pst-header-height) !important;padding:0 !important}.topbar-main button:focus{outline:none !important}.cell .cell_input,.cell .cell_output{padding:0 !important}.cell .cell_input{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;border-left-color:rgba(var(--pst-color-primary), 1) !important;border-left-width:medium !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_input pre{border:none !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_output{border:none !important}.cell .cell_output pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.tabbed-content{box-shadow:0 -0.0625rem var(--tabs-color-overline) !important;padding-bottom:0 !important}.tabbed-set>label{padding:0 1rem !important;margin:0 !important}.thebe-launch-button{height:2.2em !important;font-size:.8em !important;border:1px solid rgba(var(--spt-color-gray-600), 1) !important;border-radius:4px !important;color:rgba(var(--spt-color-gray-600), 1)}#shim{padding:0;margin-top:var(--pst-header-height)}#navbar-main{z-index:5000;padding-left:15px;padding-right:15px}#navbar-main .container-xl{padding:0}.bd-header{background:#343a40 !important}#navbar-icon-links i:before{color:var(--spt-color-light) !important}main.standalone-main{padding:0 !important;background-color:white}main.standalone-main div.sectionwrapper-1,main.standalone-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1)}main.standalone-main div.section-1,main.standalone-main div.section-2{position:relative;padding-top:1rem;padding-bottom:1rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h2,main.standalone-main div.section-1 .h2,main.standalone-main div.section-1 h1,main.standalone-main div.section-1 .h1,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h2,main.standalone-main div.section-2 .h2,main.standalone-main div.section-2 h1,main.standalone-main div.section-2 .h1{margin-top:0;margin-bottom:0.5rem}main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6{padding:1rem 0}main.standalone-main div.section-title-wrapper{display:flex;justify-content:flex-start}main.standalone-main div.section-title{padding:0 4rem 0.1rem 0;margin:0 0 1.6rem 0;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main{padding:0 !important}main.banner-main #main-content{padding:0 !important}main.banner-main div.sectionwrapper-1{position:relative;background-size:cover;background-position:center center;color:rgba(var(--spt-color-light), 1);background-color:rgba(var(--spt-color-gray-700), 1)}main.banner-main div.sectionwrapper-1 div.section-banner-caption{position:absolute;right:0;bottom:0;font-size:0.8rem;opacity:0.6;padding-right:0.5rem}main.banner-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1);background-color:rgba(var(--spt-color-light), 1)}main.banner-main div.sectionwrapper-2:nth-child(even){background-color:rgba(var(--spt-color-gray-300), 1)}main.banner-main div.section-1,main.banner-main div.section-2{position:relative;padding-top:7rem;padding-bottom:7rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.banner-main div.section-1 h3,main.banner-main div.section-1 h4,main.banner-main div.section-1 h5,main.banner-main div.section-1 h6,main.banner-main div.section-2 h3,main.banner-main div.section-2 h4,main.banner-main div.section-2 h5,main.banner-main div.section-2 h6{padding:2rem 0 1rem 0;text-align:center}main.banner-main div.section-title-wrapper{display:flex;justify-content:center}main.banner-main div.section-title{padding:0 4rem 1rem 4rem;margin-bottom:3rem;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main p{font-size:1.25rem;font-weight:300}main.banner-main div.section.dark-banner h1,main.banner-main div.section.dark-banner h2,main.banner-main div.section.dark-banner h3,main.banner-main div.section.dark-banner h4,main.banner-main div.section.dark-banner h5,main.banner-main div.section.dark-banner h6{color:var(--spt-color-light) !important}main.banner-main div.section.dark-banner p{color:var(--spt-color-light) !important}.bd-main .bd-content .bd-article-container{max-width:100%}.bd-page-width{max-width:85%}.bd-footer{color:rgba(var(--spt-color-light), 1);font-size:0.8rem;font-family:var(--spt-font-footnote);padding:0}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6,.bd-footer p,.bd-footer a{color:rgba(var(--spt-color-light), 1);font-family:var(--spt-font-footnote)}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6{font-size:1rem;margin-bottom:5px}.bd-footer p{font-size:0.8rem}.bd-footer .footer-logos{background-color:rgba(var(--spt-color-gray-200), 1)}.bd-footer .footer-info,.bd-footer .footer-menu{color:rgba(var(--spt-color-gray-400), 1);background-color:rgba(var(--spt-color-dark), 1);padding-top:0.4rem;padding-bottom:0.4rem}.bd-footer .footer-info li,.bd-footer .footer-menu li{line-height:1rem;margin-bottom:5px}.bd-footer .footer-extra{background-color:rgba(var(--spt-color-gray-700), 1);padding-top:1rem;padding-bottom:1rem}.bd-footer .footer-extra img{height:60px}.iframe,.iframe-4x3,.iframe-16x9{position:relative;height:0;width:75%;margin-bottom:1rem;margin-left:auto;margin-right:auto}.iframe iframe,.iframe-4x3 iframe,.iframe-16x9 iframe{border:0;position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%}.iframe-16x9{padding-bottom:calc(0.75 * 56.25%)}.iframe-4x3{padding-bottom:calc(0.75 * 75%)}.sd-btn-primary,.sd-btn-outline-primary:hover,.sd-btn-outline-primary:focus{color:#0a7d91 !important}@media (prefers-color-scheme: dark){p{color:black}}html[data-theme="dark"] p{color:white}html[data-theme="dark"] .sd-btn-primary,.sd-btn-outline-primary:hover,.sd-btn-outline-primary:focus{color:#0a7d91 !important}html[data-theme="dark"] .btn{--bs-btn-color: white}html[data-theme="dark"] .search-button{color:white}html[data-theme="dark"] .nav-link{color:white}html[data-theme="dark"] .highlight .c{color:#797129}html[data-theme="dark"] .highlight .c1{color:#797129}html[data-theme="dark"] .highlight .cp{color:#797129}html[data-theme="dark"] .highlight .k{color:#7928a1}html[data-theme="dark"] .highlight .kc{color:#7928a1}html[data-theme="dark"] .highlight .kn{color:#7928a1}html[data-theme="dark"] .highlight .l{color:#797129}html[data-theme="dark"] .highlight .m{color:#797129}html[data-theme="dark"] .highlight .mf{color:#797129}html[data-theme="dark"] .highlight .mi{color:#797129}html[data-theme="dark"] .highlight .n{color:#545454}html[data-theme="dark"] .highlight .nb{color:#797129}html[data-theme=dark] .highlight .nf{color:#0078a1 !important}html[data-theme="dark"] .highlight .nn{color:#545454}html[data-theme="dark"] .highlight .nt{color:#007faa}html[data-theme="dark"] .highlight .o{color:#008000}html[data-theme="dark"] .highlight .ow{color:#7928a1}html[data-theme="dark"] .highlight .p{color:#545454}html[data-theme="dark"] .highlight .s{color:#008000}html[data-theme="dark"] .highlight .sa{color:#008000}html[data-theme="dark"] .highlight .se{color:#008000}html[data-theme="dark"] .highlight .si{color:#008000}html[data-theme="dark"] .highlight .s1{color:#008000}html[data-theme="dark"] .highlight .s2{color:#008000}html[data-theme="dark"] .highlight pre{color:black}html[data-theme="dark"] table thead tr{background-color:white}html[data-theme="dark"] table tbody tr:nth-child(2n){background-color:white}html[data-theme="dark"] span.collapsed{color:black}html[data-theme="dark"] th.head p{color:black} diff --git a/src/scss/sphinx-pythia-theme.scss b/src/scss/sphinx-pythia-theme.scss index e2a9051..baf91ae 100644 --- a/src/scss/sphinx-pythia-theme.scss +++ b/src/scss/sphinx-pythia-theme.scss @@ -347,6 +347,10 @@ html[data-theme="dark"] .highlight .l { color: #797129; } +html[data-theme="dark"] .highlight .m { + color: #797129; +} + html[data-theme="dark"] .highlight .mf { color: #797129; } @@ -362,6 +366,11 @@ html[data-theme="dark"] .highlight .n { html[data-theme="dark"] .highlight .nb { color: #797129; } + +html[data-theme=dark] .highlight .nf { + color: #0078a1 !important; +} + html[data-theme="dark"] .highlight .nn { color: #545454; } @@ -418,8 +427,10 @@ html[data-theme="dark"] table tbody tr:nth-child(2n) { background-color: white; } - - html[data-theme="dark"] span.collapsed { color: black; +} + +html[data-theme="dark"] th.head p { + color: black; } \ No newline at end of file From 32c647e4defb006b7efab2676d4e0d757036b828 Mon Sep 17 00:00:00 2001 From: Julia Kent <46687291+jukent@users.noreply.github.com> Date: Tue, 4 Jun 2024 05:50:39 -0600 Subject: [PATCH 14/18] fix both tables --- .../static/sphinx-pythia-theme.min.css | 2 +- src/scss/sphinx-pythia-theme.scss | 15 ++++++--------- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css b/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css index f81316b..84ec5c9 100644 --- a/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css +++ b/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css @@ -1,2 +1,2 @@ @import url(sphinx-book-theme.css);:root{--spt-font-body: 'Poppins';--spt-font-headings: 'Poppins';--spt-font-footnote: 'Cormorant';--spt-color-gray-100: 248, 249, 250;--spt-color-gray-200: 233, 236, 239;--spt-color-gray-300: 222, 226, 230;--spt-color-gray-400: 206, 212, 218;--spt-color-gray-500: 173, 181, 189;--spt-color-gray-600: 108, 117, 125;--spt-color-gray-700: 73, 80, 87;--spt-color-gray-800: 52, 58, 64;--spt-color-gray-900: 33, 37, 41;--spt-color-light: var(--spt-color-gray-100);--spt-color-dark: var(--spt-color-gray-800);--spt-color-green: 0, 121, 124;--spt-color-green-lighter: 20, 141, 144;--spt-color-green-lightest: 130, 231, 234;--spt-color-blue: 26, 101, 143;--spt-color-blue-lighter: 46, 121, 163;--spt-color-blue-lightest: 156, 191, 213;--spt-color-deep-blue: 1, 33, 105;--spt-color-green-highlight: 168, 199, 0;--pst-color-primary: var(--spt-color-blue) !important;--pst-color-primary-hover: var(--spt-color-blue-lighter) !important;--pst-color-secondary: var(--spt-color-blue-lightest) !important;--pst-color-link: #1a648f !important;--pst-color-link-hover: #9cbfd5 !important;--pst-color-headerlink: var(--spt-color-gray-300) !important;--pst-color-headerlink-hover: var(--spt-color-gray-100)!important;--pst-color-text-muted: #6c757d !important;--tabs-size-label: 0.8rem !important;--tabs-color-label-active: rgba(var(--pst-color-primary), 1) !important;--tabs-color-label-inactive: rgba(var(--spt-color-blue-lightest), 1) !important -}body{font-family:var(--spt-font-body),sans-serif}html{scroll-behavior:smooth;scroll-padding-top:128px}.admonition.alert-info,div.admonition.alert-info{border-color:#0c5460 !important}.admonition.alert-info .admonition-title::before,div.admonition.alert-info .admonition-title::before{color:#0c5460 !important}.admonition.alert-success,div.admonition.alert-success{border-color:#155724 !important}.admonition.alert-success .admonition-title::before,div.admonition.alert-success .admonition-title::before{color:#155724 !important}.admonition.alert-warning,div.admonition.alert-warning{border-color:#856404 !important}.admonition.alert-warning .admonition-title::before,div.admonition.alert-warning .admonition-title::before{color:#856404 !important}.admonition.alert-danger,div.admonition.alert-danger{border-color:#721c24 !important}.admonition.alert-danger .admonition-title::before,div.admonition.alert-danger .admonition-title::before{color:#721c24 !important}.bg-primary{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary{background-color:rgba(var(--pst-color-primary), 1) !important;border-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary:hover{background-color:rgba(var(--pst-color-primary-hover), 1) !important;color:white !important}.btn-outline-primary{border-color:rgba(var(--pst-color-primary), 1) !important;color:rgba(var(--pst-color-primary), 1) !important}.btn-outline-primary:hover,.show>.btn-outline-primary.dropdown-toggle{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-link{color:rgba(var(--pst-color-primary), 1) !important}.display-1{font-size:5rem !important}.display-2{font-size:3rem !important}.display-3{font-size:2rem !important}.display-4{font-size:1.6667rem !important}.display-5{font-size:1.3333rem !important}.display-6{font-size:1rem !important}.form-control:focus{outline:none !important;box-shadow:none !important}.navbar-brand{padding:.75rem 0 !important}.row{margin-left:0 !important;margin-right:0 !important}a.badge{text-decoration:none !important}a.navbar-brand img{vertical-align:middle !important}body>div.container-fluid,body>div.container-xl{padding-right:0;padding-left:0}i.fab,i.far,i.fas{font-size:70%}a.headerlink i.fab,a.headerlink i.far,a.headerlink i.fas{position:absolute;top:50%;transform:translateY(-50%)}a.headerlink{position:relative;text-decoration:none;font-size:unset !important;padding:0 0.7rem !important}a.headerlink:hover{color:rgba(var(--spt-color-gray-500), 1);background-color:transparent}div.highlight pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.bd-sidebar .nav li>a{padding-top:0.1rem;padding-bottom:0.1rem}.bd-toc nav>.nav{border-left:1px solid #eee;border-bottom:1px solid #eee;border-radius:0 0 0 6px;padding-bottom:0.5em}.prev-next-area{margin:2rem auto 0 auto;border-top:1px solid rgba(var(--spt-color-gray-300), 1);max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}.prev-next-area i{font-size:1.1rem;color:rgba(var(--spt-color-gray-600), 1)}.prev-next-area a p.prev-next-title{font-size:1rem;font-weight:600;color:rgba(var(--spt-color-gray-600), 1)}#banner{margin-top:var(--pst-header-height) !important}#site-navigation{top:var(--pst-header-height) !important;height:calc(100vh - var(--pst-header-height)) !important;padding-top:0}#main-content{min-height:calc(100vh - var(--pst-header-height))}.topbar{top:var(--pst-header-height) !important;padding:0 !important}.topbar-main button:focus{outline:none !important}.cell .cell_input,.cell .cell_output{padding:0 !important}.cell .cell_input{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;border-left-color:rgba(var(--pst-color-primary), 1) !important;border-left-width:medium !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_input pre{border:none !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_output{border:none !important}.cell .cell_output pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.tabbed-content{box-shadow:0 -0.0625rem var(--tabs-color-overline) !important;padding-bottom:0 !important}.tabbed-set>label{padding:0 1rem !important;margin:0 !important}.thebe-launch-button{height:2.2em !important;font-size:.8em !important;border:1px solid rgba(var(--spt-color-gray-600), 1) !important;border-radius:4px !important;color:rgba(var(--spt-color-gray-600), 1)}#shim{padding:0;margin-top:var(--pst-header-height)}#navbar-main{z-index:5000;padding-left:15px;padding-right:15px}#navbar-main .container-xl{padding:0}.bd-header{background:#343a40 !important}#navbar-icon-links i:before{color:var(--spt-color-light) !important}main.standalone-main{padding:0 !important;background-color:white}main.standalone-main div.sectionwrapper-1,main.standalone-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1)}main.standalone-main div.section-1,main.standalone-main div.section-2{position:relative;padding-top:1rem;padding-bottom:1rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h2,main.standalone-main div.section-1 .h2,main.standalone-main div.section-1 h1,main.standalone-main div.section-1 .h1,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h2,main.standalone-main div.section-2 .h2,main.standalone-main div.section-2 h1,main.standalone-main div.section-2 .h1{margin-top:0;margin-bottom:0.5rem}main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6{padding:1rem 0}main.standalone-main div.section-title-wrapper{display:flex;justify-content:flex-start}main.standalone-main div.section-title{padding:0 4rem 0.1rem 0;margin:0 0 1.6rem 0;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main{padding:0 !important}main.banner-main #main-content{padding:0 !important}main.banner-main div.sectionwrapper-1{position:relative;background-size:cover;background-position:center center;color:rgba(var(--spt-color-light), 1);background-color:rgba(var(--spt-color-gray-700), 1)}main.banner-main div.sectionwrapper-1 div.section-banner-caption{position:absolute;right:0;bottom:0;font-size:0.8rem;opacity:0.6;padding-right:0.5rem}main.banner-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1);background-color:rgba(var(--spt-color-light), 1)}main.banner-main div.sectionwrapper-2:nth-child(even){background-color:rgba(var(--spt-color-gray-300), 1)}main.banner-main div.section-1,main.banner-main div.section-2{position:relative;padding-top:7rem;padding-bottom:7rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.banner-main div.section-1 h3,main.banner-main div.section-1 h4,main.banner-main div.section-1 h5,main.banner-main div.section-1 h6,main.banner-main div.section-2 h3,main.banner-main div.section-2 h4,main.banner-main div.section-2 h5,main.banner-main div.section-2 h6{padding:2rem 0 1rem 0;text-align:center}main.banner-main div.section-title-wrapper{display:flex;justify-content:center}main.banner-main div.section-title{padding:0 4rem 1rem 4rem;margin-bottom:3rem;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main p{font-size:1.25rem;font-weight:300}main.banner-main div.section.dark-banner h1,main.banner-main div.section.dark-banner h2,main.banner-main div.section.dark-banner h3,main.banner-main div.section.dark-banner h4,main.banner-main div.section.dark-banner h5,main.banner-main div.section.dark-banner h6{color:var(--spt-color-light) !important}main.banner-main div.section.dark-banner p{color:var(--spt-color-light) !important}.bd-main .bd-content .bd-article-container{max-width:100%}.bd-page-width{max-width:85%}.bd-footer{color:rgba(var(--spt-color-light), 1);font-size:0.8rem;font-family:var(--spt-font-footnote);padding:0}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6,.bd-footer p,.bd-footer a{color:rgba(var(--spt-color-light), 1);font-family:var(--spt-font-footnote)}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6{font-size:1rem;margin-bottom:5px}.bd-footer p{font-size:0.8rem}.bd-footer .footer-logos{background-color:rgba(var(--spt-color-gray-200), 1)}.bd-footer .footer-info,.bd-footer .footer-menu{color:rgba(var(--spt-color-gray-400), 1);background-color:rgba(var(--spt-color-dark), 1);padding-top:0.4rem;padding-bottom:0.4rem}.bd-footer .footer-info li,.bd-footer .footer-menu li{line-height:1rem;margin-bottom:5px}.bd-footer .footer-extra{background-color:rgba(var(--spt-color-gray-700), 1);padding-top:1rem;padding-bottom:1rem}.bd-footer .footer-extra img{height:60px}.iframe,.iframe-4x3,.iframe-16x9{position:relative;height:0;width:75%;margin-bottom:1rem;margin-left:auto;margin-right:auto}.iframe iframe,.iframe-4x3 iframe,.iframe-16x9 iframe{border:0;position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%}.iframe-16x9{padding-bottom:calc(0.75 * 56.25%)}.iframe-4x3{padding-bottom:calc(0.75 * 75%)}.sd-btn-primary,.sd-btn-outline-primary:hover,.sd-btn-outline-primary:focus{color:#0a7d91 !important}@media (prefers-color-scheme: dark){p{color:black}}html[data-theme="dark"] p{color:white}html[data-theme="dark"] .sd-btn-primary,.sd-btn-outline-primary:hover,.sd-btn-outline-primary:focus{color:#0a7d91 !important}html[data-theme="dark"] .btn{--bs-btn-color: white}html[data-theme="dark"] .search-button{color:white}html[data-theme="dark"] .nav-link{color:white}html[data-theme="dark"] .highlight .c{color:#797129}html[data-theme="dark"] .highlight .c1{color:#797129}html[data-theme="dark"] .highlight .cp{color:#797129}html[data-theme="dark"] .highlight .k{color:#7928a1}html[data-theme="dark"] .highlight .kc{color:#7928a1}html[data-theme="dark"] .highlight .kn{color:#7928a1}html[data-theme="dark"] .highlight .l{color:#797129}html[data-theme="dark"] .highlight .m{color:#797129}html[data-theme="dark"] .highlight .mf{color:#797129}html[data-theme="dark"] .highlight .mi{color:#797129}html[data-theme="dark"] .highlight .n{color:#545454}html[data-theme="dark"] .highlight .nb{color:#797129}html[data-theme=dark] .highlight .nf{color:#0078a1 !important}html[data-theme="dark"] .highlight .nn{color:#545454}html[data-theme="dark"] .highlight .nt{color:#007faa}html[data-theme="dark"] .highlight .o{color:#008000}html[data-theme="dark"] .highlight .ow{color:#7928a1}html[data-theme="dark"] .highlight .p{color:#545454}html[data-theme="dark"] .highlight .s{color:#008000}html[data-theme="dark"] .highlight .sa{color:#008000}html[data-theme="dark"] .highlight .se{color:#008000}html[data-theme="dark"] .highlight .si{color:#008000}html[data-theme="dark"] .highlight .s1{color:#008000}html[data-theme="dark"] .highlight .s2{color:#008000}html[data-theme="dark"] .highlight pre{color:black}html[data-theme="dark"] table thead tr{background-color:white}html[data-theme="dark"] table tbody tr:nth-child(2n){background-color:white}html[data-theme="dark"] span.collapsed{color:black}html[data-theme="dark"] th.head p{color:black} +}body{font-family:var(--spt-font-body),sans-serif}html{scroll-behavior:smooth;scroll-padding-top:128px}.admonition.alert-info,div.admonition.alert-info{border-color:#0c5460 !important}.admonition.alert-info .admonition-title::before,div.admonition.alert-info .admonition-title::before{color:#0c5460 !important}.admonition.alert-success,div.admonition.alert-success{border-color:#155724 !important}.admonition.alert-success .admonition-title::before,div.admonition.alert-success .admonition-title::before{color:#155724 !important}.admonition.alert-warning,div.admonition.alert-warning{border-color:#856404 !important}.admonition.alert-warning .admonition-title::before,div.admonition.alert-warning .admonition-title::before{color:#856404 !important}.admonition.alert-danger,div.admonition.alert-danger{border-color:#721c24 !important}.admonition.alert-danger .admonition-title::before,div.admonition.alert-danger .admonition-title::before{color:#721c24 !important}.bg-primary{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary{background-color:rgba(var(--pst-color-primary), 1) !important;border-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary:hover{background-color:rgba(var(--pst-color-primary-hover), 1) !important;color:white !important}.btn-outline-primary{border-color:rgba(var(--pst-color-primary), 1) !important;color:rgba(var(--pst-color-primary), 1) !important}.btn-outline-primary:hover,.show>.btn-outline-primary.dropdown-toggle{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-link{color:rgba(var(--pst-color-primary), 1) !important}.display-1{font-size:5rem !important}.display-2{font-size:3rem !important}.display-3{font-size:2rem !important}.display-4{font-size:1.6667rem !important}.display-5{font-size:1.3333rem !important}.display-6{font-size:1rem !important}.form-control:focus{outline:none !important;box-shadow:none !important}.navbar-brand{padding:.75rem 0 !important}.row{margin-left:0 !important;margin-right:0 !important}a.badge{text-decoration:none !important}a.navbar-brand img{vertical-align:middle !important}body>div.container-fluid,body>div.container-xl{padding-right:0;padding-left:0}i.fab,i.far,i.fas{font-size:70%}a.headerlink i.fab,a.headerlink i.far,a.headerlink i.fas{position:absolute;top:50%;transform:translateY(-50%)}a.headerlink{position:relative;text-decoration:none;font-size:unset !important;padding:0 0.7rem !important}a.headerlink:hover{color:rgba(var(--spt-color-gray-500), 1);background-color:transparent}div.highlight pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.bd-sidebar .nav li>a{padding-top:0.1rem;padding-bottom:0.1rem}.bd-toc nav>.nav{border-left:1px solid #eee;border-bottom:1px solid #eee;border-radius:0 0 0 6px;padding-bottom:0.5em}.prev-next-area{margin:2rem auto 0 auto;border-top:1px solid rgba(var(--spt-color-gray-300), 1);max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}.prev-next-area i{font-size:1.1rem;color:rgba(var(--spt-color-gray-600), 1)}.prev-next-area a p.prev-next-title{font-size:1rem;font-weight:600;color:rgba(var(--spt-color-gray-600), 1)}#banner{margin-top:var(--pst-header-height) !important}#site-navigation{top:var(--pst-header-height) !important;height:calc(100vh - var(--pst-header-height)) !important;padding-top:0}#main-content{min-height:calc(100vh - var(--pst-header-height))}.topbar{top:var(--pst-header-height) !important;padding:0 !important}.topbar-main button:focus{outline:none !important}.cell .cell_input,.cell .cell_output{padding:0 !important}.cell .cell_input{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;border-left-color:rgba(var(--pst-color-primary), 1) !important;border-left-width:medium !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_input pre{border:none !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_output{border:none !important}.cell .cell_output pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.tabbed-content{box-shadow:0 -0.0625rem var(--tabs-color-overline) !important;padding-bottom:0 !important}.tabbed-set>label{padding:0 1rem !important;margin:0 !important}.thebe-launch-button{height:2.2em !important;font-size:.8em !important;border:1px solid rgba(var(--spt-color-gray-600), 1) !important;border-radius:4px !important;color:rgba(var(--spt-color-gray-600), 1)}#shim{padding:0;margin-top:var(--pst-header-height)}#navbar-main{z-index:5000;padding-left:15px;padding-right:15px}#navbar-main .container-xl{padding:0}.bd-header{background:#343a40 !important}#navbar-icon-links i:before{color:var(--spt-color-light) !important}main.standalone-main{padding:0 !important;background-color:white}main.standalone-main div.sectionwrapper-1,main.standalone-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1)}main.standalone-main div.section-1,main.standalone-main div.section-2{position:relative;padding-top:1rem;padding-bottom:1rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h2,main.standalone-main div.section-1 .h2,main.standalone-main div.section-1 h1,main.standalone-main div.section-1 .h1,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h2,main.standalone-main div.section-2 .h2,main.standalone-main div.section-2 h1,main.standalone-main div.section-2 .h1{margin-top:0;margin-bottom:0.5rem}main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6{padding:1rem 0}main.standalone-main div.section-title-wrapper{display:flex;justify-content:flex-start}main.standalone-main div.section-title{padding:0 4rem 0.1rem 0;margin:0 0 1.6rem 0;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main{padding:0 !important}main.banner-main #main-content{padding:0 !important}main.banner-main div.sectionwrapper-1{position:relative;background-size:cover;background-position:center center;color:rgba(var(--spt-color-light), 1);background-color:rgba(var(--spt-color-gray-700), 1)}main.banner-main div.sectionwrapper-1 div.section-banner-caption{position:absolute;right:0;bottom:0;font-size:0.8rem;opacity:0.6;padding-right:0.5rem}main.banner-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1);background-color:rgba(var(--spt-color-light), 1)}main.banner-main div.sectionwrapper-2:nth-child(even){background-color:rgba(var(--spt-color-gray-300), 1)}main.banner-main div.section-1,main.banner-main div.section-2{position:relative;padding-top:7rem;padding-bottom:7rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.banner-main div.section-1 h3,main.banner-main div.section-1 h4,main.banner-main div.section-1 h5,main.banner-main div.section-1 h6,main.banner-main div.section-2 h3,main.banner-main div.section-2 h4,main.banner-main div.section-2 h5,main.banner-main div.section-2 h6{padding:2rem 0 1rem 0;text-align:center}main.banner-main div.section-title-wrapper{display:flex;justify-content:center}main.banner-main div.section-title{padding:0 4rem 1rem 4rem;margin-bottom:3rem;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main p{font-size:1.25rem;font-weight:300}main.banner-main div.section.dark-banner h1,main.banner-main div.section.dark-banner h2,main.banner-main div.section.dark-banner h3,main.banner-main div.section.dark-banner h4,main.banner-main div.section.dark-banner h5,main.banner-main div.section.dark-banner h6{color:var(--spt-color-light) !important}main.banner-main div.section.dark-banner p{color:var(--spt-color-light) !important}.bd-main .bd-content .bd-article-container{max-width:100%}.bd-page-width{max-width:85%}.bd-footer{color:rgba(var(--spt-color-light), 1);font-size:0.8rem;font-family:var(--spt-font-footnote);padding:0}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6,.bd-footer p,.bd-footer a{color:rgba(var(--spt-color-light), 1);font-family:var(--spt-font-footnote)}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6{font-size:1rem;margin-bottom:5px}.bd-footer p{font-size:0.8rem}.bd-footer .footer-logos{background-color:rgba(var(--spt-color-gray-200), 1)}.bd-footer .footer-info,.bd-footer .footer-menu{color:rgba(var(--spt-color-gray-400), 1);background-color:rgba(var(--spt-color-dark), 1);padding-top:0.4rem;padding-bottom:0.4rem}.bd-footer .footer-info li,.bd-footer .footer-menu li{line-height:1rem;margin-bottom:5px}.bd-footer .footer-extra{background-color:rgba(var(--spt-color-gray-700), 1);padding-top:1rem;padding-bottom:1rem}.bd-footer .footer-extra img{height:60px}.iframe,.iframe-4x3,.iframe-16x9{position:relative;height:0;width:75%;margin-bottom:1rem;margin-left:auto;margin-right:auto}.iframe iframe,.iframe-4x3 iframe,.iframe-16x9 iframe{border:0;position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%}.iframe-16x9{padding-bottom:calc(0.75 * 56.25%)}.iframe-4x3{padding-bottom:calc(0.75 * 75%)}.sd-btn-primary,.sd-btn-outline-primary:hover,.sd-btn-outline-primary:focus{color:#0a7d91 !important}@media (prefers-color-scheme: dark){p{color:black}}html[data-theme="dark"] p{color:white}html[data-theme="dark"] .sd-btn-primary,.sd-btn-outline-primary:hover,.sd-btn-outline-primary:focus{color:#0a7d91 !important}html[data-theme="dark"] .btn{--bs-btn-color: white}html[data-theme="dark"] .search-button{color:white}html[data-theme="dark"] .nav-link{color:white}html[data-theme="dark"] .highlight .c{color:#797129}html[data-theme="dark"] .highlight .c1{color:#797129}html[data-theme="dark"] .highlight .cp{color:#797129}html[data-theme="dark"] .highlight .k{color:#7928a1}html[data-theme="dark"] .highlight .kc{color:#7928a1}html[data-theme="dark"] .highlight .kn{color:#7928a1}html[data-theme="dark"] .highlight .l{color:#797129}html[data-theme="dark"] .highlight .m{color:#797129}html[data-theme="dark"] .highlight .mf{color:#797129}html[data-theme="dark"] .highlight .mi{color:#797129}html[data-theme="dark"] .highlight .n{color:#545454}html[data-theme="dark"] .highlight .nb{color:#797129}html[data-theme=dark] .highlight .nf{color:#0078a1 !important}html[data-theme="dark"] .highlight .nn{color:#545454}html[data-theme="dark"] .highlight .nt{color:#007faa}html[data-theme="dark"] .highlight .o{color:#008000}html[data-theme="dark"] .highlight .ow{color:#7928a1}html[data-theme="dark"] .highlight .p{color:#545454}html[data-theme="dark"] .highlight .s{color:#008000}html[data-theme="dark"] .highlight .sa{color:#008000}html[data-theme="dark"] .highlight .se{color:#008000}html[data-theme="dark"] .highlight .si{color:#008000}html[data-theme="dark"] .highlight .s1{color:#008000}html[data-theme="dark"] .highlight .s2{color:#008000}html[data-theme="dark"] .highlight pre{color:black}html[data-theme="dark"] span.collapsed{color:black}html[data-theme="dark"] .output.text_html table thead tr{background-color:white}html[data-theme="dark"] .output.text_html table tbody tr:nth-child(2n){background-color:white} diff --git a/src/scss/sphinx-pythia-theme.scss b/src/scss/sphinx-pythia-theme.scss index baf91ae..eea0015 100644 --- a/src/scss/sphinx-pythia-theme.scss +++ b/src/scss/sphinx-pythia-theme.scss @@ -419,18 +419,15 @@ html[data-theme="dark"] .highlight pre { color: black; } -html[data-theme="dark"] table thead tr { - background-color: white; +html[data-theme="dark"] span.collapsed { + color: black; } -html[data-theme="dark"] table tbody tr:nth-child(2n) { + +html[data-theme="dark"] .output.text_html table thead tr { background-color: white; } -html[data-theme="dark"] span.collapsed { - color: black; +html[data-theme="dark"] .output.text_html table tbody tr:nth-child(2n) { + background-color: white; } - -html[data-theme="dark"] th.head p { - color: black; -} \ No newline at end of file From 4cfcd0ea323970e87e1537579b388fc8574ed3f3 Mon Sep 17 00:00:00 2001 From: Julia Kent <46687291+jukent@users.noreply.github.com> Date: Tue, 4 Jun 2024 06:20:40 -0600 Subject: [PATCH 15/18] fix home page and standalone pages --- .../static/sphinx-pythia-theme.min.css | 2 +- src/scss/sphinx-pythia-theme.scss | 41 ++++++++++++++++++- 2 files changed, 41 insertions(+), 2 deletions(-) diff --git a/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css b/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css index 84ec5c9..7b1e707 100644 --- a/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css +++ b/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css @@ -1,2 +1,2 @@ @import url(sphinx-book-theme.css);:root{--spt-font-body: 'Poppins';--spt-font-headings: 'Poppins';--spt-font-footnote: 'Cormorant';--spt-color-gray-100: 248, 249, 250;--spt-color-gray-200: 233, 236, 239;--spt-color-gray-300: 222, 226, 230;--spt-color-gray-400: 206, 212, 218;--spt-color-gray-500: 173, 181, 189;--spt-color-gray-600: 108, 117, 125;--spt-color-gray-700: 73, 80, 87;--spt-color-gray-800: 52, 58, 64;--spt-color-gray-900: 33, 37, 41;--spt-color-light: var(--spt-color-gray-100);--spt-color-dark: var(--spt-color-gray-800);--spt-color-green: 0, 121, 124;--spt-color-green-lighter: 20, 141, 144;--spt-color-green-lightest: 130, 231, 234;--spt-color-blue: 26, 101, 143;--spt-color-blue-lighter: 46, 121, 163;--spt-color-blue-lightest: 156, 191, 213;--spt-color-deep-blue: 1, 33, 105;--spt-color-green-highlight: 168, 199, 0;--pst-color-primary: var(--spt-color-blue) !important;--pst-color-primary-hover: var(--spt-color-blue-lighter) !important;--pst-color-secondary: var(--spt-color-blue-lightest) !important;--pst-color-link: #1a648f !important;--pst-color-link-hover: #9cbfd5 !important;--pst-color-headerlink: var(--spt-color-gray-300) !important;--pst-color-headerlink-hover: var(--spt-color-gray-100)!important;--pst-color-text-muted: #6c757d !important;--tabs-size-label: 0.8rem !important;--tabs-color-label-active: rgba(var(--pst-color-primary), 1) !important;--tabs-color-label-inactive: rgba(var(--spt-color-blue-lightest), 1) !important -}body{font-family:var(--spt-font-body),sans-serif}html{scroll-behavior:smooth;scroll-padding-top:128px}.admonition.alert-info,div.admonition.alert-info{border-color:#0c5460 !important}.admonition.alert-info .admonition-title::before,div.admonition.alert-info .admonition-title::before{color:#0c5460 !important}.admonition.alert-success,div.admonition.alert-success{border-color:#155724 !important}.admonition.alert-success .admonition-title::before,div.admonition.alert-success .admonition-title::before{color:#155724 !important}.admonition.alert-warning,div.admonition.alert-warning{border-color:#856404 !important}.admonition.alert-warning .admonition-title::before,div.admonition.alert-warning .admonition-title::before{color:#856404 !important}.admonition.alert-danger,div.admonition.alert-danger{border-color:#721c24 !important}.admonition.alert-danger .admonition-title::before,div.admonition.alert-danger .admonition-title::before{color:#721c24 !important}.bg-primary{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary{background-color:rgba(var(--pst-color-primary), 1) !important;border-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary:hover{background-color:rgba(var(--pst-color-primary-hover), 1) !important;color:white !important}.btn-outline-primary{border-color:rgba(var(--pst-color-primary), 1) !important;color:rgba(var(--pst-color-primary), 1) !important}.btn-outline-primary:hover,.show>.btn-outline-primary.dropdown-toggle{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-link{color:rgba(var(--pst-color-primary), 1) !important}.display-1{font-size:5rem !important}.display-2{font-size:3rem !important}.display-3{font-size:2rem !important}.display-4{font-size:1.6667rem !important}.display-5{font-size:1.3333rem !important}.display-6{font-size:1rem !important}.form-control:focus{outline:none !important;box-shadow:none !important}.navbar-brand{padding:.75rem 0 !important}.row{margin-left:0 !important;margin-right:0 !important}a.badge{text-decoration:none !important}a.navbar-brand img{vertical-align:middle !important}body>div.container-fluid,body>div.container-xl{padding-right:0;padding-left:0}i.fab,i.far,i.fas{font-size:70%}a.headerlink i.fab,a.headerlink i.far,a.headerlink i.fas{position:absolute;top:50%;transform:translateY(-50%)}a.headerlink{position:relative;text-decoration:none;font-size:unset !important;padding:0 0.7rem !important}a.headerlink:hover{color:rgba(var(--spt-color-gray-500), 1);background-color:transparent}div.highlight pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.bd-sidebar .nav li>a{padding-top:0.1rem;padding-bottom:0.1rem}.bd-toc nav>.nav{border-left:1px solid #eee;border-bottom:1px solid #eee;border-radius:0 0 0 6px;padding-bottom:0.5em}.prev-next-area{margin:2rem auto 0 auto;border-top:1px solid rgba(var(--spt-color-gray-300), 1);max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}.prev-next-area i{font-size:1.1rem;color:rgba(var(--spt-color-gray-600), 1)}.prev-next-area a p.prev-next-title{font-size:1rem;font-weight:600;color:rgba(var(--spt-color-gray-600), 1)}#banner{margin-top:var(--pst-header-height) !important}#site-navigation{top:var(--pst-header-height) !important;height:calc(100vh - var(--pst-header-height)) !important;padding-top:0}#main-content{min-height:calc(100vh - var(--pst-header-height))}.topbar{top:var(--pst-header-height) !important;padding:0 !important}.topbar-main button:focus{outline:none !important}.cell .cell_input,.cell .cell_output{padding:0 !important}.cell .cell_input{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;border-left-color:rgba(var(--pst-color-primary), 1) !important;border-left-width:medium !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_input pre{border:none !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_output{border:none !important}.cell .cell_output pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.tabbed-content{box-shadow:0 -0.0625rem var(--tabs-color-overline) !important;padding-bottom:0 !important}.tabbed-set>label{padding:0 1rem !important;margin:0 !important}.thebe-launch-button{height:2.2em !important;font-size:.8em !important;border:1px solid rgba(var(--spt-color-gray-600), 1) !important;border-radius:4px !important;color:rgba(var(--spt-color-gray-600), 1)}#shim{padding:0;margin-top:var(--pst-header-height)}#navbar-main{z-index:5000;padding-left:15px;padding-right:15px}#navbar-main .container-xl{padding:0}.bd-header{background:#343a40 !important}#navbar-icon-links i:before{color:var(--spt-color-light) !important}main.standalone-main{padding:0 !important;background-color:white}main.standalone-main div.sectionwrapper-1,main.standalone-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1)}main.standalone-main div.section-1,main.standalone-main div.section-2{position:relative;padding-top:1rem;padding-bottom:1rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h2,main.standalone-main div.section-1 .h2,main.standalone-main div.section-1 h1,main.standalone-main div.section-1 .h1,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h2,main.standalone-main div.section-2 .h2,main.standalone-main div.section-2 h1,main.standalone-main div.section-2 .h1{margin-top:0;margin-bottom:0.5rem}main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6{padding:1rem 0}main.standalone-main div.section-title-wrapper{display:flex;justify-content:flex-start}main.standalone-main div.section-title{padding:0 4rem 0.1rem 0;margin:0 0 1.6rem 0;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main{padding:0 !important}main.banner-main #main-content{padding:0 !important}main.banner-main div.sectionwrapper-1{position:relative;background-size:cover;background-position:center center;color:rgba(var(--spt-color-light), 1);background-color:rgba(var(--spt-color-gray-700), 1)}main.banner-main div.sectionwrapper-1 div.section-banner-caption{position:absolute;right:0;bottom:0;font-size:0.8rem;opacity:0.6;padding-right:0.5rem}main.banner-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1);background-color:rgba(var(--spt-color-light), 1)}main.banner-main div.sectionwrapper-2:nth-child(even){background-color:rgba(var(--spt-color-gray-300), 1)}main.banner-main div.section-1,main.banner-main div.section-2{position:relative;padding-top:7rem;padding-bottom:7rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.banner-main div.section-1 h3,main.banner-main div.section-1 h4,main.banner-main div.section-1 h5,main.banner-main div.section-1 h6,main.banner-main div.section-2 h3,main.banner-main div.section-2 h4,main.banner-main div.section-2 h5,main.banner-main div.section-2 h6{padding:2rem 0 1rem 0;text-align:center}main.banner-main div.section-title-wrapper{display:flex;justify-content:center}main.banner-main div.section-title{padding:0 4rem 1rem 4rem;margin-bottom:3rem;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main p{font-size:1.25rem;font-weight:300}main.banner-main div.section.dark-banner h1,main.banner-main div.section.dark-banner h2,main.banner-main div.section.dark-banner h3,main.banner-main div.section.dark-banner h4,main.banner-main div.section.dark-banner h5,main.banner-main div.section.dark-banner h6{color:var(--spt-color-light) !important}main.banner-main div.section.dark-banner p{color:var(--spt-color-light) !important}.bd-main .bd-content .bd-article-container{max-width:100%}.bd-page-width{max-width:85%}.bd-footer{color:rgba(var(--spt-color-light), 1);font-size:0.8rem;font-family:var(--spt-font-footnote);padding:0}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6,.bd-footer p,.bd-footer a{color:rgba(var(--spt-color-light), 1);font-family:var(--spt-font-footnote)}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6{font-size:1rem;margin-bottom:5px}.bd-footer p{font-size:0.8rem}.bd-footer .footer-logos{background-color:rgba(var(--spt-color-gray-200), 1)}.bd-footer .footer-info,.bd-footer .footer-menu{color:rgba(var(--spt-color-gray-400), 1);background-color:rgba(var(--spt-color-dark), 1);padding-top:0.4rem;padding-bottom:0.4rem}.bd-footer .footer-info li,.bd-footer .footer-menu li{line-height:1rem;margin-bottom:5px}.bd-footer .footer-extra{background-color:rgba(var(--spt-color-gray-700), 1);padding-top:1rem;padding-bottom:1rem}.bd-footer .footer-extra img{height:60px}.iframe,.iframe-4x3,.iframe-16x9{position:relative;height:0;width:75%;margin-bottom:1rem;margin-left:auto;margin-right:auto}.iframe iframe,.iframe-4x3 iframe,.iframe-16x9 iframe{border:0;position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%}.iframe-16x9{padding-bottom:calc(0.75 * 56.25%)}.iframe-4x3{padding-bottom:calc(0.75 * 75%)}.sd-btn-primary,.sd-btn-outline-primary:hover,.sd-btn-outline-primary:focus{color:#0a7d91 !important}@media (prefers-color-scheme: dark){p{color:black}}html[data-theme="dark"] p{color:white}html[data-theme="dark"] .sd-btn-primary,.sd-btn-outline-primary:hover,.sd-btn-outline-primary:focus{color:#0a7d91 !important}html[data-theme="dark"] .btn{--bs-btn-color: white}html[data-theme="dark"] .search-button{color:white}html[data-theme="dark"] .nav-link{color:white}html[data-theme="dark"] .highlight .c{color:#797129}html[data-theme="dark"] .highlight .c1{color:#797129}html[data-theme="dark"] .highlight .cp{color:#797129}html[data-theme="dark"] .highlight .k{color:#7928a1}html[data-theme="dark"] .highlight .kc{color:#7928a1}html[data-theme="dark"] .highlight .kn{color:#7928a1}html[data-theme="dark"] .highlight .l{color:#797129}html[data-theme="dark"] .highlight .m{color:#797129}html[data-theme="dark"] .highlight .mf{color:#797129}html[data-theme="dark"] .highlight .mi{color:#797129}html[data-theme="dark"] .highlight .n{color:#545454}html[data-theme="dark"] .highlight .nb{color:#797129}html[data-theme=dark] .highlight .nf{color:#0078a1 !important}html[data-theme="dark"] .highlight .nn{color:#545454}html[data-theme="dark"] .highlight .nt{color:#007faa}html[data-theme="dark"] .highlight .o{color:#008000}html[data-theme="dark"] .highlight .ow{color:#7928a1}html[data-theme="dark"] .highlight .p{color:#545454}html[data-theme="dark"] .highlight .s{color:#008000}html[data-theme="dark"] .highlight .sa{color:#008000}html[data-theme="dark"] .highlight .se{color:#008000}html[data-theme="dark"] .highlight .si{color:#008000}html[data-theme="dark"] .highlight .s1{color:#008000}html[data-theme="dark"] .highlight .s2{color:#008000}html[data-theme="dark"] .highlight pre{color:black}html[data-theme="dark"] span.collapsed{color:black}html[data-theme="dark"] .output.text_html table thead tr{background-color:white}html[data-theme="dark"] .output.text_html table tbody tr:nth-child(2n){background-color:white} +}body{font-family:var(--spt-font-body),sans-serif}html{scroll-behavior:smooth;scroll-padding-top:128px}.admonition.alert-info,div.admonition.alert-info{border-color:#0c5460 !important}.admonition.alert-info .admonition-title::before,div.admonition.alert-info .admonition-title::before{color:#0c5460 !important}.admonition.alert-success,div.admonition.alert-success{border-color:#155724 !important}.admonition.alert-success .admonition-title::before,div.admonition.alert-success .admonition-title::before{color:#155724 !important}.admonition.alert-warning,div.admonition.alert-warning{border-color:#856404 !important}.admonition.alert-warning .admonition-title::before,div.admonition.alert-warning .admonition-title::before{color:#856404 !important}.admonition.alert-danger,div.admonition.alert-danger{border-color:#721c24 !important}.admonition.alert-danger .admonition-title::before,div.admonition.alert-danger .admonition-title::before{color:#721c24 !important}.bg-primary{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary{background-color:rgba(var(--pst-color-primary), 1) !important;border-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary:hover{background-color:rgba(var(--pst-color-primary-hover), 1) !important;color:white !important}.btn-outline-primary{border-color:rgba(var(--pst-color-primary), 1) !important;color:rgba(var(--pst-color-primary), 1) !important}.btn-outline-primary:hover,.show>.btn-outline-primary.dropdown-toggle{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-link{color:rgba(var(--pst-color-primary), 1) !important}.display-1{font-size:5rem !important}.display-2{font-size:3rem !important}.display-3{font-size:2rem !important}.display-4{font-size:1.6667rem !important}.display-5{font-size:1.3333rem !important}.display-6{font-size:1rem !important}.form-control:focus{outline:none !important;box-shadow:none !important}.navbar-brand{padding:.75rem 0 !important}.row{margin-left:0 !important;margin-right:0 !important}a.badge{text-decoration:none !important}a.navbar-brand img{vertical-align:middle !important}body>div.container-fluid,body>div.container-xl{padding-right:0;padding-left:0}i.fab,i.far,i.fas{font-size:70%}a.headerlink i.fab,a.headerlink i.far,a.headerlink i.fas{position:absolute;top:50%;transform:translateY(-50%)}a.headerlink{position:relative;text-decoration:none;font-size:unset !important;padding:0 0.7rem !important}a.headerlink:hover{color:rgba(var(--spt-color-gray-500), 1);background-color:transparent}div.highlight pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.bd-sidebar .nav li>a{padding-top:0.1rem;padding-bottom:0.1rem}.bd-toc nav>.nav{border-left:1px solid #eee;border-bottom:1px solid #eee;border-radius:0 0 0 6px;padding-bottom:0.5em}.prev-next-area{margin:2rem auto 0 auto;border-top:1px solid rgba(var(--spt-color-gray-300), 1);max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}.prev-next-area i{font-size:1.1rem;color:rgba(var(--spt-color-gray-600), 1)}.prev-next-area a p.prev-next-title{font-size:1rem;font-weight:600;color:rgba(var(--spt-color-gray-600), 1)}#banner{margin-top:var(--pst-header-height) !important}#site-navigation{top:var(--pst-header-height) !important;height:calc(100vh - var(--pst-header-height)) !important;padding-top:0}#main-content{min-height:calc(100vh - var(--pst-header-height))}.topbar{top:var(--pst-header-height) !important;padding:0 !important}.topbar-main button:focus{outline:none !important}.cell .cell_input,.cell .cell_output{padding:0 !important}.cell .cell_input{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;border-left-color:rgba(var(--pst-color-primary), 1) !important;border-left-width:medium !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_input pre{border:none !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_output{border:none !important}.cell .cell_output pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.tabbed-content{box-shadow:0 -0.0625rem var(--tabs-color-overline) !important;padding-bottom:0 !important}.tabbed-set>label{padding:0 1rem !important;margin:0 !important}.thebe-launch-button{height:2.2em !important;font-size:.8em !important;border:1px solid rgba(var(--spt-color-gray-600), 1) !important;border-radius:4px !important;color:rgba(var(--spt-color-gray-600), 1)}#shim{padding:0;margin-top:var(--pst-header-height)}#navbar-main{z-index:5000;padding-left:15px;padding-right:15px}#navbar-main .container-xl{padding:0}.bd-header{background:#343a40 !important}#navbar-icon-links i:before{color:var(--spt-color-light) !important}main.standalone-main{padding:0 !important;background-color:white}main.standalone-main div.sectionwrapper-1,main.standalone-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1)}main.standalone-main div.section-1,main.standalone-main div.section-2{position:relative;padding-top:1rem;padding-bottom:1rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h2,main.standalone-main div.section-1 .h2,main.standalone-main div.section-1 h1,main.standalone-main div.section-1 .h1,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h2,main.standalone-main div.section-2 .h2,main.standalone-main div.section-2 h1,main.standalone-main div.section-2 .h1{margin-top:0;margin-bottom:0.5rem}main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6{padding:1rem 0}main.standalone-main div.section-title-wrapper{display:flex;justify-content:flex-start}main.standalone-main div.section-title{padding:0 4rem 0.1rem 0;margin:0 0 1.6rem 0;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main{padding:0 !important}main.banner-main #main-content{padding:0 !important}main.banner-main div.sectionwrapper-1{position:relative;background-size:cover;background-position:center center;color:rgba(var(--spt-color-light), 1);background-color:rgba(var(--spt-color-gray-700), 1)}main.banner-main div.sectionwrapper-1 div.section-banner-caption{position:absolute;right:0;bottom:0;font-size:0.8rem;opacity:0.6;padding-right:0.5rem}main.banner-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1);background-color:rgba(var(--spt-color-light), 1)}main.banner-main div.sectionwrapper-2:nth-child(even){background-color:rgba(var(--spt-color-gray-300), 1)}main.banner-main div.section-1,main.banner-main div.section-2{position:relative;padding-top:7rem;padding-bottom:7rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.banner-main div.section-1 h3,main.banner-main div.section-1 h4,main.banner-main div.section-1 h5,main.banner-main div.section-1 h6,main.banner-main div.section-2 h3,main.banner-main div.section-2 h4,main.banner-main div.section-2 h5,main.banner-main div.section-2 h6{padding:2rem 0 1rem 0;text-align:center}main.banner-main div.section-title-wrapper{display:flex;justify-content:center}main.banner-main div.section-title{padding:0 4rem 1rem 4rem;margin-bottom:3rem;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main p{font-size:1.25rem;font-weight:300}main.banner-main div.section.dark-banner h1,main.banner-main div.section.dark-banner h2,main.banner-main div.section.dark-banner h3,main.banner-main div.section.dark-banner h4,main.banner-main div.section.dark-banner h5,main.banner-main div.section.dark-banner h6{color:var(--spt-color-light) !important}main.banner-main div.section.dark-banner p{color:var(--spt-color-light) !important}.bd-main .bd-content .bd-article-container{max-width:100%}.bd-page-width{max-width:85%}.bd-footer{color:rgba(var(--spt-color-light), 1);font-size:0.8rem;font-family:var(--spt-font-footnote);padding:0}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6,.bd-footer p,.bd-footer a{color:rgba(var(--spt-color-light), 1);font-family:var(--spt-font-footnote)}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6{font-size:1rem;margin-bottom:5px}.bd-footer p{font-size:0.8rem}.bd-footer .footer-logos{background-color:rgba(var(--spt-color-gray-200), 1)}.bd-footer .footer-info,.bd-footer .footer-menu{color:rgba(var(--spt-color-gray-400), 1);background-color:rgba(var(--spt-color-dark), 1);padding-top:0.4rem;padding-bottom:0.4rem}.bd-footer .footer-info li,.bd-footer .footer-menu li{line-height:1rem;margin-bottom:5px}.bd-footer .footer-extra{background-color:rgba(var(--spt-color-gray-700), 1);padding-top:1rem;padding-bottom:1rem}.bd-footer .footer-extra img{height:60px}.iframe,.iframe-4x3,.iframe-16x9{position:relative;height:0;width:75%;margin-bottom:1rem;margin-left:auto;margin-right:auto}.iframe iframe,.iframe-4x3 iframe,.iframe-16x9 iframe{border:0;position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%}.iframe-16x9{padding-bottom:calc(0.75 * 56.25%)}.iframe-4x3{padding-bottom:calc(0.75 * 75%)}.sd-btn-primary,.sd-btn-outline-primary:hover,.sd-btn-outline-primary:focus{color:#0a7d91 !important}@media (prefers-color-scheme: dark){p{color:black}}html[data-theme="dark"] p{color:white}html[data-theme="dark"] .section-title{color:white}html[data-theme="dark"] h3.display-3{color:white}html[data-theme="dark"] main.banner-main div.sectionwrapper-2:nth-child(even){background-color:#495057}html[data-theme="dark"] main.banner-main div.sectionwrapper-2{background-color:black}html[data-theme="dark"] .container-fluid{background-color:black}html[data-theme="dark"] .sd-btn-primary,.sd-btn-outline-primary:hover,.sd-btn-outline-primary:focus{color:#0a7d91 !important}html[data-theme="dark"] .btn{--bs-btn-color: white}html[data-theme="dark"] .search-button{color:white}html[data-theme="dark"] .nav-link{color:white}html[data-theme="dark"] .highlight .c{color:#797129}html[data-theme="dark"] .highlight .c1{color:#797129}html[data-theme="dark"] .highlight .cp{color:#797129}html[data-theme="dark"] .highlight .k{color:#7928a1}html[data-theme="dark"] .highlight .kc{color:#7928a1}html[data-theme="dark"] .highlight .kn{color:#7928a1}html[data-theme="dark"] .highlight .l{color:#797129}html[data-theme="dark"] .highlight .m{color:#797129}html[data-theme="dark"] .highlight .mf{color:#797129}html[data-theme="dark"] .highlight .mi{color:#797129}html[data-theme="dark"] .highlight .n{color:#545454}html[data-theme="dark"] .highlight .nb{color:#797129}html[data-theme=dark] .highlight .nc{color:#0078a1 !important}html[data-theme="dark"] .highlight .nd{color:#797129}html[data-theme=dark] .highlight .nf{color:#0078a1 !important}html[data-theme="dark"] .highlight .nn{color:#545454}html[data-theme="dark"] .highlight .nt{color:#007faa}html[data-theme="dark"] .highlight .o{color:#008000}html[data-theme="dark"] .highlight .ow{color:#7928a1}html[data-theme="dark"] .highlight .p{color:#545454}html[data-theme="dark"] .highlight .s{color:#008000}html[data-theme="dark"] .highlight .sa{color:#008000}html[data-theme="dark"] .highlight .sd{color:#008000}html[data-theme="dark"] .highlight .se{color:#008000}html[data-theme="dark"] .highlight .si{color:#008000}html[data-theme="dark"] .highlight .s1{color:#008000}html[data-theme="dark"] .highlight .s2{color:#008000}html[data-theme="dark"] .highlight pre{color:black}html[data-theme="dark"] span.collapsed{color:black}html[data-theme="dark"] .output.text_html table thead tr{background-color:white}html[data-theme="dark"] .output.text_html table tbody tr:nth-child(2n){background-color:white} diff --git a/src/scss/sphinx-pythia-theme.scss b/src/scss/sphinx-pythia-theme.scss index eea0015..bd1caec 100644 --- a/src/scss/sphinx-pythia-theme.scss +++ b/src/scss/sphinx-pythia-theme.scss @@ -303,6 +303,34 @@ html[data-theme="dark"] p { color: white; } +html[data-theme="dark"] .section-title { + color: white; +} + +html[data-theme="dark"] h1.display-1 { + color: white; +} + +html[data-theme="dark"] h2.display-2 { + color: white; +} + +html[data-theme="dark"] h3.display-3 { + color: white; +} + +html[data-theme="dark"] main.banner-main div.sectionwrapper-2:nth-child(even) { + background-color: #495057; +} + +html[data-theme="dark"] main.banner-main div.sectionwrapper-2 { + background-color: black +} + +html[data-theme="dark"] .container-fluid { + background-color: black; +} + html[data-theme="dark"] .sd-btn-primary, .sd-btn-outline-primary:hover, .sd-btn-outline-primary:focus { color: #0a7d91 !important; } @@ -367,6 +395,14 @@ html[data-theme="dark"] .highlight .nb { color: #797129; } +html[data-theme=dark] .highlight .nc { + color: #0078a1 !important; +} + +html[data-theme="dark"] .highlight .nd { + color: #797129; +} + html[data-theme=dark] .highlight .nf { color: #0078a1 !important; } @@ -399,6 +435,10 @@ html[data-theme="dark"] .highlight .sa { color: #008000; } +html[data-theme="dark"] .highlight .sd { + color: #008000; +} + html[data-theme="dark"] .highlight .se { color: #008000; } @@ -423,7 +463,6 @@ html[data-theme="dark"] span.collapsed { color: black; } - html[data-theme="dark"] .output.text_html table thead tr { background-color: white; } From e9c395a58622fe33c9ddfa3631c8f600ceec2407 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 4 Jun 2024 12:22:46 +0000 Subject: [PATCH 16/18] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- sphinx_pythia_theme/static/sphinx-pythia-theme.min.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css b/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css index 7b1e707..975784a 100644 --- a/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css +++ b/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css @@ -1,2 +1,2 @@ @import url(sphinx-book-theme.css);:root{--spt-font-body: 'Poppins';--spt-font-headings: 'Poppins';--spt-font-footnote: 'Cormorant';--spt-color-gray-100: 248, 249, 250;--spt-color-gray-200: 233, 236, 239;--spt-color-gray-300: 222, 226, 230;--spt-color-gray-400: 206, 212, 218;--spt-color-gray-500: 173, 181, 189;--spt-color-gray-600: 108, 117, 125;--spt-color-gray-700: 73, 80, 87;--spt-color-gray-800: 52, 58, 64;--spt-color-gray-900: 33, 37, 41;--spt-color-light: var(--spt-color-gray-100);--spt-color-dark: var(--spt-color-gray-800);--spt-color-green: 0, 121, 124;--spt-color-green-lighter: 20, 141, 144;--spt-color-green-lightest: 130, 231, 234;--spt-color-blue: 26, 101, 143;--spt-color-blue-lighter: 46, 121, 163;--spt-color-blue-lightest: 156, 191, 213;--spt-color-deep-blue: 1, 33, 105;--spt-color-green-highlight: 168, 199, 0;--pst-color-primary: var(--spt-color-blue) !important;--pst-color-primary-hover: var(--spt-color-blue-lighter) !important;--pst-color-secondary: var(--spt-color-blue-lightest) !important;--pst-color-link: #1a648f !important;--pst-color-link-hover: #9cbfd5 !important;--pst-color-headerlink: var(--spt-color-gray-300) !important;--pst-color-headerlink-hover: var(--spt-color-gray-100)!important;--pst-color-text-muted: #6c757d !important;--tabs-size-label: 0.8rem !important;--tabs-color-label-active: rgba(var(--pst-color-primary), 1) !important;--tabs-color-label-inactive: rgba(var(--spt-color-blue-lightest), 1) !important -}body{font-family:var(--spt-font-body),sans-serif}html{scroll-behavior:smooth;scroll-padding-top:128px}.admonition.alert-info,div.admonition.alert-info{border-color:#0c5460 !important}.admonition.alert-info .admonition-title::before,div.admonition.alert-info .admonition-title::before{color:#0c5460 !important}.admonition.alert-success,div.admonition.alert-success{border-color:#155724 !important}.admonition.alert-success .admonition-title::before,div.admonition.alert-success .admonition-title::before{color:#155724 !important}.admonition.alert-warning,div.admonition.alert-warning{border-color:#856404 !important}.admonition.alert-warning .admonition-title::before,div.admonition.alert-warning .admonition-title::before{color:#856404 !important}.admonition.alert-danger,div.admonition.alert-danger{border-color:#721c24 !important}.admonition.alert-danger .admonition-title::before,div.admonition.alert-danger .admonition-title::before{color:#721c24 !important}.bg-primary{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary{background-color:rgba(var(--pst-color-primary), 1) !important;border-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary:hover{background-color:rgba(var(--pst-color-primary-hover), 1) !important;color:white !important}.btn-outline-primary{border-color:rgba(var(--pst-color-primary), 1) !important;color:rgba(var(--pst-color-primary), 1) !important}.btn-outline-primary:hover,.show>.btn-outline-primary.dropdown-toggle{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-link{color:rgba(var(--pst-color-primary), 1) !important}.display-1{font-size:5rem !important}.display-2{font-size:3rem !important}.display-3{font-size:2rem !important}.display-4{font-size:1.6667rem !important}.display-5{font-size:1.3333rem !important}.display-6{font-size:1rem !important}.form-control:focus{outline:none !important;box-shadow:none !important}.navbar-brand{padding:.75rem 0 !important}.row{margin-left:0 !important;margin-right:0 !important}a.badge{text-decoration:none !important}a.navbar-brand img{vertical-align:middle !important}body>div.container-fluid,body>div.container-xl{padding-right:0;padding-left:0}i.fab,i.far,i.fas{font-size:70%}a.headerlink i.fab,a.headerlink i.far,a.headerlink i.fas{position:absolute;top:50%;transform:translateY(-50%)}a.headerlink{position:relative;text-decoration:none;font-size:unset !important;padding:0 0.7rem !important}a.headerlink:hover{color:rgba(var(--spt-color-gray-500), 1);background-color:transparent}div.highlight pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.bd-sidebar .nav li>a{padding-top:0.1rem;padding-bottom:0.1rem}.bd-toc nav>.nav{border-left:1px solid #eee;border-bottom:1px solid #eee;border-radius:0 0 0 6px;padding-bottom:0.5em}.prev-next-area{margin:2rem auto 0 auto;border-top:1px solid rgba(var(--spt-color-gray-300), 1);max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}.prev-next-area i{font-size:1.1rem;color:rgba(var(--spt-color-gray-600), 1)}.prev-next-area a p.prev-next-title{font-size:1rem;font-weight:600;color:rgba(var(--spt-color-gray-600), 1)}#banner{margin-top:var(--pst-header-height) !important}#site-navigation{top:var(--pst-header-height) !important;height:calc(100vh - var(--pst-header-height)) !important;padding-top:0}#main-content{min-height:calc(100vh - var(--pst-header-height))}.topbar{top:var(--pst-header-height) !important;padding:0 !important}.topbar-main button:focus{outline:none !important}.cell .cell_input,.cell .cell_output{padding:0 !important}.cell .cell_input{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;border-left-color:rgba(var(--pst-color-primary), 1) !important;border-left-width:medium !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_input pre{border:none !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_output{border:none !important}.cell .cell_output pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.tabbed-content{box-shadow:0 -0.0625rem var(--tabs-color-overline) !important;padding-bottom:0 !important}.tabbed-set>label{padding:0 1rem !important;margin:0 !important}.thebe-launch-button{height:2.2em !important;font-size:.8em !important;border:1px solid rgba(var(--spt-color-gray-600), 1) !important;border-radius:4px !important;color:rgba(var(--spt-color-gray-600), 1)}#shim{padding:0;margin-top:var(--pst-header-height)}#navbar-main{z-index:5000;padding-left:15px;padding-right:15px}#navbar-main .container-xl{padding:0}.bd-header{background:#343a40 !important}#navbar-icon-links i:before{color:var(--spt-color-light) !important}main.standalone-main{padding:0 !important;background-color:white}main.standalone-main div.sectionwrapper-1,main.standalone-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1)}main.standalone-main div.section-1,main.standalone-main div.section-2{position:relative;padding-top:1rem;padding-bottom:1rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h2,main.standalone-main div.section-1 .h2,main.standalone-main div.section-1 h1,main.standalone-main div.section-1 .h1,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h2,main.standalone-main div.section-2 .h2,main.standalone-main div.section-2 h1,main.standalone-main div.section-2 .h1{margin-top:0;margin-bottom:0.5rem}main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6{padding:1rem 0}main.standalone-main div.section-title-wrapper{display:flex;justify-content:flex-start}main.standalone-main div.section-title{padding:0 4rem 0.1rem 0;margin:0 0 1.6rem 0;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main{padding:0 !important}main.banner-main #main-content{padding:0 !important}main.banner-main div.sectionwrapper-1{position:relative;background-size:cover;background-position:center center;color:rgba(var(--spt-color-light), 1);background-color:rgba(var(--spt-color-gray-700), 1)}main.banner-main div.sectionwrapper-1 div.section-banner-caption{position:absolute;right:0;bottom:0;font-size:0.8rem;opacity:0.6;padding-right:0.5rem}main.banner-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1);background-color:rgba(var(--spt-color-light), 1)}main.banner-main div.sectionwrapper-2:nth-child(even){background-color:rgba(var(--spt-color-gray-300), 1)}main.banner-main div.section-1,main.banner-main div.section-2{position:relative;padding-top:7rem;padding-bottom:7rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.banner-main div.section-1 h3,main.banner-main div.section-1 h4,main.banner-main div.section-1 h5,main.banner-main div.section-1 h6,main.banner-main div.section-2 h3,main.banner-main div.section-2 h4,main.banner-main div.section-2 h5,main.banner-main div.section-2 h6{padding:2rem 0 1rem 0;text-align:center}main.banner-main div.section-title-wrapper{display:flex;justify-content:center}main.banner-main div.section-title{padding:0 4rem 1rem 4rem;margin-bottom:3rem;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main p{font-size:1.25rem;font-weight:300}main.banner-main div.section.dark-banner h1,main.banner-main div.section.dark-banner h2,main.banner-main div.section.dark-banner h3,main.banner-main div.section.dark-banner h4,main.banner-main div.section.dark-banner h5,main.banner-main div.section.dark-banner h6{color:var(--spt-color-light) !important}main.banner-main div.section.dark-banner p{color:var(--spt-color-light) !important}.bd-main .bd-content .bd-article-container{max-width:100%}.bd-page-width{max-width:85%}.bd-footer{color:rgba(var(--spt-color-light), 1);font-size:0.8rem;font-family:var(--spt-font-footnote);padding:0}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6,.bd-footer p,.bd-footer a{color:rgba(var(--spt-color-light), 1);font-family:var(--spt-font-footnote)}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6{font-size:1rem;margin-bottom:5px}.bd-footer p{font-size:0.8rem}.bd-footer .footer-logos{background-color:rgba(var(--spt-color-gray-200), 1)}.bd-footer .footer-info,.bd-footer .footer-menu{color:rgba(var(--spt-color-gray-400), 1);background-color:rgba(var(--spt-color-dark), 1);padding-top:0.4rem;padding-bottom:0.4rem}.bd-footer .footer-info li,.bd-footer .footer-menu li{line-height:1rem;margin-bottom:5px}.bd-footer .footer-extra{background-color:rgba(var(--spt-color-gray-700), 1);padding-top:1rem;padding-bottom:1rem}.bd-footer .footer-extra img{height:60px}.iframe,.iframe-4x3,.iframe-16x9{position:relative;height:0;width:75%;margin-bottom:1rem;margin-left:auto;margin-right:auto}.iframe iframe,.iframe-4x3 iframe,.iframe-16x9 iframe{border:0;position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%}.iframe-16x9{padding-bottom:calc(0.75 * 56.25%)}.iframe-4x3{padding-bottom:calc(0.75 * 75%)}.sd-btn-primary,.sd-btn-outline-primary:hover,.sd-btn-outline-primary:focus{color:#0a7d91 !important}@media (prefers-color-scheme: dark){p{color:black}}html[data-theme="dark"] p{color:white}html[data-theme="dark"] .section-title{color:white}html[data-theme="dark"] h3.display-3{color:white}html[data-theme="dark"] main.banner-main div.sectionwrapper-2:nth-child(even){background-color:#495057}html[data-theme="dark"] main.banner-main div.sectionwrapper-2{background-color:black}html[data-theme="dark"] .container-fluid{background-color:black}html[data-theme="dark"] .sd-btn-primary,.sd-btn-outline-primary:hover,.sd-btn-outline-primary:focus{color:#0a7d91 !important}html[data-theme="dark"] .btn{--bs-btn-color: white}html[data-theme="dark"] .search-button{color:white}html[data-theme="dark"] .nav-link{color:white}html[data-theme="dark"] .highlight .c{color:#797129}html[data-theme="dark"] .highlight .c1{color:#797129}html[data-theme="dark"] .highlight .cp{color:#797129}html[data-theme="dark"] .highlight .k{color:#7928a1}html[data-theme="dark"] .highlight .kc{color:#7928a1}html[data-theme="dark"] .highlight .kn{color:#7928a1}html[data-theme="dark"] .highlight .l{color:#797129}html[data-theme="dark"] .highlight .m{color:#797129}html[data-theme="dark"] .highlight .mf{color:#797129}html[data-theme="dark"] .highlight .mi{color:#797129}html[data-theme="dark"] .highlight .n{color:#545454}html[data-theme="dark"] .highlight .nb{color:#797129}html[data-theme=dark] .highlight .nc{color:#0078a1 !important}html[data-theme="dark"] .highlight .nd{color:#797129}html[data-theme=dark] .highlight .nf{color:#0078a1 !important}html[data-theme="dark"] .highlight .nn{color:#545454}html[data-theme="dark"] .highlight .nt{color:#007faa}html[data-theme="dark"] .highlight .o{color:#008000}html[data-theme="dark"] .highlight .ow{color:#7928a1}html[data-theme="dark"] .highlight .p{color:#545454}html[data-theme="dark"] .highlight .s{color:#008000}html[data-theme="dark"] .highlight .sa{color:#008000}html[data-theme="dark"] .highlight .sd{color:#008000}html[data-theme="dark"] .highlight .se{color:#008000}html[data-theme="dark"] .highlight .si{color:#008000}html[data-theme="dark"] .highlight .s1{color:#008000}html[data-theme="dark"] .highlight .s2{color:#008000}html[data-theme="dark"] .highlight pre{color:black}html[data-theme="dark"] span.collapsed{color:black}html[data-theme="dark"] .output.text_html table thead tr{background-color:white}html[data-theme="dark"] .output.text_html table tbody tr:nth-child(2n){background-color:white} +}body{font-family:var(--spt-font-body),sans-serif}html{scroll-behavior:smooth;scroll-padding-top:128px}.admonition.alert-info,div.admonition.alert-info{border-color:#0c5460 !important}.admonition.alert-info .admonition-title::before,div.admonition.alert-info .admonition-title::before{color:#0c5460 !important}.admonition.alert-success,div.admonition.alert-success{border-color:#155724 !important}.admonition.alert-success .admonition-title::before,div.admonition.alert-success .admonition-title::before{color:#155724 !important}.admonition.alert-warning,div.admonition.alert-warning{border-color:#856404 !important}.admonition.alert-warning .admonition-title::before,div.admonition.alert-warning .admonition-title::before{color:#856404 !important}.admonition.alert-danger,div.admonition.alert-danger{border-color:#721c24 !important}.admonition.alert-danger .admonition-title::before,div.admonition.alert-danger .admonition-title::before{color:#721c24 !important}.bg-primary{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary{background-color:rgba(var(--pst-color-primary), 1) !important;border-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary:hover{background-color:rgba(var(--pst-color-primary-hover), 1) !important;color:white !important}.btn-outline-primary{border-color:rgba(var(--pst-color-primary), 1) !important;color:rgba(var(--pst-color-primary), 1) !important}.btn-outline-primary:hover,.show>.btn-outline-primary.dropdown-toggle{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-link{color:rgba(var(--pst-color-primary), 1) !important}.display-1{font-size:5rem !important}.display-2{font-size:3rem !important}.display-3{font-size:2rem !important}.display-4{font-size:1.6667rem !important}.display-5{font-size:1.3333rem !important}.display-6{font-size:1rem !important}.form-control:focus{outline:none !important;box-shadow:none !important}.navbar-brand{padding:.75rem 0 !important}.row{margin-left:0 !important;margin-right:0 !important}a.badge{text-decoration:none !important}a.navbar-brand img{vertical-align:middle !important}body>div.container-fluid,body>div.container-xl{padding-right:0;padding-left:0}i.fab,i.far,i.fas{font-size:70%}a.headerlink i.fab,a.headerlink i.far,a.headerlink i.fas{position:absolute;top:50%;transform:translateY(-50%)}a.headerlink{position:relative;text-decoration:none;font-size:unset !important;padding:0 0.7rem !important}a.headerlink:hover{color:rgba(var(--spt-color-gray-500), 1);background-color:transparent}div.highlight pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.bd-sidebar .nav li>a{padding-top:0.1rem;padding-bottom:0.1rem}.bd-toc nav>.nav{border-left:1px solid #eee;border-bottom:1px solid #eee;border-radius:0 0 0 6px;padding-bottom:0.5em}.prev-next-area{margin:2rem auto 0 auto;border-top:1px solid rgba(var(--spt-color-gray-300), 1);max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}.prev-next-area i{font-size:1.1rem;color:rgba(var(--spt-color-gray-600), 1)}.prev-next-area a p.prev-next-title{font-size:1rem;font-weight:600;color:rgba(var(--spt-color-gray-600), 1)}#banner{margin-top:var(--pst-header-height) !important}#site-navigation{top:var(--pst-header-height) !important;height:calc(100vh - var(--pst-header-height)) !important;padding-top:0}#main-content{min-height:calc(100vh - var(--pst-header-height))}.topbar{top:var(--pst-header-height) !important;padding:0 !important}.topbar-main button:focus{outline:none !important}.cell .cell_input,.cell .cell_output{padding:0 !important}.cell .cell_input{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;border-left-color:rgba(var(--pst-color-primary), 1) !important;border-left-width:medium !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_input pre{border:none !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_output{border:none !important}.cell .cell_output pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.tabbed-content{box-shadow:0 -0.0625rem var(--tabs-color-overline) !important;padding-bottom:0 !important}.tabbed-set>label{padding:0 1rem !important;margin:0 !important}.thebe-launch-button{height:2.2em !important;font-size:.8em !important;border:1px solid rgba(var(--spt-color-gray-600), 1) !important;border-radius:4px !important;color:rgba(var(--spt-color-gray-600), 1)}#shim{padding:0;margin-top:var(--pst-header-height)}#navbar-main{z-index:5000;padding-left:15px;padding-right:15px}#navbar-main .container-xl{padding:0}.bd-header{background:#343a40 !important}#navbar-icon-links i:before{color:var(--spt-color-light) !important}main.standalone-main{padding:0 !important;background-color:white}main.standalone-main div.sectionwrapper-1,main.standalone-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1)}main.standalone-main div.section-1,main.standalone-main div.section-2{position:relative;padding-top:1rem;padding-bottom:1rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h2,main.standalone-main div.section-1 .h2,main.standalone-main div.section-1 h1,main.standalone-main div.section-1 .h1,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h2,main.standalone-main div.section-2 .h2,main.standalone-main div.section-2 h1,main.standalone-main div.section-2 .h1{margin-top:0;margin-bottom:0.5rem}main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6{padding:1rem 0}main.standalone-main div.section-title-wrapper{display:flex;justify-content:flex-start}main.standalone-main div.section-title{padding:0 4rem 0.1rem 0;margin:0 0 1.6rem 0;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main{padding:0 !important}main.banner-main #main-content{padding:0 !important}main.banner-main div.sectionwrapper-1{position:relative;background-size:cover;background-position:center center;color:rgba(var(--spt-color-light), 1);background-color:rgba(var(--spt-color-gray-700), 1)}main.banner-main div.sectionwrapper-1 div.section-banner-caption{position:absolute;right:0;bottom:0;font-size:0.8rem;opacity:0.6;padding-right:0.5rem}main.banner-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1);background-color:rgba(var(--spt-color-light), 1)}main.banner-main div.sectionwrapper-2:nth-child(even){background-color:rgba(var(--spt-color-gray-300), 1)}main.banner-main div.section-1,main.banner-main div.section-2{position:relative;padding-top:7rem;padding-bottom:7rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.banner-main div.section-1 h3,main.banner-main div.section-1 h4,main.banner-main div.section-1 h5,main.banner-main div.section-1 h6,main.banner-main div.section-2 h3,main.banner-main div.section-2 h4,main.banner-main div.section-2 h5,main.banner-main div.section-2 h6{padding:2rem 0 1rem 0;text-align:center}main.banner-main div.section-title-wrapper{display:flex;justify-content:center}main.banner-main div.section-title{padding:0 4rem 1rem 4rem;margin-bottom:3rem;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main p{font-size:1.25rem;font-weight:300}main.banner-main div.section.dark-banner h1,main.banner-main div.section.dark-banner h2,main.banner-main div.section.dark-banner h3,main.banner-main div.section.dark-banner h4,main.banner-main div.section.dark-banner h5,main.banner-main div.section.dark-banner h6{color:var(--spt-color-light) !important}main.banner-main div.section.dark-banner p{color:var(--spt-color-light) !important}.bd-main .bd-content .bd-article-container{max-width:100%}.bd-page-width{max-width:85%}.bd-footer{color:rgba(var(--spt-color-light), 1);font-size:0.8rem;font-family:var(--spt-font-footnote);padding:0}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6,.bd-footer p,.bd-footer a{color:rgba(var(--spt-color-light), 1);font-family:var(--spt-font-footnote)}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6{font-size:1rem;margin-bottom:5px}.bd-footer p{font-size:0.8rem}.bd-footer .footer-logos{background-color:rgba(var(--spt-color-gray-200), 1)}.bd-footer .footer-info,.bd-footer .footer-menu{color:rgba(var(--spt-color-gray-400), 1);background-color:rgba(var(--spt-color-dark), 1);padding-top:0.4rem;padding-bottom:0.4rem}.bd-footer .footer-info li,.bd-footer .footer-menu li{line-height:1rem;margin-bottom:5px}.bd-footer .footer-extra{background-color:rgba(var(--spt-color-gray-700), 1);padding-top:1rem;padding-bottom:1rem}.bd-footer .footer-extra img{height:60px}.iframe,.iframe-4x3,.iframe-16x9{position:relative;height:0;width:75%;margin-bottom:1rem;margin-left:auto;margin-right:auto}.iframe iframe,.iframe-4x3 iframe,.iframe-16x9 iframe{border:0;position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%}.iframe-16x9{padding-bottom:calc(0.75 * 56.25%)}.iframe-4x3{padding-bottom:calc(0.75 * 75%)}.sd-btn-primary,.sd-btn-outline-primary:hover,.sd-btn-outline-primary:focus{color:#0a7d91 !important}@media (prefers-color-scheme: dark){p{color:black}}html[data-theme="dark"] p{color:white}html[data-theme="dark"] .section-title{color:white}html[data-theme="dark"] h1.display-1{color:white}html[data-theme="dark"] h2.display-2{color:white}html[data-theme="dark"] h3.display-3{color:white}html[data-theme="dark"] main.banner-main div.sectionwrapper-2:nth-child(even){background-color:#495057}html[data-theme="dark"] main.banner-main div.sectionwrapper-2{background-color:black}html[data-theme="dark"] .container-fluid{background-color:black}html[data-theme="dark"] .sd-btn-primary,.sd-btn-outline-primary:hover,.sd-btn-outline-primary:focus{color:#0a7d91 !important}html[data-theme="dark"] .btn{--bs-btn-color: white}html[data-theme="dark"] .search-button{color:white}html[data-theme="dark"] .nav-link{color:white}html[data-theme="dark"] .highlight .c{color:#797129}html[data-theme="dark"] .highlight .c1{color:#797129}html[data-theme="dark"] .highlight .cp{color:#797129}html[data-theme="dark"] .highlight .k{color:#7928a1}html[data-theme="dark"] .highlight .kc{color:#7928a1}html[data-theme="dark"] .highlight .kn{color:#7928a1}html[data-theme="dark"] .highlight .l{color:#797129}html[data-theme="dark"] .highlight .m{color:#797129}html[data-theme="dark"] .highlight .mf{color:#797129}html[data-theme="dark"] .highlight .mi{color:#797129}html[data-theme="dark"] .highlight .n{color:#545454}html[data-theme="dark"] .highlight .nb{color:#797129}html[data-theme=dark] .highlight .nc{color:#0078a1 !important}html[data-theme="dark"] .highlight .nd{color:#797129}html[data-theme=dark] .highlight .nf{color:#0078a1 !important}html[data-theme="dark"] .highlight .nn{color:#545454}html[data-theme="dark"] .highlight .nt{color:#007faa}html[data-theme="dark"] .highlight .o{color:#008000}html[data-theme="dark"] .highlight .ow{color:#7928a1}html[data-theme="dark"] .highlight .p{color:#545454}html[data-theme="dark"] .highlight .s{color:#008000}html[data-theme="dark"] .highlight .sa{color:#008000}html[data-theme="dark"] .highlight .sd{color:#008000}html[data-theme="dark"] .highlight .se{color:#008000}html[data-theme="dark"] .highlight .si{color:#008000}html[data-theme="dark"] .highlight .s1{color:#008000}html[data-theme="dark"] .highlight .s2{color:#008000}html[data-theme="dark"] .highlight pre{color:black}html[data-theme="dark"] span.collapsed{color:black}html[data-theme="dark"] .output.text_html table thead tr{background-color:white}html[data-theme="dark"] .output.text_html table tbody tr:nth-child(2n){background-color:white} From bd27f937e92f682feaad5020b787b5a8b43c667b Mon Sep 17 00:00:00 2001 From: Julia Kent <46687291+jukent@users.noreply.github.com> Date: Tue, 4 Jun 2024 07:21:15 -0600 Subject: [PATCH 17/18] found a few issues with dataframe, markdown toggling, and arrows/expand spans --- .../static/sphinx-pythia-theme.min.css | 2 +- src/scss/sphinx-pythia-theme.scss | 18 +++++++++++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css b/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css index 975784a..8ddc5d4 100644 --- a/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css +++ b/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css @@ -1,2 +1,2 @@ @import url(sphinx-book-theme.css);:root{--spt-font-body: 'Poppins';--spt-font-headings: 'Poppins';--spt-font-footnote: 'Cormorant';--spt-color-gray-100: 248, 249, 250;--spt-color-gray-200: 233, 236, 239;--spt-color-gray-300: 222, 226, 230;--spt-color-gray-400: 206, 212, 218;--spt-color-gray-500: 173, 181, 189;--spt-color-gray-600: 108, 117, 125;--spt-color-gray-700: 73, 80, 87;--spt-color-gray-800: 52, 58, 64;--spt-color-gray-900: 33, 37, 41;--spt-color-light: var(--spt-color-gray-100);--spt-color-dark: var(--spt-color-gray-800);--spt-color-green: 0, 121, 124;--spt-color-green-lighter: 20, 141, 144;--spt-color-green-lightest: 130, 231, 234;--spt-color-blue: 26, 101, 143;--spt-color-blue-lighter: 46, 121, 163;--spt-color-blue-lightest: 156, 191, 213;--spt-color-deep-blue: 1, 33, 105;--spt-color-green-highlight: 168, 199, 0;--pst-color-primary: var(--spt-color-blue) !important;--pst-color-primary-hover: var(--spt-color-blue-lighter) !important;--pst-color-secondary: var(--spt-color-blue-lightest) !important;--pst-color-link: #1a648f !important;--pst-color-link-hover: #9cbfd5 !important;--pst-color-headerlink: var(--spt-color-gray-300) !important;--pst-color-headerlink-hover: var(--spt-color-gray-100)!important;--pst-color-text-muted: #6c757d !important;--tabs-size-label: 0.8rem !important;--tabs-color-label-active: rgba(var(--pst-color-primary), 1) !important;--tabs-color-label-inactive: rgba(var(--spt-color-blue-lightest), 1) !important -}body{font-family:var(--spt-font-body),sans-serif}html{scroll-behavior:smooth;scroll-padding-top:128px}.admonition.alert-info,div.admonition.alert-info{border-color:#0c5460 !important}.admonition.alert-info .admonition-title::before,div.admonition.alert-info .admonition-title::before{color:#0c5460 !important}.admonition.alert-success,div.admonition.alert-success{border-color:#155724 !important}.admonition.alert-success .admonition-title::before,div.admonition.alert-success .admonition-title::before{color:#155724 !important}.admonition.alert-warning,div.admonition.alert-warning{border-color:#856404 !important}.admonition.alert-warning .admonition-title::before,div.admonition.alert-warning .admonition-title::before{color:#856404 !important}.admonition.alert-danger,div.admonition.alert-danger{border-color:#721c24 !important}.admonition.alert-danger .admonition-title::before,div.admonition.alert-danger .admonition-title::before{color:#721c24 !important}.bg-primary{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary{background-color:rgba(var(--pst-color-primary), 1) !important;border-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary:hover{background-color:rgba(var(--pst-color-primary-hover), 1) !important;color:white !important}.btn-outline-primary{border-color:rgba(var(--pst-color-primary), 1) !important;color:rgba(var(--pst-color-primary), 1) !important}.btn-outline-primary:hover,.show>.btn-outline-primary.dropdown-toggle{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-link{color:rgba(var(--pst-color-primary), 1) !important}.display-1{font-size:5rem !important}.display-2{font-size:3rem !important}.display-3{font-size:2rem !important}.display-4{font-size:1.6667rem !important}.display-5{font-size:1.3333rem !important}.display-6{font-size:1rem !important}.form-control:focus{outline:none !important;box-shadow:none !important}.navbar-brand{padding:.75rem 0 !important}.row{margin-left:0 !important;margin-right:0 !important}a.badge{text-decoration:none !important}a.navbar-brand img{vertical-align:middle !important}body>div.container-fluid,body>div.container-xl{padding-right:0;padding-left:0}i.fab,i.far,i.fas{font-size:70%}a.headerlink i.fab,a.headerlink i.far,a.headerlink i.fas{position:absolute;top:50%;transform:translateY(-50%)}a.headerlink{position:relative;text-decoration:none;font-size:unset !important;padding:0 0.7rem !important}a.headerlink:hover{color:rgba(var(--spt-color-gray-500), 1);background-color:transparent}div.highlight pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.bd-sidebar .nav li>a{padding-top:0.1rem;padding-bottom:0.1rem}.bd-toc nav>.nav{border-left:1px solid #eee;border-bottom:1px solid #eee;border-radius:0 0 0 6px;padding-bottom:0.5em}.prev-next-area{margin:2rem auto 0 auto;border-top:1px solid rgba(var(--spt-color-gray-300), 1);max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}.prev-next-area i{font-size:1.1rem;color:rgba(var(--spt-color-gray-600), 1)}.prev-next-area a p.prev-next-title{font-size:1rem;font-weight:600;color:rgba(var(--spt-color-gray-600), 1)}#banner{margin-top:var(--pst-header-height) !important}#site-navigation{top:var(--pst-header-height) !important;height:calc(100vh - var(--pst-header-height)) !important;padding-top:0}#main-content{min-height:calc(100vh - var(--pst-header-height))}.topbar{top:var(--pst-header-height) !important;padding:0 !important}.topbar-main button:focus{outline:none !important}.cell .cell_input,.cell .cell_output{padding:0 !important}.cell .cell_input{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;border-left-color:rgba(var(--pst-color-primary), 1) !important;border-left-width:medium !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_input pre{border:none !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_output{border:none !important}.cell .cell_output pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.tabbed-content{box-shadow:0 -0.0625rem var(--tabs-color-overline) !important;padding-bottom:0 !important}.tabbed-set>label{padding:0 1rem !important;margin:0 !important}.thebe-launch-button{height:2.2em !important;font-size:.8em !important;border:1px solid rgba(var(--spt-color-gray-600), 1) !important;border-radius:4px !important;color:rgba(var(--spt-color-gray-600), 1)}#shim{padding:0;margin-top:var(--pst-header-height)}#navbar-main{z-index:5000;padding-left:15px;padding-right:15px}#navbar-main .container-xl{padding:0}.bd-header{background:#343a40 !important}#navbar-icon-links i:before{color:var(--spt-color-light) !important}main.standalone-main{padding:0 !important;background-color:white}main.standalone-main div.sectionwrapper-1,main.standalone-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1)}main.standalone-main div.section-1,main.standalone-main div.section-2{position:relative;padding-top:1rem;padding-bottom:1rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h2,main.standalone-main div.section-1 .h2,main.standalone-main div.section-1 h1,main.standalone-main div.section-1 .h1,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h2,main.standalone-main div.section-2 .h2,main.standalone-main div.section-2 h1,main.standalone-main div.section-2 .h1{margin-top:0;margin-bottom:0.5rem}main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6{padding:1rem 0}main.standalone-main div.section-title-wrapper{display:flex;justify-content:flex-start}main.standalone-main div.section-title{padding:0 4rem 0.1rem 0;margin:0 0 1.6rem 0;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main{padding:0 !important}main.banner-main #main-content{padding:0 !important}main.banner-main div.sectionwrapper-1{position:relative;background-size:cover;background-position:center center;color:rgba(var(--spt-color-light), 1);background-color:rgba(var(--spt-color-gray-700), 1)}main.banner-main div.sectionwrapper-1 div.section-banner-caption{position:absolute;right:0;bottom:0;font-size:0.8rem;opacity:0.6;padding-right:0.5rem}main.banner-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1);background-color:rgba(var(--spt-color-light), 1)}main.banner-main div.sectionwrapper-2:nth-child(even){background-color:rgba(var(--spt-color-gray-300), 1)}main.banner-main div.section-1,main.banner-main div.section-2{position:relative;padding-top:7rem;padding-bottom:7rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.banner-main div.section-1 h3,main.banner-main div.section-1 h4,main.banner-main div.section-1 h5,main.banner-main div.section-1 h6,main.banner-main div.section-2 h3,main.banner-main div.section-2 h4,main.banner-main div.section-2 h5,main.banner-main div.section-2 h6{padding:2rem 0 1rem 0;text-align:center}main.banner-main div.section-title-wrapper{display:flex;justify-content:center}main.banner-main div.section-title{padding:0 4rem 1rem 4rem;margin-bottom:3rem;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main p{font-size:1.25rem;font-weight:300}main.banner-main div.section.dark-banner h1,main.banner-main div.section.dark-banner h2,main.banner-main div.section.dark-banner h3,main.banner-main div.section.dark-banner h4,main.banner-main div.section.dark-banner h5,main.banner-main div.section.dark-banner h6{color:var(--spt-color-light) !important}main.banner-main div.section.dark-banner p{color:var(--spt-color-light) !important}.bd-main .bd-content .bd-article-container{max-width:100%}.bd-page-width{max-width:85%}.bd-footer{color:rgba(var(--spt-color-light), 1);font-size:0.8rem;font-family:var(--spt-font-footnote);padding:0}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6,.bd-footer p,.bd-footer a{color:rgba(var(--spt-color-light), 1);font-family:var(--spt-font-footnote)}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6{font-size:1rem;margin-bottom:5px}.bd-footer p{font-size:0.8rem}.bd-footer .footer-logos{background-color:rgba(var(--spt-color-gray-200), 1)}.bd-footer .footer-info,.bd-footer .footer-menu{color:rgba(var(--spt-color-gray-400), 1);background-color:rgba(var(--spt-color-dark), 1);padding-top:0.4rem;padding-bottom:0.4rem}.bd-footer .footer-info li,.bd-footer .footer-menu li{line-height:1rem;margin-bottom:5px}.bd-footer .footer-extra{background-color:rgba(var(--spt-color-gray-700), 1);padding-top:1rem;padding-bottom:1rem}.bd-footer .footer-extra img{height:60px}.iframe,.iframe-4x3,.iframe-16x9{position:relative;height:0;width:75%;margin-bottom:1rem;margin-left:auto;margin-right:auto}.iframe iframe,.iframe-4x3 iframe,.iframe-16x9 iframe{border:0;position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%}.iframe-16x9{padding-bottom:calc(0.75 * 56.25%)}.iframe-4x3{padding-bottom:calc(0.75 * 75%)}.sd-btn-primary,.sd-btn-outline-primary:hover,.sd-btn-outline-primary:focus{color:#0a7d91 !important}@media (prefers-color-scheme: dark){p{color:black}}html[data-theme="dark"] p{color:white}html[data-theme="dark"] .section-title{color:white}html[data-theme="dark"] h1.display-1{color:white}html[data-theme="dark"] h2.display-2{color:white}html[data-theme="dark"] h3.display-3{color:white}html[data-theme="dark"] main.banner-main div.sectionwrapper-2:nth-child(even){background-color:#495057}html[data-theme="dark"] main.banner-main div.sectionwrapper-2{background-color:black}html[data-theme="dark"] .container-fluid{background-color:black}html[data-theme="dark"] .sd-btn-primary,.sd-btn-outline-primary:hover,.sd-btn-outline-primary:focus{color:#0a7d91 !important}html[data-theme="dark"] .btn{--bs-btn-color: white}html[data-theme="dark"] .search-button{color:white}html[data-theme="dark"] .nav-link{color:white}html[data-theme="dark"] .highlight .c{color:#797129}html[data-theme="dark"] .highlight .c1{color:#797129}html[data-theme="dark"] .highlight .cp{color:#797129}html[data-theme="dark"] .highlight .k{color:#7928a1}html[data-theme="dark"] .highlight .kc{color:#7928a1}html[data-theme="dark"] .highlight .kn{color:#7928a1}html[data-theme="dark"] .highlight .l{color:#797129}html[data-theme="dark"] .highlight .m{color:#797129}html[data-theme="dark"] .highlight .mf{color:#797129}html[data-theme="dark"] .highlight .mi{color:#797129}html[data-theme="dark"] .highlight .n{color:#545454}html[data-theme="dark"] .highlight .nb{color:#797129}html[data-theme=dark] .highlight .nc{color:#0078a1 !important}html[data-theme="dark"] .highlight .nd{color:#797129}html[data-theme=dark] .highlight .nf{color:#0078a1 !important}html[data-theme="dark"] .highlight .nn{color:#545454}html[data-theme="dark"] .highlight .nt{color:#007faa}html[data-theme="dark"] .highlight .o{color:#008000}html[data-theme="dark"] .highlight .ow{color:#7928a1}html[data-theme="dark"] .highlight .p{color:#545454}html[data-theme="dark"] .highlight .s{color:#008000}html[data-theme="dark"] .highlight .sa{color:#008000}html[data-theme="dark"] .highlight .sd{color:#008000}html[data-theme="dark"] .highlight .se{color:#008000}html[data-theme="dark"] .highlight .si{color:#008000}html[data-theme="dark"] .highlight .s1{color:#008000}html[data-theme="dark"] .highlight .s2{color:#008000}html[data-theme="dark"] .highlight pre{color:black}html[data-theme="dark"] span.collapsed{color:black}html[data-theme="dark"] .output.text_html table thead tr{background-color:white}html[data-theme="dark"] .output.text_html table tbody tr:nth-child(2n){background-color:white} +}body{font-family:var(--spt-font-body),sans-serif}html{scroll-behavior:smooth;scroll-padding-top:128px}.admonition.alert-info,div.admonition.alert-info{border-color:#0c5460 !important}.admonition.alert-info .admonition-title::before,div.admonition.alert-info .admonition-title::before{color:#0c5460 !important}.admonition.alert-success,div.admonition.alert-success{border-color:#155724 !important}.admonition.alert-success .admonition-title::before,div.admonition.alert-success .admonition-title::before{color:#155724 !important}.admonition.alert-warning,div.admonition.alert-warning{border-color:#856404 !important}.admonition.alert-warning .admonition-title::before,div.admonition.alert-warning .admonition-title::before{color:#856404 !important}.admonition.alert-danger,div.admonition.alert-danger{border-color:#721c24 !important}.admonition.alert-danger .admonition-title::before,div.admonition.alert-danger .admonition-title::before{color:#721c24 !important}.bg-primary{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary{background-color:rgba(var(--pst-color-primary), 1) !important;border-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary:hover{background-color:rgba(var(--pst-color-primary-hover), 1) !important;color:white !important}.btn-outline-primary{border-color:rgba(var(--pst-color-primary), 1) !important;color:rgba(var(--pst-color-primary), 1) !important}.btn-outline-primary:hover,.show>.btn-outline-primary.dropdown-toggle{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-link{color:rgba(var(--pst-color-primary), 1) !important}.display-1{font-size:5rem !important}.display-2{font-size:3rem !important}.display-3{font-size:2rem !important}.display-4{font-size:1.6667rem !important}.display-5{font-size:1.3333rem !important}.display-6{font-size:1rem !important}.form-control:focus{outline:none !important;box-shadow:none !important}.navbar-brand{padding:.75rem 0 !important}.row{margin-left:0 !important;margin-right:0 !important}a.badge{text-decoration:none !important}a.navbar-brand img{vertical-align:middle !important}body>div.container-fluid,body>div.container-xl{padding-right:0;padding-left:0}i.fab,i.far,i.fas{font-size:70%}a.headerlink i.fab,a.headerlink i.far,a.headerlink i.fas{position:absolute;top:50%;transform:translateY(-50%)}a.headerlink{position:relative;text-decoration:none;font-size:unset !important;padding:0 0.7rem !important}a.headerlink:hover{color:rgba(var(--spt-color-gray-500), 1);background-color:transparent}div.highlight pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.bd-sidebar .nav li>a{padding-top:0.1rem;padding-bottom:0.1rem}.bd-toc nav>.nav{border-left:1px solid #eee;border-bottom:1px solid #eee;border-radius:0 0 0 6px;padding-bottom:0.5em}.prev-next-area{margin:2rem auto 0 auto;border-top:1px solid rgba(var(--spt-color-gray-300), 1);max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}.prev-next-area i{font-size:1.1rem;color:rgba(var(--spt-color-gray-600), 1)}.prev-next-area a p.prev-next-title{font-size:1rem;font-weight:600;color:rgba(var(--spt-color-gray-600), 1)}#banner{margin-top:var(--pst-header-height) !important}#site-navigation{top:var(--pst-header-height) !important;height:calc(100vh - var(--pst-header-height)) !important;padding-top:0}#main-content{min-height:calc(100vh - var(--pst-header-height))}.topbar{top:var(--pst-header-height) !important;padding:0 !important}.topbar-main button:focus{outline:none !important}.cell .cell_input,.cell .cell_output{padding:0 !important}.cell .cell_input{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;border-left-color:rgba(var(--pst-color-primary), 1) !important;border-left-width:medium !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_input pre{border:none !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_output{border:none !important}.cell .cell_output pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.tabbed-content{box-shadow:0 -0.0625rem var(--tabs-color-overline) !important;padding-bottom:0 !important}.tabbed-set>label{padding:0 1rem !important;margin:0 !important}.thebe-launch-button{height:2.2em !important;font-size:.8em !important;border:1px solid rgba(var(--spt-color-gray-600), 1) !important;border-radius:4px !important;color:rgba(var(--spt-color-gray-600), 1)}#shim{padding:0;margin-top:var(--pst-header-height)}#navbar-main{z-index:5000;padding-left:15px;padding-right:15px}#navbar-main .container-xl{padding:0}.bd-header{background:#343a40 !important}#navbar-icon-links i:before{color:var(--spt-color-light) !important}main.standalone-main{padding:0 !important;background-color:white}main.standalone-main div.sectionwrapper-1,main.standalone-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1)}main.standalone-main div.section-1,main.standalone-main div.section-2{position:relative;padding-top:1rem;padding-bottom:1rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h2,main.standalone-main div.section-1 .h2,main.standalone-main div.section-1 h1,main.standalone-main div.section-1 .h1,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h2,main.standalone-main div.section-2 .h2,main.standalone-main div.section-2 h1,main.standalone-main div.section-2 .h1{margin-top:0;margin-bottom:0.5rem}main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6{padding:1rem 0}main.standalone-main div.section-title-wrapper{display:flex;justify-content:flex-start}main.standalone-main div.section-title{padding:0 4rem 0.1rem 0;margin:0 0 1.6rem 0;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main{padding:0 !important}main.banner-main #main-content{padding:0 !important}main.banner-main div.sectionwrapper-1{position:relative;background-size:cover;background-position:center center;color:rgba(var(--spt-color-light), 1);background-color:rgba(var(--spt-color-gray-700), 1)}main.banner-main div.sectionwrapper-1 div.section-banner-caption{position:absolute;right:0;bottom:0;font-size:0.8rem;opacity:0.6;padding-right:0.5rem}main.banner-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1);background-color:rgba(var(--spt-color-light), 1)}main.banner-main div.sectionwrapper-2:nth-child(even){background-color:rgba(var(--spt-color-gray-300), 1)}main.banner-main div.section-1,main.banner-main div.section-2{position:relative;padding-top:7rem;padding-bottom:7rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.banner-main div.section-1 h3,main.banner-main div.section-1 h4,main.banner-main div.section-1 h5,main.banner-main div.section-1 h6,main.banner-main div.section-2 h3,main.banner-main div.section-2 h4,main.banner-main div.section-2 h5,main.banner-main div.section-2 h6{padding:2rem 0 1rem 0;text-align:center}main.banner-main div.section-title-wrapper{display:flex;justify-content:center}main.banner-main div.section-title{padding:0 4rem 1rem 4rem;margin-bottom:3rem;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main p{font-size:1.25rem;font-weight:300}main.banner-main div.section.dark-banner h1,main.banner-main div.section.dark-banner h2,main.banner-main div.section.dark-banner h3,main.banner-main div.section.dark-banner h4,main.banner-main div.section.dark-banner h5,main.banner-main div.section.dark-banner h6{color:var(--spt-color-light) !important}main.banner-main div.section.dark-banner p{color:var(--spt-color-light) !important}.bd-main .bd-content .bd-article-container{max-width:100%}.bd-page-width{max-width:85%}.bd-footer{color:rgba(var(--spt-color-light), 1);font-size:0.8rem;font-family:var(--spt-font-footnote);padding:0}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6,.bd-footer p,.bd-footer a{color:rgba(var(--spt-color-light), 1);font-family:var(--spt-font-footnote)}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6{font-size:1rem;margin-bottom:5px}.bd-footer p{font-size:0.8rem}.bd-footer .footer-logos{background-color:rgba(var(--spt-color-gray-200), 1)}.bd-footer .footer-info,.bd-footer .footer-menu{color:rgba(var(--spt-color-gray-400), 1);background-color:rgba(var(--spt-color-dark), 1);padding-top:0.4rem;padding-bottom:0.4rem}.bd-footer .footer-info li,.bd-footer .footer-menu li{line-height:1rem;margin-bottom:5px}.bd-footer .footer-extra{background-color:rgba(var(--spt-color-gray-700), 1);padding-top:1rem;padding-bottom:1rem}.bd-footer .footer-extra img{height:60px}.iframe,.iframe-4x3,.iframe-16x9{position:relative;height:0;width:75%;margin-bottom:1rem;margin-left:auto;margin-right:auto}.iframe iframe,.iframe-4x3 iframe,.iframe-16x9 iframe{border:0;position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%}.iframe-16x9{padding-bottom:calc(0.75 * 56.25%)}.iframe-4x3{padding-bottom:calc(0.75 * 75%)}.sd-btn-primary,.sd-btn-outline-primary:hover,.sd-btn-outline-primary:focus{color:#0a7d91 !important}@media (prefers-color-scheme: dark){p{color:black}}html[data-theme="dark"] p{color:white}html[data-theme="dark"] .section-title{color:white}html[data-theme="dark"] h1.display-1{color:white}html[data-theme="dark"] h2.display-2{color:white}html[data-theme="dark"] h3.display-3{color:white}html[data-theme="dark"] main.banner-main div.sectionwrapper-2:nth-child(even){background-color:#495057}html[data-theme="dark"] main.banner-main div.sectionwrapper-2{background-color:black}html[data-theme="dark"] .container-fluid{background-color:black}html[data-theme="dark"] .sd-btn-primary,.sd-btn-outline-primary:hover,.sd-btn-outline-primary:focus{color:#0a7d91 !important}html[data-theme="dark"] .btn{--bs-btn-color: white}html[data-theme="dark"] .search-button{color:white}html[data-theme="dark"] .nav-link{color:white}html[data-theme="dark"] .highlight .c{color:#797129}html[data-theme="dark"] .highlight .c1{color:#797129}html[data-theme="dark"] .highlight .cp{color:#797129}html[data-theme="dark"] .highlight .k{color:#7928a1}html[data-theme="dark"] .highlight .kc{color:#7928a1}html[data-theme="dark"] .highlight .kn{color:#7928a1}html[data-theme="dark"] .highlight .l{color:#797129}html[data-theme="dark"] .highlight .m{color:#797129}html[data-theme="dark"] .highlight .mf{color:#797129}html[data-theme="dark"] .highlight .mi{color:#797129}html[data-theme="dark"] .highlight .n{color:#545454}html[data-theme="dark"] .highlight .nb{color:#797129}html[data-theme=dark] .highlight .nc{color:#0078a1 !important}html[data-theme="dark"] .highlight .nd{color:#797129}html[data-theme=dark] .highlight .nf{color:#0078a1 !important}html[data-theme="dark"] .highlight .nn{color:#545454}html[data-theme="dark"] .highlight .nt{color:#007faa}html[data-theme="dark"] .highlight .o{color:#008000}html[data-theme="dark"] .highlight .ow{color:#7928a1}html[data-theme="dark"] .highlight .p{color:#545454}html[data-theme="dark"] .highlight .s{color:#008000}html[data-theme="dark"] .highlight .sa{color:#008000}html[data-theme="dark"] .highlight .sd{color:#008000}html[data-theme="dark"] .highlight .se{color:#008000}html[data-theme="dark"] .highlight .si{color:#008000}html[data-theme="dark"] .highlight .s1{color:#008000}html[data-theme="dark"] .highlight .s2{color:#008000}html[data-theme="dark"] .highlight pre{color:black}html[data-theme="dark"] summary{color:black}html[data-theme="dark"] svg.tb-icon.toggle-chevron-right{color:white}html[data-theme="dark"] span.toggle-details__summary-text{color:white}html[data-theme="dark"] .output.text_html table thead tr{background-color:white}html[data-theme="dark"] .output.text_html table tbody tr:nth-child(2n){background-color:white}html[data-theme="dark"] .output.text_html table.dataframe thead tr{background-color:#29313d}html[data-theme="dark"] .output.text_html table.dataframe tbody tr:nth-child(2n){background-color:#222832} diff --git a/src/scss/sphinx-pythia-theme.scss b/src/scss/sphinx-pythia-theme.scss index bd1caec..919af79 100644 --- a/src/scss/sphinx-pythia-theme.scss +++ b/src/scss/sphinx-pythia-theme.scss @@ -459,10 +459,18 @@ html[data-theme="dark"] .highlight pre { color: black; } -html[data-theme="dark"] span.collapsed { +html[data-theme="dark"] summary { color: black; } +html[data-theme="dark"] svg.tb-icon.toggle-chevron-right { + color: white +} + +html[data-theme="dark"] span.toggle-details__summary-text { + color: white +} + html[data-theme="dark"] .output.text_html table thead tr { background-color: white; } @@ -470,3 +478,11 @@ html[data-theme="dark"] .output.text_html table thead tr { html[data-theme="dark"] .output.text_html table tbody tr:nth-child(2n) { background-color: white; } + +html[data-theme="dark"] .output.text_html table.dataframe thead tr { + background-color: #29313d; +} + +html[data-theme="dark"] .output.text_html table.dataframe tbody tr:nth-child(2n) { + background-color: #222832; +} \ No newline at end of file From 9331e9931264f12767d3c982f2871886b3bccfb7 Mon Sep 17 00:00:00 2001 From: Julia Kent <46687291+jukent@users.noreply.github.com> Date: Tue, 4 Jun 2024 07:31:37 -0600 Subject: [PATCH 18/18] less aggressive black --- sphinx_pythia_theme/static/sphinx-pythia-theme.min.css | 2 +- src/scss/sphinx-pythia-theme.scss | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css b/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css index 8ddc5d4..0609200 100644 --- a/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css +++ b/sphinx_pythia_theme/static/sphinx-pythia-theme.min.css @@ -1,2 +1,2 @@ @import url(sphinx-book-theme.css);:root{--spt-font-body: 'Poppins';--spt-font-headings: 'Poppins';--spt-font-footnote: 'Cormorant';--spt-color-gray-100: 248, 249, 250;--spt-color-gray-200: 233, 236, 239;--spt-color-gray-300: 222, 226, 230;--spt-color-gray-400: 206, 212, 218;--spt-color-gray-500: 173, 181, 189;--spt-color-gray-600: 108, 117, 125;--spt-color-gray-700: 73, 80, 87;--spt-color-gray-800: 52, 58, 64;--spt-color-gray-900: 33, 37, 41;--spt-color-light: var(--spt-color-gray-100);--spt-color-dark: var(--spt-color-gray-800);--spt-color-green: 0, 121, 124;--spt-color-green-lighter: 20, 141, 144;--spt-color-green-lightest: 130, 231, 234;--spt-color-blue: 26, 101, 143;--spt-color-blue-lighter: 46, 121, 163;--spt-color-blue-lightest: 156, 191, 213;--spt-color-deep-blue: 1, 33, 105;--spt-color-green-highlight: 168, 199, 0;--pst-color-primary: var(--spt-color-blue) !important;--pst-color-primary-hover: var(--spt-color-blue-lighter) !important;--pst-color-secondary: var(--spt-color-blue-lightest) !important;--pst-color-link: #1a648f !important;--pst-color-link-hover: #9cbfd5 !important;--pst-color-headerlink: var(--spt-color-gray-300) !important;--pst-color-headerlink-hover: var(--spt-color-gray-100)!important;--pst-color-text-muted: #6c757d !important;--tabs-size-label: 0.8rem !important;--tabs-color-label-active: rgba(var(--pst-color-primary), 1) !important;--tabs-color-label-inactive: rgba(var(--spt-color-blue-lightest), 1) !important -}body{font-family:var(--spt-font-body),sans-serif}html{scroll-behavior:smooth;scroll-padding-top:128px}.admonition.alert-info,div.admonition.alert-info{border-color:#0c5460 !important}.admonition.alert-info .admonition-title::before,div.admonition.alert-info .admonition-title::before{color:#0c5460 !important}.admonition.alert-success,div.admonition.alert-success{border-color:#155724 !important}.admonition.alert-success .admonition-title::before,div.admonition.alert-success .admonition-title::before{color:#155724 !important}.admonition.alert-warning,div.admonition.alert-warning{border-color:#856404 !important}.admonition.alert-warning .admonition-title::before,div.admonition.alert-warning .admonition-title::before{color:#856404 !important}.admonition.alert-danger,div.admonition.alert-danger{border-color:#721c24 !important}.admonition.alert-danger .admonition-title::before,div.admonition.alert-danger .admonition-title::before{color:#721c24 !important}.bg-primary{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary{background-color:rgba(var(--pst-color-primary), 1) !important;border-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary:hover{background-color:rgba(var(--pst-color-primary-hover), 1) !important;color:white !important}.btn-outline-primary{border-color:rgba(var(--pst-color-primary), 1) !important;color:rgba(var(--pst-color-primary), 1) !important}.btn-outline-primary:hover,.show>.btn-outline-primary.dropdown-toggle{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-link{color:rgba(var(--pst-color-primary), 1) !important}.display-1{font-size:5rem !important}.display-2{font-size:3rem !important}.display-3{font-size:2rem !important}.display-4{font-size:1.6667rem !important}.display-5{font-size:1.3333rem !important}.display-6{font-size:1rem !important}.form-control:focus{outline:none !important;box-shadow:none !important}.navbar-brand{padding:.75rem 0 !important}.row{margin-left:0 !important;margin-right:0 !important}a.badge{text-decoration:none !important}a.navbar-brand img{vertical-align:middle !important}body>div.container-fluid,body>div.container-xl{padding-right:0;padding-left:0}i.fab,i.far,i.fas{font-size:70%}a.headerlink i.fab,a.headerlink i.far,a.headerlink i.fas{position:absolute;top:50%;transform:translateY(-50%)}a.headerlink{position:relative;text-decoration:none;font-size:unset !important;padding:0 0.7rem !important}a.headerlink:hover{color:rgba(var(--spt-color-gray-500), 1);background-color:transparent}div.highlight pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.bd-sidebar .nav li>a{padding-top:0.1rem;padding-bottom:0.1rem}.bd-toc nav>.nav{border-left:1px solid #eee;border-bottom:1px solid #eee;border-radius:0 0 0 6px;padding-bottom:0.5em}.prev-next-area{margin:2rem auto 0 auto;border-top:1px solid rgba(var(--spt-color-gray-300), 1);max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}.prev-next-area i{font-size:1.1rem;color:rgba(var(--spt-color-gray-600), 1)}.prev-next-area a p.prev-next-title{font-size:1rem;font-weight:600;color:rgba(var(--spt-color-gray-600), 1)}#banner{margin-top:var(--pst-header-height) !important}#site-navigation{top:var(--pst-header-height) !important;height:calc(100vh - var(--pst-header-height)) !important;padding-top:0}#main-content{min-height:calc(100vh - var(--pst-header-height))}.topbar{top:var(--pst-header-height) !important;padding:0 !important}.topbar-main button:focus{outline:none !important}.cell .cell_input,.cell .cell_output{padding:0 !important}.cell .cell_input{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;border-left-color:rgba(var(--pst-color-primary), 1) !important;border-left-width:medium !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_input pre{border:none !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_output{border:none !important}.cell .cell_output pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.tabbed-content{box-shadow:0 -0.0625rem var(--tabs-color-overline) !important;padding-bottom:0 !important}.tabbed-set>label{padding:0 1rem !important;margin:0 !important}.thebe-launch-button{height:2.2em !important;font-size:.8em !important;border:1px solid rgba(var(--spt-color-gray-600), 1) !important;border-radius:4px !important;color:rgba(var(--spt-color-gray-600), 1)}#shim{padding:0;margin-top:var(--pst-header-height)}#navbar-main{z-index:5000;padding-left:15px;padding-right:15px}#navbar-main .container-xl{padding:0}.bd-header{background:#343a40 !important}#navbar-icon-links i:before{color:var(--spt-color-light) !important}main.standalone-main{padding:0 !important;background-color:white}main.standalone-main div.sectionwrapper-1,main.standalone-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1)}main.standalone-main div.section-1,main.standalone-main div.section-2{position:relative;padding-top:1rem;padding-bottom:1rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h2,main.standalone-main div.section-1 .h2,main.standalone-main div.section-1 h1,main.standalone-main div.section-1 .h1,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h2,main.standalone-main div.section-2 .h2,main.standalone-main div.section-2 h1,main.standalone-main div.section-2 .h1{margin-top:0;margin-bottom:0.5rem}main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6{padding:1rem 0}main.standalone-main div.section-title-wrapper{display:flex;justify-content:flex-start}main.standalone-main div.section-title{padding:0 4rem 0.1rem 0;margin:0 0 1.6rem 0;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main{padding:0 !important}main.banner-main #main-content{padding:0 !important}main.banner-main div.sectionwrapper-1{position:relative;background-size:cover;background-position:center center;color:rgba(var(--spt-color-light), 1);background-color:rgba(var(--spt-color-gray-700), 1)}main.banner-main div.sectionwrapper-1 div.section-banner-caption{position:absolute;right:0;bottom:0;font-size:0.8rem;opacity:0.6;padding-right:0.5rem}main.banner-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1);background-color:rgba(var(--spt-color-light), 1)}main.banner-main div.sectionwrapper-2:nth-child(even){background-color:rgba(var(--spt-color-gray-300), 1)}main.banner-main div.section-1,main.banner-main div.section-2{position:relative;padding-top:7rem;padding-bottom:7rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.banner-main div.section-1 h3,main.banner-main div.section-1 h4,main.banner-main div.section-1 h5,main.banner-main div.section-1 h6,main.banner-main div.section-2 h3,main.banner-main div.section-2 h4,main.banner-main div.section-2 h5,main.banner-main div.section-2 h6{padding:2rem 0 1rem 0;text-align:center}main.banner-main div.section-title-wrapper{display:flex;justify-content:center}main.banner-main div.section-title{padding:0 4rem 1rem 4rem;margin-bottom:3rem;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main p{font-size:1.25rem;font-weight:300}main.banner-main div.section.dark-banner h1,main.banner-main div.section.dark-banner h2,main.banner-main div.section.dark-banner h3,main.banner-main div.section.dark-banner h4,main.banner-main div.section.dark-banner h5,main.banner-main div.section.dark-banner h6{color:var(--spt-color-light) !important}main.banner-main div.section.dark-banner p{color:var(--spt-color-light) !important}.bd-main .bd-content .bd-article-container{max-width:100%}.bd-page-width{max-width:85%}.bd-footer{color:rgba(var(--spt-color-light), 1);font-size:0.8rem;font-family:var(--spt-font-footnote);padding:0}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6,.bd-footer p,.bd-footer a{color:rgba(var(--spt-color-light), 1);font-family:var(--spt-font-footnote)}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6{font-size:1rem;margin-bottom:5px}.bd-footer p{font-size:0.8rem}.bd-footer .footer-logos{background-color:rgba(var(--spt-color-gray-200), 1)}.bd-footer .footer-info,.bd-footer .footer-menu{color:rgba(var(--spt-color-gray-400), 1);background-color:rgba(var(--spt-color-dark), 1);padding-top:0.4rem;padding-bottom:0.4rem}.bd-footer .footer-info li,.bd-footer .footer-menu li{line-height:1rem;margin-bottom:5px}.bd-footer .footer-extra{background-color:rgba(var(--spt-color-gray-700), 1);padding-top:1rem;padding-bottom:1rem}.bd-footer .footer-extra img{height:60px}.iframe,.iframe-4x3,.iframe-16x9{position:relative;height:0;width:75%;margin-bottom:1rem;margin-left:auto;margin-right:auto}.iframe iframe,.iframe-4x3 iframe,.iframe-16x9 iframe{border:0;position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%}.iframe-16x9{padding-bottom:calc(0.75 * 56.25%)}.iframe-4x3{padding-bottom:calc(0.75 * 75%)}.sd-btn-primary,.sd-btn-outline-primary:hover,.sd-btn-outline-primary:focus{color:#0a7d91 !important}@media (prefers-color-scheme: dark){p{color:black}}html[data-theme="dark"] p{color:white}html[data-theme="dark"] .section-title{color:white}html[data-theme="dark"] h1.display-1{color:white}html[data-theme="dark"] h2.display-2{color:white}html[data-theme="dark"] h3.display-3{color:white}html[data-theme="dark"] main.banner-main div.sectionwrapper-2:nth-child(even){background-color:#495057}html[data-theme="dark"] main.banner-main div.sectionwrapper-2{background-color:black}html[data-theme="dark"] .container-fluid{background-color:black}html[data-theme="dark"] .sd-btn-primary,.sd-btn-outline-primary:hover,.sd-btn-outline-primary:focus{color:#0a7d91 !important}html[data-theme="dark"] .btn{--bs-btn-color: white}html[data-theme="dark"] .search-button{color:white}html[data-theme="dark"] .nav-link{color:white}html[data-theme="dark"] .highlight .c{color:#797129}html[data-theme="dark"] .highlight .c1{color:#797129}html[data-theme="dark"] .highlight .cp{color:#797129}html[data-theme="dark"] .highlight .k{color:#7928a1}html[data-theme="dark"] .highlight .kc{color:#7928a1}html[data-theme="dark"] .highlight .kn{color:#7928a1}html[data-theme="dark"] .highlight .l{color:#797129}html[data-theme="dark"] .highlight .m{color:#797129}html[data-theme="dark"] .highlight .mf{color:#797129}html[data-theme="dark"] .highlight .mi{color:#797129}html[data-theme="dark"] .highlight .n{color:#545454}html[data-theme="dark"] .highlight .nb{color:#797129}html[data-theme=dark] .highlight .nc{color:#0078a1 !important}html[data-theme="dark"] .highlight .nd{color:#797129}html[data-theme=dark] .highlight .nf{color:#0078a1 !important}html[data-theme="dark"] .highlight .nn{color:#545454}html[data-theme="dark"] .highlight .nt{color:#007faa}html[data-theme="dark"] .highlight .o{color:#008000}html[data-theme="dark"] .highlight .ow{color:#7928a1}html[data-theme="dark"] .highlight .p{color:#545454}html[data-theme="dark"] .highlight .s{color:#008000}html[data-theme="dark"] .highlight .sa{color:#008000}html[data-theme="dark"] .highlight .sd{color:#008000}html[data-theme="dark"] .highlight .se{color:#008000}html[data-theme="dark"] .highlight .si{color:#008000}html[data-theme="dark"] .highlight .s1{color:#008000}html[data-theme="dark"] .highlight .s2{color:#008000}html[data-theme="dark"] .highlight pre{color:black}html[data-theme="dark"] summary{color:black}html[data-theme="dark"] svg.tb-icon.toggle-chevron-right{color:white}html[data-theme="dark"] span.toggle-details__summary-text{color:white}html[data-theme="dark"] .output.text_html table thead tr{background-color:white}html[data-theme="dark"] .output.text_html table tbody tr:nth-child(2n){background-color:white}html[data-theme="dark"] .output.text_html table.dataframe thead tr{background-color:#29313d}html[data-theme="dark"] .output.text_html table.dataframe tbody tr:nth-child(2n){background-color:#222832} +}body{font-family:var(--spt-font-body),sans-serif}html{scroll-behavior:smooth;scroll-padding-top:128px}.admonition.alert-info,div.admonition.alert-info{border-color:#0c5460 !important}.admonition.alert-info .admonition-title::before,div.admonition.alert-info .admonition-title::before{color:#0c5460 !important}.admonition.alert-success,div.admonition.alert-success{border-color:#155724 !important}.admonition.alert-success .admonition-title::before,div.admonition.alert-success .admonition-title::before{color:#155724 !important}.admonition.alert-warning,div.admonition.alert-warning{border-color:#856404 !important}.admonition.alert-warning .admonition-title::before,div.admonition.alert-warning .admonition-title::before{color:#856404 !important}.admonition.alert-danger,div.admonition.alert-danger{border-color:#721c24 !important}.admonition.alert-danger .admonition-title::before,div.admonition.alert-danger .admonition-title::before{color:#721c24 !important}.bg-primary{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary{background-color:rgba(var(--pst-color-primary), 1) !important;border-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-primary:hover{background-color:rgba(var(--pst-color-primary-hover), 1) !important;color:white !important}.btn-outline-primary{border-color:rgba(var(--pst-color-primary), 1) !important;color:rgba(var(--pst-color-primary), 1) !important}.btn-outline-primary:hover,.show>.btn-outline-primary.dropdown-toggle{background-color:rgba(var(--pst-color-primary), 1) !important;color:white !important}.btn-link{color:rgba(var(--pst-color-primary), 1) !important}.display-1{font-size:5rem !important}.display-2{font-size:3rem !important}.display-3{font-size:2rem !important}.display-4{font-size:1.6667rem !important}.display-5{font-size:1.3333rem !important}.display-6{font-size:1rem !important}.form-control:focus{outline:none !important;box-shadow:none !important}.navbar-brand{padding:.75rem 0 !important}.row{margin-left:0 !important;margin-right:0 !important}a.badge{text-decoration:none !important}a.navbar-brand img{vertical-align:middle !important}body>div.container-fluid,body>div.container-xl{padding-right:0;padding-left:0}i.fab,i.far,i.fas{font-size:70%}a.headerlink i.fab,a.headerlink i.far,a.headerlink i.fas{position:absolute;top:50%;transform:translateY(-50%)}a.headerlink{position:relative;text-decoration:none;font-size:unset !important;padding:0 0.7rem !important}a.headerlink:hover{color:rgba(var(--spt-color-gray-500), 1);background-color:transparent}div.highlight pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.bd-sidebar .nav li>a{padding-top:0.1rem;padding-bottom:0.1rem}.bd-toc nav>.nav{border-left:1px solid #eee;border-bottom:1px solid #eee;border-radius:0 0 0 6px;padding-bottom:0.5em}.prev-next-area{margin:2rem auto 0 auto;border-top:1px solid rgba(var(--spt-color-gray-300), 1);max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}.prev-next-area i{font-size:1.1rem;color:rgba(var(--spt-color-gray-600), 1)}.prev-next-area a p.prev-next-title{font-size:1rem;font-weight:600;color:rgba(var(--spt-color-gray-600), 1)}#banner{margin-top:var(--pst-header-height) !important}#site-navigation{top:var(--pst-header-height) !important;height:calc(100vh - var(--pst-header-height)) !important;padding-top:0}#main-content{min-height:calc(100vh - var(--pst-header-height))}.topbar{top:var(--pst-header-height) !important;padding:0 !important}.topbar-main button:focus{outline:none !important}.cell .cell_input,.cell .cell_output{padding:0 !important}.cell .cell_input{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;border-left-color:rgba(var(--pst-color-primary), 1) !important;border-left-width:medium !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_input pre{border:none !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.cell .cell_output{border:none !important}.cell .cell_output pre{border:1px solid rgba(var(--spt-color-gray-300), 1) !important;border-radius:4px !important;background-color:rgba(var(--spt-color-gray-200), 1) !important}.tabbed-content{box-shadow:0 -0.0625rem var(--tabs-color-overline) !important;padding-bottom:0 !important}.tabbed-set>label{padding:0 1rem !important;margin:0 !important}.thebe-launch-button{height:2.2em !important;font-size:.8em !important;border:1px solid rgba(var(--spt-color-gray-600), 1) !important;border-radius:4px !important;color:rgba(var(--spt-color-gray-600), 1)}#shim{padding:0;margin-top:var(--pst-header-height)}#navbar-main{z-index:5000;padding-left:15px;padding-right:15px}#navbar-main .container-xl{padding:0}.bd-header{background:#343a40 !important}#navbar-icon-links i:before{color:var(--spt-color-light) !important}main.standalone-main{padding:0 !important;background-color:white}main.standalone-main div.sectionwrapper-1,main.standalone-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1)}main.standalone-main div.section-1,main.standalone-main div.section-2{position:relative;padding-top:1rem;padding-bottom:1rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h2,main.standalone-main div.section-1 .h2,main.standalone-main div.section-1 h1,main.standalone-main div.section-1 .h1,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h2,main.standalone-main div.section-2 .h2,main.standalone-main div.section-2 h1,main.standalone-main div.section-2 .h1{margin-top:0;margin-bottom:0.5rem}main.standalone-main div.section-1 h3,main.standalone-main div.section-1 .h3,main.standalone-main div.section-1 h4,main.standalone-main div.section-1 .h4,main.standalone-main div.section-1 h5,main.standalone-main div.section-1 .h5,main.standalone-main div.section-1 h6,main.standalone-main div.section-1 .h6,main.standalone-main div.section-2 h3,main.standalone-main div.section-2 .h3,main.standalone-main div.section-2 h4,main.standalone-main div.section-2 .h4,main.standalone-main div.section-2 h5,main.standalone-main div.section-2 .h5,main.standalone-main div.section-2 h6,main.standalone-main div.section-2 .h6{padding:1rem 0}main.standalone-main div.section-title-wrapper{display:flex;justify-content:flex-start}main.standalone-main div.section-title{padding:0 4rem 0.1rem 0;margin:0 0 1.6rem 0;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main{padding:0 !important}main.banner-main #main-content{padding:0 !important}main.banner-main div.sectionwrapper-1{position:relative;background-size:cover;background-position:center center;color:rgba(var(--spt-color-light), 1);background-color:rgba(var(--spt-color-gray-700), 1)}main.banner-main div.sectionwrapper-1 div.section-banner-caption{position:absolute;right:0;bottom:0;font-size:0.8rem;opacity:0.6;padding-right:0.5rem}main.banner-main div.sectionwrapper-2{color:rgba(var(--spt-color-dark), 1);background-color:rgba(var(--spt-color-light), 1)}main.banner-main div.sectionwrapper-2:nth-child(even){background-color:rgba(var(--spt-color-gray-300), 1)}main.banner-main div.section-1,main.banner-main div.section-2{position:relative;padding-top:7rem;padding-bottom:7rem;max-width:calc(0.5 * (var(--bs-breakpoint-md) + var(--bs-breakpoint-lg)))}main.banner-main div.section-1 h3,main.banner-main div.section-1 h4,main.banner-main div.section-1 h5,main.banner-main div.section-1 h6,main.banner-main div.section-2 h3,main.banner-main div.section-2 h4,main.banner-main div.section-2 h5,main.banner-main div.section-2 h6{padding:2rem 0 1rem 0;text-align:center}main.banner-main div.section-title-wrapper{display:flex;justify-content:center}main.banner-main div.section-title{padding:0 4rem 1rem 4rem;margin-bottom:3rem;border-bottom:2px solid rgba(var(--spt-color-deep-blue), 1)}main.banner-main p{font-size:1.25rem;font-weight:300}main.banner-main div.section.dark-banner h1,main.banner-main div.section.dark-banner h2,main.banner-main div.section.dark-banner h3,main.banner-main div.section.dark-banner h4,main.banner-main div.section.dark-banner h5,main.banner-main div.section.dark-banner h6{color:var(--spt-color-light) !important}main.banner-main div.section.dark-banner p{color:var(--spt-color-light) !important}.bd-main .bd-content .bd-article-container{max-width:100%}.bd-page-width{max-width:85%}.bd-footer{color:rgba(var(--spt-color-light), 1);font-size:0.8rem;font-family:var(--spt-font-footnote);padding:0}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6,.bd-footer p,.bd-footer a{color:rgba(var(--spt-color-light), 1);font-family:var(--spt-font-footnote)}.bd-footer h1,.bd-footer h2,.bd-footer h3,.bd-footer h4,.bd-footer h5,.bd-footer h6{font-size:1rem;margin-bottom:5px}.bd-footer p{font-size:0.8rem}.bd-footer .footer-logos{background-color:rgba(var(--spt-color-gray-200), 1)}.bd-footer .footer-info,.bd-footer .footer-menu{color:rgba(var(--spt-color-gray-400), 1);background-color:rgba(var(--spt-color-dark), 1);padding-top:0.4rem;padding-bottom:0.4rem}.bd-footer .footer-info li,.bd-footer .footer-menu li{line-height:1rem;margin-bottom:5px}.bd-footer .footer-extra{background-color:rgba(var(--spt-color-gray-700), 1);padding-top:1rem;padding-bottom:1rem}.bd-footer .footer-extra img{height:60px}.iframe,.iframe-4x3,.iframe-16x9{position:relative;height:0;width:75%;margin-bottom:1rem;margin-left:auto;margin-right:auto}.iframe iframe,.iframe-4x3 iframe,.iframe-16x9 iframe{border:0;position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%}.iframe-16x9{padding-bottom:calc(0.75 * 56.25%)}.iframe-4x3{padding-bottom:calc(0.75 * 75%)}.sd-btn-primary,.sd-btn-outline-primary:hover,.sd-btn-outline-primary:focus{color:#0a7d91 !important}@media (prefers-color-scheme: dark){p{color:black}}html[data-theme="dark"] p{color:white}html[data-theme="dark"] .section-title{color:white}html[data-theme="dark"] h1.display-1{color:white}html[data-theme="dark"] h2.display-2{color:white}html[data-theme="dark"] h3.display-3{color:white}html[data-theme="dark"] main.banner-main div.sectionwrapper-2:nth-child(even){background-color:#495057}html[data-theme="dark"] main.banner-main div.sectionwrapper-2{background-color:#14181e}html[data-theme="dark"] .container-fluid{background-color:#14181e}html[data-theme="dark"] .sd-btn-primary,.sd-btn-outline-primary:hover,.sd-btn-outline-primary:focus{color:#0a7d91 !important}html[data-theme="dark"] .btn{--bs-btn-color: white}html[data-theme="dark"] .search-button{color:white}html[data-theme="dark"] .nav-link{color:white}html[data-theme="dark"] .highlight .c{color:#797129}html[data-theme="dark"] .highlight .c1{color:#797129}html[data-theme="dark"] .highlight .cp{color:#797129}html[data-theme="dark"] .highlight .k{color:#7928a1}html[data-theme="dark"] .highlight .kc{color:#7928a1}html[data-theme="dark"] .highlight .kn{color:#7928a1}html[data-theme="dark"] .highlight .l{color:#797129}html[data-theme="dark"] .highlight .m{color:#797129}html[data-theme="dark"] .highlight .mf{color:#797129}html[data-theme="dark"] .highlight .mi{color:#797129}html[data-theme="dark"] .highlight .n{color:#545454}html[data-theme="dark"] .highlight .nb{color:#797129}html[data-theme=dark] .highlight .nc{color:#0078a1 !important}html[data-theme="dark"] .highlight .nd{color:#797129}html[data-theme=dark] .highlight .nf{color:#0078a1 !important}html[data-theme="dark"] .highlight .nn{color:#545454}html[data-theme="dark"] .highlight .nt{color:#007faa}html[data-theme="dark"] .highlight .o{color:#008000}html[data-theme="dark"] .highlight .ow{color:#7928a1}html[data-theme="dark"] .highlight .p{color:#545454}html[data-theme="dark"] .highlight .s{color:#008000}html[data-theme="dark"] .highlight .sa{color:#008000}html[data-theme="dark"] .highlight .sd{color:#008000}html[data-theme="dark"] .highlight .se{color:#008000}html[data-theme="dark"] .highlight .si{color:#008000}html[data-theme="dark"] .highlight .s1{color:#008000}html[data-theme="dark"] .highlight .s2{color:#008000}html[data-theme="dark"] .highlight pre{color:black}html[data-theme="dark"] summary{color:black}html[data-theme="dark"] svg.tb-icon.toggle-chevron-right{color:white}html[data-theme="dark"] span.toggle-details__summary-text{color:white}html[data-theme="dark"] .output.text_html table thead tr{background-color:white}html[data-theme="dark"] .output.text_html table tbody tr:nth-child(2n){background-color:white}html[data-theme="dark"] .output.text_html table.dataframe thead tr{background-color:#29313d}html[data-theme="dark"] .output.text_html table.dataframe tbody tr:nth-child(2n){background-color:#222832} diff --git a/src/scss/sphinx-pythia-theme.scss b/src/scss/sphinx-pythia-theme.scss index 919af79..9c9bc23 100644 --- a/src/scss/sphinx-pythia-theme.scss +++ b/src/scss/sphinx-pythia-theme.scss @@ -324,11 +324,11 @@ html[data-theme="dark"] main.banner-main div.sectionwrapper-2:nth-child(even) { } html[data-theme="dark"] main.banner-main div.sectionwrapper-2 { - background-color: black + background-color: #14181e } html[data-theme="dark"] .container-fluid { - background-color: black; + background-color: #14181e; } html[data-theme="dark"] .sd-btn-primary, .sd-btn-outline-primary:hover, .sd-btn-outline-primary:focus {