From 38df8d1335ee85ccb19a85b90163a832ef45b356 Mon Sep 17 00:00:00 2001 From: ImanolUr Date: Thu, 15 Mar 2018 01:49:09 +0100 Subject: [PATCH 1/5] added style --- doc/source/themes/nature_with_gtoc/static/nature.css_t | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/source/themes/nature_with_gtoc/static/nature.css_t b/doc/source/themes/nature_with_gtoc/static/nature.css_t index b61068ee28bef..9476ca613b61c 100644 --- a/doc/source/themes/nature_with_gtoc/static/nature.css_t +++ b/doc/source/themes/nature_with_gtoc/static/nature.css_t @@ -201,6 +201,11 @@ div.body p, div.body dd, div.body li { div.admonition p.admonition-title + p { display: inline; } +git +div.deprecated { + background-color: #ffe4e4; + border: 1px solid #f66; +} div.highlight{ background-color: white; From 3408ba34f2a40c498f9a9b80f6603c96e87368fa Mon Sep 17 00:00:00 2001 From: ImanolUr Date: Thu, 15 Mar 2018 01:52:11 +0100 Subject: [PATCH 2/5] added style --- doc/source/themes/nature_with_gtoc/static/nature.css_t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/themes/nature_with_gtoc/static/nature.css_t b/doc/source/themes/nature_with_gtoc/static/nature.css_t index 9476ca613b61c..eda2682db1c1a 100644 --- a/doc/source/themes/nature_with_gtoc/static/nature.css_t +++ b/doc/source/themes/nature_with_gtoc/static/nature.css_t @@ -201,7 +201,7 @@ div.body p, div.body dd, div.body li { div.admonition p.admonition-title + p { display: inline; } -git + div.deprecated { background-color: #ffe4e4; border: 1px solid #f66; From d339d4315909f0689345e565be7e71cae8fcd089 Mon Sep 17 00:00:00 2001 From: ImanolUr Date: Thu, 15 Mar 2018 01:56:50 +0100 Subject: [PATCH 3/5] DOC added style as recommended in #20349 --- doc/source/themes/nature_with_gtoc/static/nature.css_t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/themes/nature_with_gtoc/static/nature.css_t b/doc/source/themes/nature_with_gtoc/static/nature.css_t index eda2682db1c1a..f0fb17c49e6ae 100644 --- a/doc/source/themes/nature_with_gtoc/static/nature.css_t +++ b/doc/source/themes/nature_with_gtoc/static/nature.css_t @@ -204,7 +204,7 @@ div.admonition p.admonition-title + p { div.deprecated { background-color: #ffe4e4; - border: 1px solid #f66; + border: 2px solid #f66; } div.highlight{ From 8ca08d1a5f12fc3a50788aa1b2c25867242be57a Mon Sep 17 00:00:00 2001 From: ImanolUr Date: Thu, 15 Mar 2018 01:56:56 +0100 Subject: [PATCH 4/5] DOC added style as recommended in #20349 --- doc/source/themes/nature_with_gtoc/static/nature.css_t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/themes/nature_with_gtoc/static/nature.css_t b/doc/source/themes/nature_with_gtoc/static/nature.css_t index f0fb17c49e6ae..eda2682db1c1a 100644 --- a/doc/source/themes/nature_with_gtoc/static/nature.css_t +++ b/doc/source/themes/nature_with_gtoc/static/nature.css_t @@ -204,7 +204,7 @@ div.admonition p.admonition-title + p { div.deprecated { background-color: #ffe4e4; - border: 2px solid #f66; + border: 1px solid #f66; } div.highlight{ From 13188ad3bf598aae70469b017832a271454e089c Mon Sep 17 00:00:00 2001 From: Imanflow Date: Thu, 22 Mar 2018 13:35:45 +0100 Subject: [PATCH 5/5] Added scikit-learn#8914 styles --- doc/source/themes/nature_with_gtoc/static/nature.css_t | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/source/themes/nature_with_gtoc/static/nature.css_t b/doc/source/themes/nature_with_gtoc/static/nature.css_t index eda2682db1c1a..4571d97ec50ba 100644 --- a/doc/source/themes/nature_with_gtoc/static/nature.css_t +++ b/doc/source/themes/nature_with_gtoc/static/nature.css_t @@ -198,11 +198,14 @@ div.body p, div.body dd, div.body li { line-height: 1.5em; } -div.admonition p.admonition-title + p { +div.admonition p.admonition-title + p, div.deprecated p { display: inline; } div.deprecated { + margin-bottom: 10px; + margin-top: 10px; + padding: 7px; background-color: #ffe4e4; border: 1px solid #f66; }