Skip to content
Snippets Groups Projects
font-ptb.css 1.30 KiB
/*!
 *  css for "Font PTB-logos" 1.0
 *  Rolf Niepraschk, 2013-11-08, Rolf.Niepraschk@ptb.de
 *  Inspired by "font-awesome.css" (http://fontawesome.io/)
 */
/* FONT PATH
 * -------------------------- */
@font-face {
  font-family: 'PTB-logos';
  src:url('../fonts/PTB-logos.eot');
  src:url('../fonts/PTB-logos.eot?#iefix') format('embedded-opentype'),
    url('../fonts/PTB-logos.ttf') format('truetype'),
    url('../fonts/PTB-logos.woff') format('woff'),
    url('../fonts/PTB-logos.svg#PTB-logos') format('svg');
  font-weight: normal;
  font-style: normal;
}

.ptb-l,.ptb-lx{
  display: inline-block;
  font-family: PTB-logos;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.ptb-l {
  color:#009bce; /* #009dd4 #00acdf ??? */
}

.ptb-2x {
  font-size: 2em;
}
.ptb-3x {
  font-size: 3em;
}
.ptb-4x {
  font-size: 4em;
}
.ptb-5x {
  font-size: 5em;
}
.ptb-fw {
  width: 1.2857142857142858em;
  text-align: center;
}

/* Font PTB-logos uses the Unicode Private Use Area (PUA) to ensure screen
   readers do not read off random characters that represent icons */
.ptblogo:before {
  content: "\f000";
}
.ptblogo-left:before {
  content: "\f001";
}
.ptblogo-right:before {
  content: "\f002";
}
.ptblogo-old:before {
  content: "\f003";
}