[dpdk-web] [PATCH] add events sponsoring info

Thomas Monjalon thomas at monjalon.net
Fri Apr 27 02:33:54 CEST 2018


A box is added in the top right corner of the events page.

Suggested-by: Trishan de Lanerolle <tdelanerolle at linuxfoundation.org>
Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
---
 events.html |  6 ++++++
 layout.css  | 12 ++++++++++++
 2 files changed, 18 insertions(+)

diff --git a/events.html b/events.html
index 435e71d..f260986 100644
--- a/events.html
+++ b/events.html
@@ -39,6 +39,12 @@
 			</nav>
 		</header>
 		<section id="events">
+			<div class="banner-right">
+				<a href="https://www2.thelinuxfoundation.org/sponsor-dpdk18"
+				>2018 sponsorship prospectus</a><br>
+				<a href="mailto:events at dpdk.org">Contact us for more information</a>
+			</div>
+
 			<h3 id="userspace2018">› DPDK <em>Userspace</em>, Dublin - September 5-6, 2018</h3>
 			<p>Unlike its name, the userspace summit intends to gather users and developers.
 			It is the main event, dedicated to community discussions, architects and maintainers.</p>
diff --git a/layout.css b/layout.css
index 7a1f619..4371e37 100644
--- a/layout.css
+++ b/layout.css
@@ -92,6 +92,18 @@ section {
 	padding: 1.5em;
 }
 
+section .banner-right {
+	float: right;
+	text-align: right;
+	margin: 0 -1.5em 2em 0;
+	padding: 0.7em 1.5em 0.7em 2em;
+	border-radius: 2em 0 0 2em / 50% 0 0 50%;
+	background: #00233b;
+}
+section .banner-right + * {
+	clear: both;
+}
+
 footer {
 	background: url("/logos/lfp.png") no-repeat center bottom / 331px;
 	height: 50px;
-- 
2.16.2



More information about the web mailing list