Skip to content

Commit

Permalink
restyle kapa
Browse files Browse the repository at this point in the history
  • Loading branch information
fantkolja committed May 24, 2024
1 parent 43a2cfe commit 781c6c1
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 6 deletions.
Binary file modified build/ui-bundle.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion src/css/nav.css
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ html.is-clipped--nav {
line-height: 1.6;
position: relative;
list-style: none;
padding: 5px 10px;
padding: 7px 10px;
}

.nav-item[data-depth="0"] {
Expand Down
3 changes: 2 additions & 1 deletion src/css/toc.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.toc-menu {
color: var(--toc-font-color);
margin-bottom: 50px;
}

.toc.sidebar {
Expand Down Expand Up @@ -67,7 +68,7 @@
color: inherit;
border-left: 2px solid var(--toc-border-color);
display: inline-block;
padding: 6px 0 6px 8px;
padding: 10px 0 10px 8px;
text-decoration: none;
}

Expand Down
2 changes: 1 addition & 1 deletion src/css/vars.css
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
--doc-font-color: var(--text);
--doc-font-size: inherit;
--doc-font-size--desktop: 16px;
--doc-line-height: 1.5;
--doc-line-height: 1.6;
--doc-margin: 0 auto;
--doc-margin--desktop: 0 2rem;
--doc-margin--desktop-large: 0 3rem;
Expand Down
Binary file added src/img/kapa/stars.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 14 additions & 3 deletions src/partials/head-scripts.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,23 @@
src="https://widget.kapa.ai/kapa-widget.bundle.js"
data-website-id="{{this}}"
data-project-name="Hazelcast"
data-modal-title="Ask AI"
data-modal-header-bg-color="#000"
data-modal-title-color="#fff"
data-modal-disclaimer-text-color="#10A4B3"
data-modal-image-width="34"
data-modal-image-height="42"
data-modal-title-font-family="PP Telegraf"
data-modal-title-font-size="30px"
data-modal-title-font-weight="400"
data-project-color="#000000"
data-project-logo="https://avatars.githubusercontent.com/u/1453152?s=200&v=4"
data-modal-disclaimer="This is a custom LLM for Hazelcast with access to all documentation (docs.hazelcast.com/) and support knowledge base (support.hazelcast.com/s/)"
data-modal-disclaimer="This is a custom LLM for answering questions about Hazelcast. Answers are based on the contents of the documentation and support knowledge base. This feature is experimental - rate the answers to let us know what you think!"
data-modal-example-questions="How do I enable persistence on Kubernetes?,What is the minimum JDK version for Platform 5.3?"
data-project-logo="_/img/kapa/stars.png"
data-button-image-width="34"
data-button-image-height="42"
data-button-border-radius="10px"
data-button-bg-color="#0080a9"
data-button-bg-color="#000"
data-button-text-font-family="PP Telegraf"
data-button-text-font-size="16px"
data-button-text-font-weight="400"
Expand Down

0 comments on commit 781c6c1

Please sign in to comment.