Difference between revisions of "Template:Freiburg/CSS"

Line 95: Line 95:
  
  
/* ============= Declare Fonts for non-Windows machines ============= */
+
/* ============= Implement custom fonts ============= */
  
  
Line 116: Line 116:
 
   font-style: italic;
 
   font-style: italic;
 
}
 
}
 +
@font-face {
 +
    font-family: Roboto;
 +
    src: url(https://static.igem.org/mediawiki/2015/c/c3/Freiburg_Roboto-Regular.ttf) format('truetype');
 +
 +
}
 +
@font-face {
 +
    font-family: Roboto;
 +
    src: url(https://static.igem.org/mediawiki/2015/b/b9/Freiburg_Roboto-Bold.ttf)  format('truetype');
 +
    font-weight: bold;
 +
    font-style: normal;
 +
}
 +
@font-face {
 +
    font-family: Roboto;
 +
    src: url(https://static.igem.org/mediawiki/2015/2/2e/Freiburg_Roboto-Italic.ttf)  format('truetype');
 +
  font-weight: normal;
 +
  font-style: italic;
 +
}
 +
@font-face {
 +
    font-family: Roboto;
 +
    src: url(https://static.igem.org/mediawiki/2015/2/2f/Freiburg_Roboto-BoldItalic.ttf)  format('truetype');
 +
  font-weight: bold;
 +
  font-style: italic;
 +
}
 +
  
 
/* ============= END: Declare Fonts for non-Windows machines  ============= */
 
/* ============= END: Declare Fonts for non-Windows machines  ============= */

Revision as of 16:28, 16 August 2015