From de7526f87b75d908fe7e72dbb3c53a8e9046cad2 Mon Sep 17 00:00:00 2001 From: Adam Cowley Date: Thu, 13 Jun 2024 12:03:08 +0100 Subject: [PATCH 1/3] design changes to ad block --- src/css/toc-ad.css | 17 ++++++++++------- src/img/ad-blob.svg | 4 ++-- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/src/css/toc-ad.css b/src/css/toc-ad.css index 9fd12445..0a19479b 100644 --- a/src/css/toc-ad.css +++ b/src/css/toc-ad.css @@ -1,6 +1,6 @@ .toc .toc-ad { border: 1px solid #e2e3e5; - padding: 24px 16px 48px; + padding: 24px 24px 18px 18px; border-radius: 12px; margin: 2rem -0.5rem 0; background: #fff url(../img/ad-blob.svg) no-repeat bottom right; @@ -13,8 +13,9 @@ color: #1a1b1d; } -.toc .toc-ad a:active { - background-color: var(--color-white) !important; +.toc .toc-ad a:active, +.toc .toc-ad a:focus { + background-color: transparent !important; } .toc .toc-ad .toc-ad-icon { @@ -35,19 +36,21 @@ .toc .toc-ad .toc-ad-title { color: rgba(var(--colors-neutral-75)); - font-size: 18px; + font-size: 16px; margin: 12px 0 !important; padding: 0 !important; + font-weight: 600; } .toc .toc-ad-description { color: rgba(var(--colors-neutral-75)); - margin-top: 0; + margin: 12px 0 18px; + font-size: 14px; } .toc .toc-ad-underline { color: rgba(var(--colors-baltic-50)); - font-weight: bold; + font-weight: 600; } .toc .toc-ad-underline-button, @@ -56,8 +59,8 @@ background-color: rgba(var(--colors-baltic-50)); color: var(--color-white); display: inline-block; - font-weight: bold; padding: 8px 24px; + font-weight: 600; } .doc .ad { diff --git a/src/img/ad-blob.svg b/src/img/ad-blob.svg index af6f5eb2..e7c87ebc 100644 --- a/src/img/ad-blob.svg +++ b/src/img/ad-blob.svg @@ -1,3 +1,3 @@ - - + + From 26f01dddd0d30de8983b50d5de8bf13456095d44 Mon Sep 17 00:00:00 2001 From: Adam Cowley Date: Thu, 13 Jun 2024 15:48:47 +0100 Subject: [PATCH 2/3] add graphacademy link to cypher cheat sheet header --- src/css/header.css | 4 ++++ src/partials/header-content.hbs | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/css/header.css b/src/css/header.css index b4625b9e..b29d0b66 100644 --- a/src/css/header.css +++ b/src/css/header.css @@ -102,6 +102,10 @@ body { display: none; } +.navbar .navbar-grow { + flex-grow: 1; +} + @media screen and (min-width: 1024px) { .navbar-end > .navbar-item, .navbar-end .navbar-link { diff --git a/src/partials/header-content.hbs b/src/partials/header-content.hbs index e5571a0d..b5c841c8 100644 --- a/src/partials/header-content.hbs +++ b/src/partials/header-content.hbs @@ -99,7 +99,11 @@ {{#if (eq page.attributes.theme 'cheat-sheet') }} {{else}} From 8c340354a9a4cc2857e1167c366c9539c7218fa4 Mon Sep 17 00:00:00 2001 From: Adam Cowley Date: Thu, 13 Jun 2024 15:56:50 +0100 Subject: [PATCH 3/3] update links in graphacademy submenu --- src/partials/navbar-end.hbs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/partials/navbar-end.hbs b/src/partials/navbar-end.hbs index 2659a0f0..0e1e3fc2 100644 --- a/src/partials/navbar-end.hbs +++ b/src/partials/navbar-end.hbs @@ -247,6 +247,7 @@ @@ -256,7 +257,6 @@ @@ -264,6 +264,7 @@ Generative AI Courses