Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates to nav items, footer links, and sidebar styles #70

Merged
merged 2 commits into from
Dec 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 20 additions & 15 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,18 @@ const config = {
},
{ to: "/courses", label: "Courses", position: "left" },
{
href: "https://github.com/gruntwork-io",
label: "GitHub",
href: "https://github.com/gruntwork-io/knowledge-base/discussions",
label: "Knowledge Base",
position: "right",
},
{
href: "https://github.com/gruntwork-io/knowledge-base/discussions",
label: "Discussions",
href: "/docs/guides/support",
label: "Support",
position: "right",
},
{
href: "https://app.gruntwork.io",
label: "Sign In",
position: "right",
},
],
Expand All @@ -84,7 +89,7 @@ const config = {
title: "Company",
items: [
{
label: "About Gruntwork",
label: "Gruntwork.io",
href: "https://gruntwork.io",
},
{
Expand All @@ -96,7 +101,7 @@ const config = {
href: "https://gruntwork.io/newsletter/",
},
{
label: "Gruntwork Store",
label: "Store",
href: "https://store.gruntwork.io/",
},
],
Expand All @@ -105,12 +110,16 @@ const config = {
title: "Community",
items: [
{
label: "GitHub Discussions",
href: "https://github.com/gruntwork-io/knowledge-base/discussions"
label: "Knowledge Base",
href: "https://github.com/gruntwork-io/knowledge-base/discussions",
},
{
label: "Community Slack",
href: "https://gruntwork-community.slack.com/archives/CHH9Y3Z62"
href: "https://gruntwork-community.slack.com/archives/CHH9Y3Z62",
},
{
label: "GitHub",
href: "https://github.com/gruntwork-io",
},
{
label: "Twitter",
Expand All @@ -133,10 +142,6 @@ const config = {
label: "DevOps Checklist",
href: "https://gruntwork.io/devops-checklist/",
},
{
label: "Learning Resources",
href: "https://gruntwork.io/devops-resources/",
},
],
},
{
Expand All @@ -151,8 +156,8 @@ const config = {
href: "https://gruntwork.io/legal/cookie-policy/",
},
{
label: "Terms of Service",
href: "https://gruntwork.io/terms/",
label: "Website Terms",
href: "https://gruntwork.io/website-terms/",
},
],
},
Expand Down
16 changes: 11 additions & 5 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@

--ifm-font-family-base: "Source Sans Pro";
--ifm-code-font-size: 95%;
/*--ifm-font-size-base: 110%;*/
--ifm-h1-font-size: 2.5rem; /* ! */
--ifm-heading-color: #252746;
}
Expand All @@ -49,6 +48,12 @@ html[data-theme="dark"] {
--ifm-menu-color-background-hover: rgba(255, 255, 255, 0.05);
--ifm-menu-color-background-active: rgba(255, 255, 255, 0.05);
--ifm-heading-color: white;

--ifm-color-primary: #AB80FE;
}

.hero--primary {
background-color: #5849A6;
}

.docusaurus-highlight-code-line {
Expand All @@ -73,9 +78,10 @@ h4,
h5,
h6 {
/* Source Sans Pro is a little wide at larger sizes, especially when bold */
letter-spacing: -0.05rem;
letter-spacing: -0.025rem;
}


/* NAVBAR + LOGO */

.navbar__brand {
Expand Down Expand Up @@ -177,13 +183,13 @@ html[data-theme="dark"] aside {
padding-bottom: 1.5rem;
}

.menu__list-item > .menu__list {
border-left: 1px solid gray;
nav.menu > ul.theme-doc-sidebar-menu > .menu__list-item > .menu__list {
border-left: 1px solid var(--ifm-toc-border-color);
}

.menu__link--sublist {
font-weight: bold;
letter-spacing: -0.05rem;
letter-spacing: -0.025rem;
}

html[data-theme="light"] .menu__link--sublist {
Expand Down