Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/actions/spelling/expect.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Abhimanyu
lfx
luma
Petschulat
SFDC
Siwach
Expand Down
8 changes: 8 additions & 0 deletions .mkdocs/overrides/main.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
{% extends "base.html" %}

{% block announce %}
<p class="md-banner__hackathon">
<span>Sign up to the <strong>A2A and generative UI hackathon</strong> in London on Saturday 13th June!</span>
<a href="https://luma.com/a2a-and-generative-ui-hackathon" class="md-button">
Sign up
</a>
Comment thread
benclarkeio marked this conversation as resolved.
</p>
<!--
Join the new DeepLearning.AI short course: <strong>A2A: The Agent2Agent Protocol</strong>!
<a href="https://goo.gle/dlai-a2a" class="md-button">
Enroll for free
</a>
-->
Comment thread
benclarkeio marked this conversation as resolved.
{% endblock %}
30 changes: 26 additions & 4 deletions docs/stylesheets/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,33 @@
line-height: 1.4;
}

.announce .md-button {
font-size: 0.8em;
padding: 0.3em 1em;
margin-left: 0.5em;
/* stylelint-disable selector-class-pattern -- Material uses BEM `__` class names */
.md-banner__inner:has(.md-banner__hackathon) {
display: grid;
grid-template-columns: 1fr auto;
column-gap: 0.8em;
align-items: center;
}

.md-banner__hackathon {
grid-column: 1;
display: flex;
align-items: center;
gap: 1em;
margin: 0;
}

.md-banner__hackathon .md-button {
margin-left: auto;
padding: 0.2em 0.6em;
}
Comment thread
benclarkeio marked this conversation as resolved.
Outdated

.md-banner__inner:has(.md-banner__hackathon) .md-banner__button {
grid-column: 2;
grid-row: 1 / -1;
align-self: center;
}
/* stylelint-enable selector-class-pattern */

h1#agent2agent-a2a-protocol {
display: none;
Expand Down
Loading