diff --git a/docs/theme/css/chrome.css b/docs/theme/css/chrome.css index c66982a2126373c2c4e27503e5b69eeceb56f92b..9f2afad54388bf2289e57f43275cdf2b4d98d4dd 100644 --- a/docs/theme/css/chrome.css +++ b/docs/theme/css/chrome.css @@ -26,6 +26,14 @@ a > .hljs { overflow-x: clip; } +.large-logo-img { + display: block; +} + +.icon-logo-img { + display: none; +} + /* Menu Bar */ #menu-bar, @@ -34,7 +42,7 @@ a > .hljs { margin: auto calc(0px - var(--page-padding)); } #menu-bar { - padding: 16px; + padding: 12px 16px; position: relative; display: flex; flex-wrap: wrap; @@ -77,9 +85,24 @@ a > .hljs { } @media only screen and (max-width: 420px) { - #menu-bar i, - #menu-bar .icon-button { - padding: 0 5px; + .large-logo-img { + display: none; + } + + .icon-logo-img { + display: block; + } + + #menu-bar { + padding: 12px; + } + + #menu-bar .ib-hidden-mobile { + display: none; + } + + .right-buttons { + width: 100px; /*For center aligning the icon link*/ } } @@ -96,7 +119,9 @@ a > .hljs { .right-buttons { display: flex; align-items: center; + justify-content: end; } + .right-buttons a { text-decoration: none; } diff --git a/docs/theme/index.hbs b/docs/theme/index.hbs index 64ca072ef2128f84358dfc58d07e7c9ad3ed86ea..052d983483708699333c6ca308509d306cbc7566 100644 --- a/docs/theme/index.hbs +++ b/docs/theme/index.hbs @@ -139,7 +139,7 @@
-