Update logo & styling

This commit is contained in:
Serafeim Chatzopoulos 2022-11-29 16:43:06 +02:00
parent df6b49bd8f
commit 7b5d9eae82
3 changed files with 29 additions and 25 deletions

View File

@ -81,24 +81,24 @@ const config = {
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */ /** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({ ({
navbar: { navbar: {
// title: 'OpenAIRE Documentation', title: 'documentation',
logo: { logo: {
alt: 'OpenAIRE', alt: 'OpenAIRE',
src: 'img/logo.png', src: 'img/logo.png',
}, },
items: [ items: [
{ // {
type: 'doc', // type: 'doc',
docId: 'intro', // docId: 'intro',
position: 'left', // position: 'left',
label: 'Research graph v5.0', // label: 'Research graph v5.0',
}, // },
// //
// documentation version in the navbar // documentation version in the navbar
// { {
// type: 'docsVersionDropdown', type: 'docsVersionDropdown',
// position: 'right' position: 'right'
// }, },
// //
// link to blog, the blog must be enabled first // link to blog, the blog must be enabled first
// {to: '/blog', label: 'Blog', position: 'left'}, // {to: '/blog', label: 'Blog', position: 'left'},

View File

@ -34,28 +34,32 @@
*/ */
:root { :root {
--ifm-color-primary: #4666ca; --ifm-color-primary: #e6122e;
--ifm-color-primary-dark: #3757be; --ifm-color-primary-dark: #cf1029;
--ifm-color-primary-darker: #3353b4; --ifm-color-primary-darker: #c30f27;
--ifm-color-primary-darkest: #2a4494; --ifm-color-primary-darkest: #a10d20;
--ifm-color-primary-light: #5b77d0; --ifm-color-primary-light: #ee233e;
--ifm-color-primary-lighter: #6680d3; --ifm-color-primary-lighter: #ef2f48;
--ifm-color-primary-lightest: #859adc; --ifm-color-primary-lightest: #f15166;
--ifm-code-font-size: 95%; --ifm-code-font-size: 95%;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1); --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
} }
[data-theme='dark'] { [data-theme='dark'] {
--ifm-color-primary: #5dade2; --ifm-color-primary: #f15166;
--ifm-color-primary-dark: #429fdd; --ifm-color-primary-dark: #ef334c;
--ifm-color-primary-darker: #3498db; --ifm-color-primary-darker: #ed243f;
--ifm-color-primary-darkest: #227fbd; --ifm-color-primary-darkest: #d1112a;
--ifm-color-primary-light: #78bbe7; --ifm-color-primary-light: #f36f80;
--ifm-color-primary-lighter: #86c2e9; --ifm-color-primary-lighter: #f57e8d;
--ifm-color-primary-lightest: #aed6f1; --ifm-color-primary-lightest: #f8aab5;
--ifm-background-color: #2c2e3a;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3); --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
} }
.navbar__logo {
height: 2.5rem;
}
.todo { .todo {
background-color: yellow; background-color: yellow;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

After

Width:  |  Height:  |  Size: 7.5 KiB