lilykonings/wikireader

style banners

Opened this issue · 1 comments

<div id="siteNotice"><div id="centralNotice" class="cn-wlm2016us"><style type="text/css">
#cn-toggle-box {
  float: right;
}
.wlm_2012_org_image {
  border: 0;
  float: left;
  margin-left: 15px;
  margin-top: -15px; 
}
</style>
<script type="text/javascript">
var cn_rewrite_url = function() {
  url = '';
  switch(Geo.country) {
   case 'US':
     url = '//commons.wikimedia.org/wiki/Commons:Wiki_Loves_Monuments_2016_in_the_United_States';
     break;
   case 'AS':
     url = '//commons.wikimedia.org/wiki/Commons:Wiki_Loves_Monuments_2016_in_the_United_States';
     break;
   case 'GU':
     url = '//commons.wikimedia.org/wiki/Commons:Wiki_Loves_Monuments_2016_in_the_United_States';
     break;
   case 'MP':
     url = '//commons.wikimedia.org/wiki/Commons:Wiki_Loves_Monuments_2016_in_the_United_States';
     break;
   case 'PR':
     url = '//commons.wikimedia.org/wiki/Commons:Wiki_Loves_Monuments_2016_in_the_United_States';
     break;
   case 'VI':
     url = '//commons.wikimedia.org/wiki/Commons:Wiki_Loves_Monuments_2016_in_the_United_States';
     break;
   case 'UM':
     url = '//commons.wikimedia.org/wiki/Commons:Wiki_Loves_Monuments_2016_in_the_United_States';
     break;
  }
  $("div#wlm-banner a.wlm-mainlink").attr("href",url);
}
$(document).ready(cn_rewrite_url);
</script>
<div id="wlm-banner" class="plainlinks" style="background:#FCFCFC; border:1px solid #9E0101; margin: 0 auto 1em auto; font-size: 120%; overflow: hidden; text-align: center; padding: 0.5ex;">
<div id="cn-toggle-box" style="float:right;"><a href="#" title="Hide" onclick="hideBanner();return false;"><img border="0" src="//upload.wikimedia.org/wikipedia/foundation/2/20/CloseWindow19x19.png" alt="Hide"></a></div>
<div style="margin-top: 17px">
<a class="wlm-mainlink" href="//commons.wikimedia.org/wiki/Commons:Wiki_Loves_Monuments_2016_in_the_United_States">
<img src="//upload.wikimedia.org/wikipedia/commons/thumb/c/ca/Wiki_Loves_Monuments_Logo_notext.svg/60px-Wiki_Loves_Monuments_Logo_notext.svg.png" class="wlm_2012_org_image" style="float:left; margin-left: 15px; margin-top: -17px">
<img src="//upload.wikimedia.org/wikipedia/commons/thumb/b/b2/%C3%96rebro_slott_resynth.jpg/77px-%C3%96rebro_slott_resynth.jpg" class="wlm_2012_org_image" style="float:right; margin-right: 10px; margin-top: -15px"></a><a class="wlm-mainlink" href="//commons.wikimedia.org/wiki/Commons:Wiki_Loves_Monuments_2016_in_the_United_States">Wiki Loves Monuments: The world's largest photography competition is now open! Photograph a historic site, learn more about our history, and win prizes.</a></div></div></div><!-- CentralNotice --></div>