MediaWiki:BITPlan.rythm

From BITPlan Wiki
Revision as of 09:16, 9 November 2017 by Wf (talk | contribs)
Jump to navigation Jump to search

Links

Rythm Template

@// BITPlan style definitions
@def style() 
  <style>
    a:hover {	
      color: #FFFFFF;
      background-color: rgba(255,128,00,0.5);
    }
    h1,h2,h3,.bitplanorange {
      color: #FF8000;
    }
    .floatleft {
      float: left;
      margin: 1vw;
    }
    .floatright {
      float: right;
      margin: 1vw;
    }
    footer{
      text-align: center;	 
    }
    .copyright {
      font-size: 0.5vw;
    }
    .imprint {
      font-size: 0.8vw;
    }
    ul li{
      margin-bottom:1vh;
    }

/** Language styles */

span.lang-de, span.lang-De {
	padding-right: 25px;
	background: url(http://wiki.bitplan.com/images/e/e7/Lang-De.gif) center right no-repeat;
}

span.lang-en, span.lang-En {
	padding-right: 25px;
	background: url(http://wiki.bitplan.com/images/7/78/Lang-En.gif) center right no-repeat;
}
  </style>
}
@// the BITPlan imprint footer
@def footer(boolean de) {
 <footer class='container'> 
      <nav>
         <span class='copyright'>© 2017&nbsp;
           <a href='http://www.bitplan.com'>BITPlan GmbH.</a>&nbsp;@(de?"Alle Rechte vorbehalten":"All rights reserved").
         </span>
         &nbsp;
         <span class='imprint'><a href='http://training.bitplan.com/index.php/@(de?"Impressum":"Imprint")'>@(de?"Impressum":"Imprint")</a></span>
      </nav>
    </footer>
  </body>
</html>
}