From 46962e1e00897ed217163fd9a3b209a777db3be7 Mon Sep 17 00:00:00 2001 From: Chitoku YATO Date: Wed, 25 Oct 2023 17:18:13 -0700 Subject: [PATCH] Enable Announcement Bar with 11/07 webinar announcement --- docs/css/extra.css | 12 +++++++++++- docs/overrides/home.html | 2 +- docs/overrides/main.html | 13 +++++++++++++ 3 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 docs/overrides/main.html diff --git a/docs/css/extra.css b/docs/css/extra.css index 1ba1140e..35dbedd2 100644 --- a/docs/css/extra.css +++ b/docs/css/extra.css @@ -26,4 +26,14 @@ /* Bigger width for md-content for main text */ .md-grid { max-width: 90%; /* or 100%, if you want to stretch to full-width */ - } \ No newline at end of file + } + +.md-banner__inner { + font-size: .7rem; + margin: 0.2rem auto; + margin-top: 0.2rem; + margin-right: auto; + margin-bottom: 0.2rem; + margin-left: auto; + padding: 0 0.8rem; +} diff --git a/docs/overrides/home.html b/docs/overrides/home.html index ff67f7ce..f95f6ac1 100644 --- a/docs/overrides/home.html +++ b/docs/overrides/home.html @@ -1,5 +1,5 @@ -{% extends "base.html" %} +{% extends "main.html" %} {% block tabs %} {{ super() }} +
Join us Tuesday, November 7, 2023 at 9 a.m. PT for a webinar diving even deeper into many of the topics discussed on this site, along with a live Q&A!
+ +{% endblock %} \ No newline at end of file