Skip to content

Commit 97407d7

Browse files
authored
chore(docs): add tobiko logo to tobiko cloud nav tab (#4700)
1 parent c9a26ec commit 97407d7

File tree

3 files changed

+22
-1
lines changed

3 files changed

+22
-1
lines changed

docs/stylesheets/extra.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,14 @@
4040

4141
:root {
4242
--md-primary-fg-color: #3C64E2;
43+
}
44+
45+
.md-tabs__item:last-child a::before {
46+
content: "";
47+
background: transparent url("tobiko-logo.svg") center left no-repeat;
48+
background-size: contain;
49+
width: 18px;
50+
height: 18px;
51+
display: inline-block;
52+
margin-bottom: -4px;
4353
}

docs/stylesheets/tobiko-logo.svg

Lines changed: 11 additions & 0 deletions
Loading

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ nav:
107107
- Configuration:
108108
- reference/configuration.md
109109
- reference/model_configuration.md
110-
- Tobiko Cloud:
110+
- Tobiko Cloud: # NOTE: if this item is no longer last, need to update extra.css to adjust logo positioning
111111
- "Overview": cloud/cloud_index.md
112112
- "Getting Started": cloud/tcloud_getting_started.md
113113
- Cloud Features:

0 commit comments

Comments
 (0)