From 84112f28b76dfe49026fab94f306e92935f69237 Mon Sep 17 00:00:00 2001 From: Marc Garcia Date: Fri, 16 Sep 2022 18:30:23 +0100 Subject: [PATCH] DOC: Fixing styles for the dark theme (#48572) --- doc/source/_static/css/getting_started.css | 7 +++---- doc/source/_static/css/pandas.css | 8 ++++++-- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/doc/source/_static/css/getting_started.css b/doc/source/_static/css/getting_started.css index 84eafa308175cf..2a348e5b84e6e7 100644 --- a/doc/source/_static/css/getting_started.css +++ b/doc/source/_static/css/getting_started.css @@ -154,7 +154,7 @@ ul.task-bullet > li > p:first-child { .comparison-card .card-footer { border: none; - background-color:white; + background-color: transparent; } .install-block { @@ -163,19 +163,18 @@ ul.task-bullet > li > p:first-child { .install-card .card-header { border: none; - background-color:white; + background-color: transparent; padding: 1rem 1rem 0rem 1rem; } .install-card .card-header p.card-text { - color: #150458; font-size: 1.1rem; font-weight: bold; } .install-card .card-footer { border: none; - background-color:white; + background-color: transparent; } .install-card pre { diff --git a/doc/source/_static/css/pandas.css b/doc/source/_static/css/pandas.css index 452c7d20ff5dff..25153b6a8ad5d1 100644 --- a/doc/source/_static/css/pandas.css +++ b/doc/source/_static/css/pandas.css @@ -25,7 +25,7 @@ .intro-card .card-header { border: none; - background-color:white; + background-color: transparent; color: #150458 !important; font-size: var(--pst-font-size-h5); font-weight: bold; @@ -34,7 +34,7 @@ .intro-card .card-footer { border: none; - background-color:white; + background-color: transparent; } .intro-card .card-footer p.card-text{ @@ -42,3 +42,7 @@ margin-left: auto; margin-right: auto; } + +.card, .card img { + background-color: transparent !important; +}