Skip to content

Commit b2b758e

Browse files
authored
PG-2488 - Add Kapa AI (18) (#990)
This PR adds the Kapa AI implementation to the website for PPG 18.
1 parent edd45fa commit b2b758e

10 files changed

Lines changed: 170 additions & 376 deletions

File tree

_resource/overrides/main.html

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,6 @@
3232
</div>
3333
{% endblock %}
3434

35-
{% block scripts %}
36-
<script src="https://cmp.osano.com/Azqe5vTyLOSbN3OuT/49ad85b5-0418-4794-ab81-7599dddd534c/osano.js"></script>
37-
{{ super() }}
38-
{% endblock %}
39-
4035
{% block extrahead %}
4136
{{ super() }}
4237
{% set title = config.site_name %}

_resourcepdf/overrides/main.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
{% endblock %}
3434

3535
{% block scripts %}
36-
<script src="https://cmp.osano.com/Azqe5vTyLOSbN3OuT/49ad85b5-0418-4794-ab81-7599dddd534c/osano.js"></script>
3736
{{ super() }}
37+
<script src="https://cmp.osano.com/Azqe5vTyLOSbN3OuT/49ad85b5-0418-4794-ab81-7599dddd534c/osano.js"></script>
3838
{% endblock %}
3939

4040
{% block extrahead %}
23.4 KB
Loading

docs/css/kapa.css

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
button#ask-percona-ai {
2+
display: inline-flex;
3+
align-items: center;
4+
justify-content: center;
5+
6+
gap: 0.45rem;
7+
8+
/* Match MkDocs Material search field */
9+
height: 1.8rem;
10+
padding: 0 0.9rem;
11+
margin-left: 0.5rem;
12+
13+
border: none;
14+
border-radius: 0.1rem;
15+
16+
background: #05469F;
17+
color: #B8C8E2;
18+
19+
box-shadow: var(--md-shadow-z1);
20+
21+
cursor: pointer;
22+
23+
font-family: inherit;
24+
font-size: 0.8rem;
25+
font-weight: 400;
26+
line-height: 1;
27+
28+
white-space: nowrap;
29+
30+
transition:
31+
background-color 0.25s ease,
32+
box-shadow 0.25s ease;
33+
}
34+
35+
button#ask-percona-ai:hover {
36+
background: #2E73DC;
37+
}
38+
39+
button#ask-percona-ai:focus-visible {
40+
outline: none;
41+
box-shadow:
42+
0 0 0 0.1rem rgba(46, 115, 220, 0.35),
43+
var(--md-shadow-z2);
44+
}
45+
46+
button#ask-percona-ai .percona-star,
47+
button#ask-percona-ai .percona-text {
48+
color: inherit;
49+
}
50+
51+
button#ask-percona-ai .percona-star {
52+
font-size: 0.85rem;
53+
line-height: 1;
54+
}
55+
56+
@media screen and (max-width: 768px) {
57+
button#ask-percona-ai {
58+
padding: 0 0.75rem;
59+
}
60+
61+
button#ask-percona-ai .percona-text {
62+
display: none;
63+
}
64+
}

docs/css/landing.css

Lines changed: 0 additions & 301 deletions
This file was deleted.

0 commit comments

Comments
 (0)