From 098706ce7c671439e769531476257f199c7b83f0 Mon Sep 17 00:00:00 2001 From: Revathy Venugopal <104772255+Revathyvenugopal162@users.noreply.github.com> Date: Fri, 22 Nov 2024 10:06:40 +0100 Subject: [PATCH] fix: Sphinx button border and transparency style in docs (#1914) * fix: add border styles for button * fix: remove code transparency * fix: remove code and add primay button --- doc/source/_static/custom.css | 14 -------------- doc/source/operator_reference.rst | 2 +- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/doc/source/_static/custom.css b/doc/source/_static/custom.css index 1a7da734d7..c621c7b647 100644 --- a/doc/source/_static/custom.css +++ b/doc/source/_static/custom.css @@ -2,17 +2,3 @@ .wy-table-responsive table td, .wy-table-responsive table th { white-space: normal; } - - -.bd-content .sd-card .sd-card-body, .bd-content .sd-card .sd-card-footer { - background-color: transparent; -} - -.sd-card-text { - font-family: var(--pst-font-family-base); - font-size: var(--pst-font-size-base); -} - -.sd-sphinx-override .code { - background-color: var(--pst-color-surface); -} diff --git a/doc/source/operator_reference.rst b/doc/source/operator_reference.rst index c3a06fccae..d2d8b68455 100644 --- a/doc/source/operator_reference.rst +++ b/doc/source/operator_reference.rst @@ -26,7 +26,7 @@ Click below to access the operators documentation. +++ .. button-link:: OPEN - :color: secondary + :color: primary :expand: :outline: :click-parent: