From 66d6f0773e2e3e7349ae19e3d15fa94dd21f5731 Mon Sep 17 00:00:00 2001 From: Adina Wagner Date: Tue, 3 Dec 2019 20:34:32 +0100 Subject: [PATCH 1/4] color notes and importants in almost-dl-orange boxes --- docs/conf.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index 8e68cfcb1..974647abc 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -280,6 +280,19 @@ \usepackage[defaultsans]{lato} \usepackage{inconsolata} \setcounter{tocdepth}{0} +\usepackage{xcolor} +\newsavebox\mytempbox +\definecolor{sphinxnoteBgColor}{RGB}{255, 193, 84} +\renewenvironment{sphinxnote}[1] + {\begin{lrbox}{\mytempbox}\begin{minipage}{\columnwidth}% + \begin{sphinxlightbox}\sphinxstrong{#1} } + {\end{sphinxlightbox}\end{minipage}\end{lrbox}% + \colorbox{sphinxnoteBgColor}{\usebox{\mytempbox}}} +\renewenvironment{sphinximportant}[2] + {\begin{lrbox}{\mytempbox}\begin{minipage}{\columnwidth}% + \begin{sphinxlightbox}\sphinxstrong{#1} } + {\end{sphinxlightbox}\end{minipage}\end{lrbox}% + \colorbox{sphinxnoteBgColor}{\usebox{\mytempbox}}} """, } From 84360d7c75795799b26b806ddc1c225e9a26d70d Mon Sep 17 00:00:00 2001 From: Adina Wagner Date: Wed, 4 Dec 2019 10:41:02 +0100 Subject: [PATCH 2/4] dl colors for findoutmore: orange in title, grey in border, standard grey background --- docs/_static/custom.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/_static/custom.css b/docs/_static/custom.css index f6ee1c2f3..733a2f182 100644 --- a/docs/_static/custom.css +++ b/docs/_static/custom.css @@ -7,7 +7,7 @@ /* force the arrow into the same line */ .toggle .header p {display: inline; } /*text color for fat text*/ -.toggle .header strong {color: #2980b9 } +.toggle .header strong {color: #ffa200 } .toggle .header:before { @@ -20,12 +20,12 @@ .toggle { display: block; - border: 1px solid #2980b9; + border: 1px solid #333333ff; padding-top: 10px; padding-left: 10px; padding-right: 10px; padding-bottom: 10px; - background: rgba(41,128,185,0.1); + background: #eee; } /* make TODOslook plain and stand out at the same time From 63d9b329f6feeffc2a0bd84163fb65e948a6baf9 Mon Sep 17 00:00:00 2001 From: Adina Wagner Date: Wed, 4 Dec 2019 10:41:32 +0100 Subject: [PATCH 3/4] git logo colors in gitusernote: red for border, bronze with high alpha in bg --- docs/_static/custom.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/_static/custom.css b/docs/_static/custom.css index 733a2f182..3d0fdc432 100644 --- a/docs/_static/custom.css +++ b/docs/_static/custom.css @@ -39,8 +39,9 @@ div.admonition-todo { * idea is to clearly set them apart from the normal * content, because they should be completely optional */ div.gitusernote { - background-color: #c3ebffff; - border: 1px solid #7fd4ffff; + background-color: rgba(62, 44, 0, 0.2); + border: 2px solid rgba(241, 80, 47, 1); + border-style: groove; } div.sphinxsidebar { From 1ff75213547501313fd717b049811f5d9b3e2cb8 Mon Sep 17 00:00:00 2001 From: Adina Wagner Date: Wed, 4 Dec 2019 11:04:38 +0100 Subject: [PATCH 4/4] dl-orange progress bar --- docs/_static/custom.css | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/docs/_static/custom.css b/docs/_static/custom.css index 3d0fdc432..6559ec3f6 100644 --- a/docs/_static/custom.css +++ b/docs/_static/custom.css @@ -61,3 +61,24 @@ div.body li, div.body dd { table.docutils .justify-align { text-align: justify; } + + +progress { + color: #ffa200; +} + +progress::-webkit-progress-value { + background: #ffa200; +} + +progress::-moz-progress-bar { + background: #ffa200; +} + +progress::-webkit-progress-value { + background: #ffa200; +} + +progress::-webkit-progress-bar { + background: #ffa200; +} \ No newline at end of file