From cfb176aeca9c2b9c7bec35811fe2abcf53cd6f92 Mon Sep 17 00:00:00 2001 From: Sofiane HADDAD Date: Thu, 21 Mar 2024 11:52:19 +0100 Subject: [PATCH] Drop "note" in example --- doc/_static/custom.css | 11 +++++++++++ doc/themes/openturns/static/openturns.css_t | 5 +++++ 2 files changed, 16 insertions(+) diff --git a/doc/_static/custom.css b/doc/_static/custom.css index bc6f2e6..079014e 100644 --- a/doc/_static/custom.css +++ b/doc/_static/custom.css @@ -12,3 +12,14 @@ .toggle .header.open:after { content: " ▲"; } + +/* hide the top link */ +div.sphx-glr-download-link-note { + height: 0px; + visibility: hidden; + } + +/* Remove big whitespace to solve #1642 */ + pre, div[class*="highlight-"] { + clear: left; +} diff --git a/doc/themes/openturns/static/openturns.css_t b/doc/themes/openturns/static/openturns.css_t index fd8ab63..a59e16b 100644 --- a/doc/themes/openturns/static/openturns.css_t +++ b/doc/themes/openturns/static/openturns.css_t @@ -228,6 +228,11 @@ div.sphinxsidebar ul ul { list-style-image: url(listitem.png); } +div.sphx-glr-download-link-note { + height: 0px; + visibility: hidden; +} + /* -- footer --------------------------------------------------------------- */ div.footer {