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

[DRAFT] Stage docs reboot for Eliot #3699

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions assets/js/howtos.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ let refinementLists = [customRefinementList({
items: [
{ label: "Data Management", value: "data" },
{ label: "Machine Learning", value: "ml" },
{ label: "Core", value: "core" },
{ label: "Control hardware", value: "core" },
{ label: "Fleet Management", value: "fleet" },
{ label: "Registry", value: "registry" },
{ label: "Integrate other hardware", value: "registry" },
{ label: "Mobility", value: "mobility" },
],
}),
Expand Down
137 changes: 129 additions & 8 deletions assets/scss/_styles_project.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ a.footnote-ref::after {
/* START Adjust Heading sizes*/

.td-navbar {
background: black !important;
// background-color: rgb(19,20,20) !important;
background-color: heather;
}

/* This ensures there is no padding added to the top logo bar */
Expand All @@ -31,11 +32,11 @@ a.footnote-ref::after {
}

.td-navbar .navbar-brand {
font-family: Space Mono, sans-serif;
// font-family: Space Mono, sans-serif;
font-size: 0.833rem;
line-height: 1.667em;
letter-spacing: 0.1875rem;
padding: 5px 10px;
padding: 5px 8px;
text-decoration: none;
text-transform: uppercase;
white-space: nowrap;
Expand All @@ -44,6 +45,11 @@ a.footnote-ref::after {
}
}

.td-navbar .navbar-brand svg {
height: 16px;
margin: 0;
}

.td-navbar .nav-link {
font-family: Space Mono, sans-serif;
font-weight: 400;
Expand All @@ -55,13 +61,13 @@ a.footnote-ref::after {
}

h1, .h1 {
font-family: Space Mono, sans-serif;
// font-family: Space Mono, sans-serif;
font-size: 2.667rem; // 32pt
margin-left: 0px;
}

h2, .h2 {
font-family: space grotesk, sans-serif;
// font-family: space grotesk, sans-serif;
font-size: 2.0rem !important; // 24pt
line-height: 2.667rem;
font-weight: 600;
Expand Down Expand Up @@ -120,7 +126,7 @@ h7, .h7 {

.td-sidebar {
/* NAV Panel changes */
background-color: #f2f2f2;
background-color: #FFFFFF;
}

// TABLE OF CONTENT CHANGES
Expand Down Expand Up @@ -2138,7 +2144,7 @@ div .filterable > p {
// Styling for email newsletter

h3.body-header[style] {
font-family: space grotesk, sans-serif !important;
// font-family: space grotesk, sans-serif !important;
font-size: 2.0rem !important;
line-height: 2.667rem !important;
font-weight: 400 !important;
Expand Down Expand Up @@ -2330,7 +2336,7 @@ hr {
color: #AAA;
padding: 0.45rem 0.75rem;
font-size: 0.75rem;
font-family: Space Mono, sans-serif;
// font-family: Space Mono, sans-serif;
}

.table.horizontalheaders > ul.nav-tabs > li.nav-item {
Expand Down Expand Up @@ -2556,3 +2562,118 @@ div.explanation > .explanationvisual > .gif {
opacity: 0;
transition: opacity 250ms ease-out;
}

// Top level nav START
nav {
display: flex;
flex-direction: column;
}

.navcontainer {
min-width: 100%;
display: flex;
}

.td-topbar-sections {
margin-right: auto !important;
margin-left: 0 !important;
line-height: unset !important;
}

.td-topbar-sections > ul {
padding: 0;
padding-left: 1.25rem;
margin: 0.25rem 0 0 0;
border-left: 1px solid white;
}

.td-topbar-sections > ul > li {
padding-right: 1.5rem;
display: inline-block;
text-transform: uppercase;
// font-family: Roboto Mono Variable,Roboto Mono,ui-monospace,monospace;
font-size: .875rem;
line-height: 1.25rem;
}

.td-topbar-sections > ul > li > a {
color: white;
padding-bottom: 8px;
padding-top: 8px;
}

.td-topbar-sections > ul > li > a:hover {
text-decoration: none;
}

.td-navbar {
min-height: 3.5rem;
}

.navsectiontop.active-path {
border-bottom: 1px solid white;
}

#navsearch {
min-width: 250.633px;
}

span.section-overview {
display: none
}

@media (min-width: 768px) {
.td-sidebar-nav__section ul.ul-1 {
padding-top: 0.5rem
}

.ul-1 > li.nav-fold.hide-if-desktop {
display: none;
}

.menu-toggle.open-on-desktop {
display: none;
}

li.nav-fold.open-on-desktop > span > ul > li {
display: block !important;
}

li.nav-fold.open-on-desktop.header-only > span > a {
text-transform: uppercase;
// font-family: Space Mono,sans-serif;
color: #aaa;
margin-top: 1rem;
}

li.nav-fold.open-on-desktop.header-only:first-child > span > a {
margin-top: 0.5rem;
}

li.nav-fold.open-on-desktop.header-only * li {
text-transform: unset;
}

li.open-on-desktop > span > ul.ul-2 {
padding-left: 0;
}

li.open-on-desktop.header-only > span > ul.ul-3 {
padding-left: 0;
}

span.section-overview-title {
display: none
}

span.section-overview {
display: block
}

}

a.tree-root {
display: none;
}

// Top level nav END
Loading
Loading