From c42528a68d0a13fd7b8d9e3448def4db35ef6096 Mon Sep 17 00:00:00 2001 From: Nikita Tchayka Date: Mon, 28 Aug 2023 22:28:06 +0100 Subject: update --- docusaurus.config.js | 2 +- src/css/custom.css | 34 +++++++++++++++++----- static/img/logo.svg | 82 +++++++++++++++++++++++++++++++++++++++++++++------- 3 files changed, 100 insertions(+), 18 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 9faad1b..4bb2677 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -78,7 +78,7 @@ const config = { // Replace with your project's social card image: "img/docusaurus-social-card.jpg", navbar: { - title: "", + title: "NeoHaskell", logo: { alt: "NeoHaskell Logo", src: "img/logo.svg", diff --git a/src/css/custom.css b/src/css/custom.css index 6eed942..31779cf 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -27,11 +27,11 @@ p, li { font-family: 'Ubuntu', sans-serif; } -.navbar { +/* .navbar { flex: auto; - background-color: theme('colors.background'); border: 0; box-shadow: none; + height: 96px; } .navbar__item { @@ -52,7 +52,30 @@ p, li { border-width: 2px; margin: 0 0.5rem; } +*/ + +.navbar__title { + font-family: Lexend Mega, sans-serif; + font-size: 1.5rem; +} +.navbar__link { + text-decoration: underline; + text-decoration-style: wavy; +} + +.navbar__link--active { + font-weight: bolder; + text-decoration-thickness: 2px; +} + + +.navbar__link:hover { + text-decoration: underline; + text-decoration-style: wavy; +} + +/* .navbar__items--right > .navbar__item { background-color: yellow; border-color: black; @@ -74,18 +97,15 @@ p, li { .navbar__logo { margin: 0; - background-color: white; - border-radius: 100%; - height: 64px; } .navbar__logo > img { - padding: 12px; + padding: 18px; } .navbar__items--right > .navbar__item > svg { display: none; -} +} */ /* You can override the default Infima variables here. */ /* :root { diff --git a/static/img/logo.svg b/static/img/logo.svg index 304543a..a0a5e5d 100644 --- a/static/img/logo.svg +++ b/static/img/logo.svg @@ -1,11 +1,73 @@ - - - - - - - - - - + + + + + + + + + + + + -- cgit