From 298ba671035965e8284f2c77789e5800905ca802 Mon Sep 17 00:00:00 2001 From: Monika Date: Thu, 7 Sep 2023 09:40:38 +0200 Subject: [PATCH] Layout improvements --- docs/docusaurus.config.js | 8 +++++--- docs/src/css/custom.css | 19 ++++++++++++------- docs/static/img/logo-white.svg | 1 + 3 files changed, 18 insertions(+), 10 deletions(-) create mode 100644 docs/static/img/logo-white.svg diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index 38970e56..d9474226 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -53,10 +53,12 @@ const config = { ({ // Replace with your project's social card navbar: { - title: 'Home', + title: 'Virtual Worlds plugin for Unreal Engine', + style: 'dark', logo: { - alt: 'Comms Unreal Plugin Logo', - src: 'img/logo.svg', + alt: 'Dolby logo', + src: 'img/logo-white.svg', + className: 'logo', }, }, footer: { diff --git a/docs/src/css/custom.css b/docs/src/css/custom.css index f1f055a6..f62dabb5 100644 --- a/docs/src/css/custom.css +++ b/docs/src/css/custom.css @@ -6,13 +6,8 @@ /* You can override the default Infima variables here. */ :root { - --ifm-color-primary: #47098e; - --ifm-color-primary-dark: #575687; - --ifm-color-primary-darker: #2e2771; - --ifm-color-primary-darkest: #2b205d; - --ifm-color-primary-light: #33925d; - --ifm-color-primary-lighter: #359962; - --ifm-color-primary-lightest: #3cad6e; + --ifm-color-primary: #AA33FF; + --ifm-color-primary-light: #EACCFF; --ifm-code-font-size: 95%; --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1); } @@ -29,6 +24,11 @@ --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3); } +.logo { + height: 22px !important; + transform: translateY(28%); +} + img[alt=gettoken], img[alt=settoken], img[alt=ontoken], @@ -39,4 +39,9 @@ img[alt=details] { img[alt=components], img[alt=subsystem] { width: 350px; +} + +table { + width: 100%; + display: table; } \ No newline at end of file diff --git a/docs/static/img/logo-white.svg b/docs/static/img/logo-white.svg new file mode 100644 index 00000000..f95c3e21 --- /dev/null +++ b/docs/static/img/logo-white.svg @@ -0,0 +1 @@ + \ No newline at end of file