Jump to content

Wikimedia Czech Republic/Banners/1lib1ref 2024

From Meta, a Wikimedia project coordination wiki
<style type="text/css">
    #iwd {
        padding: 0;
        width: 80%;
        margin-bottom: 1em;
      margin:auto;
        position: relative;
        font-family: Inter, Helvetica, Arial, sans-serif;
        background-image: url('https://upload.wikimedia.org/wikipedia/commons/2/25/Purple_Paper_Texture.png');
      background-repeat: no-repeat;
        background-size: cover;
        background-position: 40% 47%;
    }
    
    #mw-mf-viewport #iwd {
        margin-bottom: 0!important;
    }
    
    #iwd>a {
        display: table;
        table-layout: fixed;
        border: 1px solid rgba(0, 0, 0, 0.3);
        text-align: left;
        width: 100%;
        padding: 0;
        box-shadow: 0.1em 0.1em 0.6em 0 rgba(0, 0, 0, 0.4);
        transition: box-shadow 0.3s;
        height: 3em;
        text-decoration: none;
    }
    
    #iwd>a:hover {
        text-decoration: underline;
        text-decoration-color:#000;
        box-shadow: 0.06em 0.06em 0.4em 0 rgba(0, 0, 0, 0.7);
    }
    
    #iwd,
    #iwd * {
        box-sizing: border-box;
    }
    
    #iwd>a>* {
        display: table-cell;
        vertical-align: middle;
        /*padding: 0.7em 1.5em;*/
    }
    
    #iwd>a .iwd-logo {
        width: 4em;
        text-indent: -1000em;
        background-image: url('https://upload.wikimedia.org/wikipedia/commons/b/b3/Wikipedia_Library_owl.svg');
        background-repeat: no-repeat;
        background-size: contain;
        background-position: 40% 47%;
        padding: 1.5em;
    }
    
    #iwd .iwd-cta {
        position: relative;
        width: 18em;
        padding: 1.5em;
    }
  
  #iwd .iwd-cta p{
    font-size:1.1em;
    color: #000;
    line-height: 1.5;
    padding-left: 5.2em;
    font-family: Inter, Helvetica, Arial, sans-serif;
  }
  
  #iwd .iwd-cta p span{
    font-weight: bold;
  }
    
    #iwd .iwd-close {
        position: absolute;
        right: 0.4em;
        top: 0.4em;
    }
    
    .banner-container {
        margin: 0;
        max-width: 100%;
    }
  
  #cnotice-translation-link {
    position: absolute;
    right: 40px;
    bottom: 10px;
    font-size: 0.8em;
    white-space: nowrap;
}

#cnotice-translation-link > a {
    padding: 0 5px;
}

#cnotice-translation-link:hover {
    text-decoration: underline;
}
  
  /* Media queries */

  @media (min-width: 320px) and (max-width: 480px){
    #iwd > a .iwd-logo {
      display:none;
    }
    #iwd .iwd-cta p{
      padding-left: 1.2em;
      padding-bottom: 5px;
  }
    #iwd {
        padding: 0;
        width: 100%;
    }
    
     #cnotice-translation-link {
    bottom: 5px;
}
  }
  
  @media (min-width: 768px) and (max-width: 1024px) {
    #iwd>a .iwd-logo {
        background-repeat: no-repeat;
  }
    #iwd .iwd-cta p{
    padding-left: 1.5em;
  }
    #iwd {
        padding: 0;
        width: 100%;
    }
  }
</style>

<div id="iwd">
    <a href="https://cs.wikipedia.org/wiki/Wikipedie:1Lib1Ref" target="_blank">
        <div class="iwd-logo"></div>
        <div class="iwd-cta"><p><span><b>#1Lib1Ref – Představte si svět, ve kterém každý přidá byť jen jednu referenci na Wikipedii!</b> </span><br />Kampaň #1Lib1Ref vyzývá v období 15. května – 5. června nejen knihovníky, aby obohatili Wikipedii o alespoň jednu citaci. Nejaktivnější účastníci obdrží drobné ceny, zapojte se i vy!<br />
          <span><b>
</b></span>
        </p></div>
    </a>
    <div id="cn-toggle-box" class="iwd-close">
        <a href="#" title="{{int:centralnotice-shared-hide}}" onclick="mw.centralNotice.hideBanner();return false;">
            <img border="0" src="https://upload.wikimedia.org/wikipedia/commons/2/20/CloseWindow19x19.png" alt="{{int:centralnotice-shared-hide}}" /></a>
    </div>

  
</div>