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/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 @@ - - + + 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}} 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