Skip to content

Commit 22fb03c

Browse files
authored
Merge branch 'master' into change-footer-ui
2 parents 0b51c5e + 1ba9ffb commit 22fb03c

File tree

3 files changed

+13
-20
lines changed

3 files changed

+13
-20
lines changed

README.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
= Couchbase Documentation UI
22
// Variables:
3-
:current-release: prod-68
3+
:current-release: prod-70
44
// Settings:
55
:!example-caption:
66
:experimental:

src/css/doc.css

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,13 @@ ul ul ul {
456456
width: auto;
457457
}
458458

459+
.doc span.image {
460+
line-height: 1;
461+
vertical-align: -0.5em;
462+
display: inline-flex;
463+
padding: 0 0.25ex;
464+
}
465+
459466
.doc .quoteblock {
460467
margin-top: var(--base-medium-space);
461468
}
@@ -661,7 +668,7 @@ table.tableblock pre code.language-bash.hljs {
661668
}
662669

663670
.doc .dlist dt + dd {
664-
margin-top: var(--base-small-space);
671+
margin-top: var(--base-extra-small-space);
665672
}
666673

667674
/* .doc .dlist dd > .openblock > .content > :first-child {

src/css/nav.css

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -115,31 +115,17 @@
115115
}
116116

117117
.nav-menu .nav-item[data-depth='0'] > .nav-list {
118-
/*
119-
margin-top: -0.0625rem;
120-
margin-bottom: 0.625rem;
121-
*/
122118
margin-bottom: 0.75rem;
123-
/* margin-left: 1rem; */
124-
/* border-left: 1px solid var(--color-brand-gray5); */
125119
}
126120

127-
/* .nav-menu .nav-item.is-active.is-active-depth-2[data-depth='0'] > .nav-list {
128-
margin-left: 1.875rem;
129-
border-left: none;
130-
} */
131-
132-
/* .nav-menu .nav-item.is-active.is-active-depth-2[data-depth='0'] > .nav-line {
133-
display: none;
134-
} */
135-
136121
.nav-menu .nav-item:not(.is-active) > .nav-list {
137122
display: none;
138123
}
139124

140-
/* .nav-menu .nav-item {
141-
margin-left: 0.75em;
142-
} */
125+
.nav-item[data-depth="1"] span.nav-line {
126+
padding-top: var(--base-extra-small-space);
127+
padding-bottom: var(--base-extra-small-space);
128+
}
143129

144130
/* NOTE navigation list without a category */
145131
.nav-item[data-depth="0"] > .nav-list:first-child {

0 commit comments

Comments
 (0)