Skip to content

Commit d7396a0

Browse files
authored
Add Percona Live Banner (18) (#967)
This PR adds the percona live banner for psp 18.
1 parent eadd747 commit d7396a0

3 files changed

Lines changed: 62 additions & 1 deletion

File tree

_resource/overrides/main.html

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,31 @@
66
{# Import the theme's layout. #}
77
{% extends "base.html" %}
88

9+
{% block announce %}
10+
<div class="md-banner" style="text-align: center;">
11+
Where the open source database community meets:
12+
Use code <strong>PERCONA75</strong> and secure your spot for Percona Live.
13+
14+
<a
15+
class="breakdance-link button-atom button-atom--primary bde-button__button"
16+
href="https://perconalive.com/2026-usa/"
17+
target="_blank"
18+
data-type="url"
19+
style="
20+
padding: 5px 20px;
21+
display: inline-block;
22+
margin-left: 10px;
23+
background-color: #005ed6;
24+
border-radius: 999px;
25+
text-decoration: none;
26+
"
27+
>
28+
<span class="button-atom__text" style="font-size: 16px; color: #ffffff;">
29+
Register
30+
</span>
31+
</a>
32+
</div>
33+
{% endblock %}
934

1035
{% block scripts %}
1136
<script src="https://cmp.osano.com/Azqe5vTyLOSbN3OuT/49ad85b5-0418-4794-ab81-7599dddd534c/osano.js"></script>

_resourcepdf/overrides/main.html

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,32 @@
66
{# Import the theme's layout. #}
77
{% extends "base.html" %}
88

9+
{% block announce %}
10+
<div class="md-banner" style="text-align: center;">
11+
Where the open source database community meets:
12+
Use code <strong>PERCONA75</strong> and secure your spot for Percona Live.
13+
14+
<a
15+
class="breakdance-link button-atom button-atom--primary bde-button__button"
16+
href="https://perconalive.com/2026-usa/"
17+
target="_blank"
18+
data-type="url"
19+
style="
20+
padding: 5px 20px;
21+
display: inline-block;
22+
margin-left: 10px;
23+
background-color: #005ed6;
24+
border-radius: 999px;
25+
text-decoration: none;
26+
"
27+
>
28+
<span class="button-atom__text" style="font-size: 16px; color: #ffffff;">
29+
Register
30+
</span>
31+
</a>
32+
</div>
33+
{% endblock %}
34+
935
{% block scripts %}
1036
<script src="https://cmp.osano.com/Azqe5vTyLOSbN3OuT/49ad85b5-0418-4794-ab81-7599dddd534c/osano.js"></script>
1137
{{ super() }}

docs/css/extra.css

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,14 @@
5959
font-size: 0.6rem !important; /* smaller font */
6060
color: var(--md-typeset-a-color);
6161
}
62-
62+
63+
/* Percona live announcement banner */
64+
65+
.md-banner {
66+
text-align: center;
67+
}
68+
69+
.md-banner,
70+
.md-banner * {
71+
font-family: "Poppins", sans-serif !important;
72+
}

0 commit comments

Comments
 (0)