From f5e065fe71785ad778233e36a19d77025057438f Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Mon, 14 Nov 2022 16:13:07 +0000 Subject: [PATCH] Add a temporary Summit CFP announcement banner Link to the call for presentations site for the upcoming OpenInfra Summit with the optional banner mechanism we've used in the past. Please don't merge this until 15:00 UTC on 2022-11-15, since the site won't have CFP info until that time. This can be reverted after the CFP window closes on 2023-01-10. This partly reverts commit 5ceda92172f7ab91d20eb0a079c3e02074e34f0a. Change-Id: Icef393a05b1930d88ff16fbd0674b7e457c51846 --- www/assets/css/main.css | 18 +++++++++++++----- www/index.html | 11 +++++++++++ 2 files changed, 24 insertions(+), 5 deletions(-) diff --git a/www/assets/css/main.css b/www/assets/css/main.css index 47379f7..4524548 100644 --- a/www/assets/css/main.css +++ b/www/assets/css/main.css @@ -1930,13 +1930,21 @@ input[type="button"], height: 28em; text-align: center; position: relative; } - #banner header { - position: absolute; - bottom: 30%; - left: 0; + #banner p { + display: inline-block; + margin: 0; width: 100%; + vertical-align: middle; + background: #212121; + background: rgba(27, 27, 27, 0.75); + color: #37c0fb; + padding: 1.5em; } + #banner p .button { + margin-left: 1em; + margin-top: 1em; } + #banner header { color: #071d49; - padding: 1.5em 0; } + margin: 6%; } #banner header h2 { display: inline-block; margin: 0; diff --git a/www/index.html b/www/index.html index 706a36e..58ad77f 100644 --- a/www/index.html +++ b/www/index.html @@ -72,6 +72,17 @@