From: Phil Pennock
Date: Sat, 15 Sep 2018 05:41:45 +0000 (-0400)
Subject: Tentative design for showing sponsors; add UoCambridge
X-Git-Url: https://git.exim.org/exim-website.git/commitdiff_plain/1b371428def1d35dcad9d6f4257356917c14a637?ds=sidebyside;hp=0540047098ffb87b22a861ed5f402fdd00fcd2d5
Tentative design for showing sponsors; add UoCambridge
Add logo for Cambridge
Include both UoC and MacStadium on the main web-page, as thanks.
My XSL-fu is weak. This is a tentative design straw-man, which I'm
putting live. Feel free to improve.
---
diff --git a/templates/static/css/index.css b/templates/static/css/index.css
index 1cbc418..d6e3c0e 100644
--- a/templates/static/css/index.css
+++ b/templates/static/css/index.css
@@ -1,4 +1,4 @@
-#inner img {
+#inner img:not(.sponsor_logo) {
float: left;
margin: 0 1em 0.5em 0;
}
@@ -6,3 +6,14 @@
#book_info {
min-height: 100px;
}
+
+ul#sponsor_list {
+ list-style: none;
+ overflow: hidden;
+ padding-left: 0;
+}
+
+img.sponsor_logo {
+ vertical-align: top;
+ margin: 0 1em 0 0;
+}
diff --git a/templates/web/i/cambridge-150x39.png b/templates/web/i/cambridge-150x39.png
new file mode 100644
index 0000000..9249934
Binary files /dev/null and b/templates/web/i/cambridge-150x39.png differ
diff --git a/templates/web/index.xsl b/templates/web/index.xsl
index df302f4..3e4380b 100644
--- a/templates/web/index.xsl
+++ b/templates/web/index.xsl
@@ -73,6 +73,27 @@
.
+
+
+