Skip to content

Commit

Permalink
Merge pull request #316 from gisce/imp_css_interface
Browse files Browse the repository at this point in the history
IMP Material Header colour
  • Loading branch information
ecarreras authored May 23, 2018
2 parents 4aae25a + 8731e9c commit 42a000b
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
34 changes: 34 additions & 0 deletions docs/extra/css/site.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[data-md-color-primary=indigo] .md-header, .md-header
{
background-color: #4D77A4;
}

[data-md-color-primary=indigo] .md-tabs
{
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;
}
}
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ extra:

extra_css:
- extra/css/images.css
- extra/css/site.css

pages:
- Home: index.md
Expand Down

0 comments on commit 42a000b

Please sign in to comment.