From 97644a173c1d2d0e0d8e7b32a62da1df7cd099c7 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Fri, 28 Jun 2024 21:08:38 -0400 Subject: [PATCH 1/3] Remove old dark mode image filter CSS This was merged into pydata-sphinx-theme 0.11, and we require 0.13. --- docs/_static/css/landing.css | 9 --------- 1 file changed, 9 deletions(-) diff --git a/docs/_static/css/landing.css b/docs/_static/css/landing.css index ac42a81..0eca876 100644 --- a/docs/_static/css/landing.css +++ b/docs/_static/css/landing.css @@ -64,15 +64,6 @@ --shadow: 0px 2px 2px rgba(0, 0, 0, 0.11); } -/* Remove the filter added by pydata-sphinx-theme. - * NOTE: Delete this CSS when using a pydata-sphinx-theme that contains - * https://github.com/pydata/pydata-sphinx-theme/pull/942 - * https://github.com/pydata/pydata-sphinx-theme/pull/914 - * */ -html[data-theme=dark] img.only-dark, html[data-theme=dark] img.dark-light { - filter: none; -} - /* callout boxes */ .callout { border-left: solid 1px var(--pst-color-border); From f7ed51a6848679bef2672b086e7af311ee4781d5 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Sat, 29 Jun 2024 03:17:11 -0400 Subject: [PATCH 2/3] Remove extraneous box-sizing CSS This is already done by `bootstrap.css`. --- docs/_static/css/landing.css | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/docs/_static/css/landing.css b/docs/_static/css/landing.css index 0eca876..a59e3cf 100644 --- a/docs/_static/css/landing.css +++ b/docs/_static/css/landing.css @@ -1,10 +1,4 @@ /* all icons from https://fontawesome.com/ */ -*, -*::before, -*::after { - box-sizing: border-box; -} - :root { /* START COLOR PALETTE */ @@ -54,7 +48,7 @@ --viridis-purple-invert: linear-gradient(180deg, #355f8d, #440154); --viridis-blue-vert: linear-gradient(180deg, #414487, #21908d); /* END BACKGROUND GRADIENTS */ - + /* FONTS */ --regular: 400; --bold: 700; From ffc402fc72325cc801262279aee884f8ec54055f Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Tue, 2 Jul 2024 20:53:49 -0400 Subject: [PATCH 3/3] Remove some unused CSS --- docs/_static/css/landing.css | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/docs/_static/css/landing.css b/docs/_static/css/landing.css index a59e3cf..1c11a8c 100644 --- a/docs/_static/css/landing.css +++ b/docs/_static/css/landing.css @@ -181,7 +181,7 @@ a.link--offsite::after { } @media (max-width: 700px) { - .quicklink-icon { + .quicklinks__icon { width: 60px; } .quicklinks a { @@ -212,10 +212,6 @@ a.link--offsite::after { margin: 1em 0 .5em; } -.news__item--highlight .title{ - margin: .5em 0 1em; -} - .date{ font-size: small; }