Skip to content

Commit 86ccc4c

Browse files
committed
Fix CSS
1 parent 58386ba commit 86ccc4c

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

docs/css/custom.css

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,15 +156,27 @@
156156
--md-footer-bg-color--dark: hsla(var(--md-hue), 0%, 8%, 1);
157157
}
158158

159+
[data-md-color-scheme="slate"] p img {
160+
background-color: white;
161+
padding: .4rem;
162+
border-radius: var(--border-radius-variable);
163+
}
164+
[data-md-color-scheme="slate"] .marctech_main > div {
165+
display: none;
166+
}
167+
[data-md-color-scheme="slate"] .marctech_main::after {
168+
content: "Switch to the light theme to view the diagram.";
169+
}
170+
159171
/*******************************************************/
160172
/* Fix spacing in navigation tab. */
161-
.md-nav__link {
173+
.md-nav__item--nested > .md-nav__link {
162174
margin-bottom: .4rem;
163175
}
164-
.md-nav__list .md-nav__list .md-nav__list .md-nav__item:first-child .md-nav__link {
176+
.md-nav__list .md-nav__list .md-nav__list .md-nav__item:first-child > .md-nav__link {
165177
margin-top: 0;
166178
}
167-
.md-nav__list .md-nav__list .md-nav__list .md-nav__item:last-child .md-nav__link {
179+
.md-nav__list .md-nav__list .md-nav__list .md-nav__item:last-child > .md-nav__link {
168180
margin-bottom: 0;
169181
}
170182

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ nav:
252252
- Access Audit Logs: setup_installation/admin/audit/audit-logs.md
253253
- Export Audit Logs: setup_installation/admin/audit/export-audit-logs.md
254254
- Python API: '!import https://github.com/aversey/hopsworks-api?branch=multirepo-mkdocs'
255-
- Java API: /javadoc/
255+
- Java API: javadoc
256256
- Community ↗: https://community.hopsworks.ai/
257257

258258
theme:

0 commit comments

Comments
 (0)