Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
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">

Check failure on line 6 in .mkdocs/overrides/main.html

View workflow job for this annotation

GitHub Actions / Check Spelling

`luma` is not a recognized word (unrecognized-spelling)
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 %}
28 changes: 24 additions & 4 deletions docs/stylesheets/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,30 @@
line-height: 1.4;
}

.announce .md-button {
font-size: 0.8em;
padding: 0.3em 1em;
margin-left: 0.5em;
.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;
}

h1#agent2agent-a2a-protocol {
Expand Down
Loading