diff --git a/docs/source/_static/css/custom.css b/docs/source/_static/css/custom.css index 3f3f9902c2..7de563dd77 100644 --- a/docs/source/_static/css/custom.css +++ b/docs/source/_static/css/custom.css @@ -66,11 +66,13 @@ a:visited { color: transparent; background-image: url('../images/fg002_corda_w3.png'); background-repeat: no-repeat; - background-size: Auto 20px; - background-position: center top; + background-position: center center; background-origin: content box; - height: 20px; - width: 100% + background-size: cover; + width: 100%; + height: 0; + padding: 0; /* reset */ + padding-bottom: calc(100% * 1 / 4); } .wy-side-nav-search input[type=text] { @@ -182,21 +184,29 @@ a:visited { .wy-nav-top { background-color: #252627; + line-height: inherit; } .wy-nav-top a { color: transparent; background-image: url('../images/fg002_corda_w3.png'); background-repeat: no-repeat; - background-size: Auto 19px; - background-position: center top; + background-position: center center; background-origin: content box; + background-size: cover; + width: 100%; + height: 0; + padding: 0; /* reset */ + padding-bottom: calc(100% * 1 / 4); } +.wy-nav-top a { + display: none; +} /* Version dropdown */ .version-dropdown { border-radius: 4px; border-color: #263673; -} \ No newline at end of file +} diff --git a/docs/source/_static/images/fg002_corda_w3.png b/docs/source/_static/images/fg002_corda_w3.png index 63c50ff73d..0a9c4ed2ff 100644 Binary files a/docs/source/_static/images/fg002_corda_w3.png and b/docs/source/_static/images/fg002_corda_w3.png differ