From c676b159691f973551fb14375ee8ef472debd557 Mon Sep 17 00:00:00 2001 From: Jaume Florez Date: Mon, 21 May 2018 10:26:35 +0200 Subject: [PATCH 1/3] ADD Site.css for header color --- docs/extra/css/site.css | 3 +++ mkdocs.yml | 1 + 2 files changed, 4 insertions(+) create mode 100644 docs/extra/css/site.css diff --git a/docs/extra/css/site.css b/docs/extra/css/site.css new file mode 100644 index 00000000..c6549ed9 --- /dev/null +++ b/docs/extra/css/site.css @@ -0,0 +1,3 @@ +[data-md-color-primary=indigo] .md-header, [data-md-color-primary=indigo] .md-tabs{ + background-color: #4D77A4; +} diff --git a/mkdocs.yml b/mkdocs.yml index 83af3be9..14004d9b 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -36,6 +36,7 @@ extra: extra_css: - extra/css/images.css + - extra/css/site.css pages: - Home: index.md From 93d64c0c2284cc458dde0a7e5a245a1b4c442691 Mon Sep 17 00:00:00 2001 From: Jaume Florez Date: Mon, 21 May 2018 10:54:56 +0200 Subject: [PATCH 2/3] IMP tabs colour --- docs/extra/css/site.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/extra/css/site.css b/docs/extra/css/site.css index c6549ed9..fe81e592 100644 --- a/docs/extra/css/site.css +++ b/docs/extra/css/site.css @@ -1,3 +1,9 @@ -[data-md-color-primary=indigo] .md-header, [data-md-color-primary=indigo] .md-tabs{ +[data-md-color-primary=indigo] .md-header +{ background-color: #4D77A4; } + +[data-md-color-primary=indigo] .md-tabs +{ + background-color: #436491; +} From 8731e9cb74f7f74ef7f41a37bc14e7fec8ce1e87 Mon Sep 17 00:00:00 2001 From: Jaume Florez Date: Wed, 23 May 2018 10:15:26 +0200 Subject: [PATCH 3/3] IMP site CSS with low width resolutions --- docs/extra/css/site.css | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/docs/extra/css/site.css b/docs/extra/css/site.css index fe81e592..1fc0d62b 100644 --- a/docs/extra/css/site.css +++ b/docs/extra/css/site.css @@ -1,4 +1,4 @@ -[data-md-color-primary=indigo] .md-header +[data-md-color-primary=indigo] .md-header, .md-header { background-color: #4D77A4; } @@ -7,3 +7,28 @@ { background-color: #436491; } + +@media only screen and (max-width: 76.1875em){ + html [data-md-color-primary=indigo] .md-nav--primary .md-nav__title--site{ + background-color: #4D77A4; + } + [data-md-color-primary=indigo] .md-header, .md-header + { + background-color: #4D77A4; + } + + [data-md-color-primary=indigo] .md-nav__source + { + background-color: #436491; + } + + html .md-nav--primary .md-nav__title + { + background-color: #436491; + color:white; + } + html .md-nav--primary .md-nav__title:before + { + color:white; + } +}