aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/web/makemyisland/front/footer-marketing.html3
-rw-r--r--templates/web/makemyisland/header_logo.html2
-rw-r--r--web/cobrands/makemyisland/base.scss4
-rw-r--r--web/cobrands/makemyisland/layout.scss19
-rw-r--r--web/cobrands/makemyisland/undp-logo-2013.pngbin0 -> 1979 bytes
-rw-r--r--web/cobrands/makemyisland/undp-logo-horizontal.pngbin3077 -> 0 bytes
6 files changed, 25 insertions, 3 deletions
diff --git a/templates/web/makemyisland/front/footer-marketing.html b/templates/web/makemyisland/front/footer-marketing.html
index 64e86f574..e69de29bb 100644
--- a/templates/web/makemyisland/front/footer-marketing.html
+++ b/templates/web/makemyisland/front/footer-marketing.html
@@ -1,3 +0,0 @@
-<a href="http://www.undp.org/"title="United Nations Development Programme">
- <img src="/cobrands/makemyisland/undp-logo-horizontal.png" alt="UNDP">
-</a> \ No newline at end of file
diff --git a/templates/web/makemyisland/header_logo.html b/templates/web/makemyisland/header_logo.html
new file mode 100644
index 000000000..8595ab693
--- /dev/null
+++ b/templates/web/makemyisland/header_logo.html
@@ -0,0 +1,2 @@
+ <a href="http://www.undp.org/" id="united-nations-dp-logo">UNDP</a>
+ <a href="/" id="site-logo">[% c.cobrand.site_title | html %]</a>
diff --git a/web/cobrands/makemyisland/base.scss b/web/cobrands/makemyisland/base.scss
index 7cf028ceb..b78638e00 100644
--- a/web/cobrands/makemyisland/base.scss
+++ b/web/cobrands/makemyisland/base.scss
@@ -12,6 +12,10 @@
background-color: $blue;
}
+#united-nations-dp-logo {
+ display: none;
+}
+
#site-header,
body.frontpage #site-header,
body.mappage #site-header,
diff --git a/web/cobrands/makemyisland/layout.scss b/web/cobrands/makemyisland/layout.scss
index 1cedb404e..73f46cb69 100644
--- a/web/cobrands/makemyisland/layout.scss
+++ b/web/cobrands/makemyisland/layout.scss
@@ -17,4 +17,23 @@ body.mappage #site-logo {
body.frontpage #site-logo {
margin-top: -35px;
+ width: 100px;
}
+
+body.frontpage #united-nations-dp-logo {
+ display: block;
+ float:right;
+ position: relative;
+ background: url(/cobrands/makemyisland/undp-logo-2013.png) top right no-repeat;
+ background-size: contain;
+ background-color: transparent;
+ text-indent: -999999px;
+ height: 100px;
+ width: 51px;
+ margin: 10px 10px 0 0;
+ z-index:3; // clear of the nav container
+}
+
+ul#main-menu {
+ margin-right: 70px; // to clear the UNDP logo
+} \ No newline at end of file
diff --git a/web/cobrands/makemyisland/undp-logo-2013.png b/web/cobrands/makemyisland/undp-logo-2013.png
new file mode 100644
index 000000000..ed537e6cf
--- /dev/null
+++ b/web/cobrands/makemyisland/undp-logo-2013.png
Binary files differ
diff --git a/web/cobrands/makemyisland/undp-logo-horizontal.png b/web/cobrands/makemyisland/undp-logo-horizontal.png
deleted file mode 100644
index 9763dc972..000000000
--- a/web/cobrands/makemyisland/undp-logo-horizontal.png
+++ /dev/null
Binary files differ