theme/static/css/exo2.css

Tue, 28 Aug 2018 15:00:17 +0200

author
David Douard <david.douard@logilab.fr>
date
Tue, 28 Aug 2018 15:00:17 +0200
changeset 102
3be37c16285c
permissions
-rw-r--r--

[theme] embed exo 2 font

instead of using google

/* normal */
@font-face {
  font-family: 'Exo 2';
  font-style: normal;
  font-weight: 100;
  src: url(exo2/Exo2-Thin.otf) format('opentype');
}

@font-face {
  font-family: 'Exo 2';
  font-style: normal;
  font-weight: 200;
  src: url(exo2/Exo2-ExtraLight.otf) format('opentype');
}

@font-face {
  font-family: 'Exo 2';
  font-style: normal;
  font-weight: 300;
  src: url(exo2/Exo2-Light.otf) format('opentype');
}

@font-face {
  font-family: 'Exo 2';
  font-style: normal;
  font-weight: 400;
  src: url(exo2/Exo2-Regular.otf) format('opentype');
}

@font-face {
  font-family: 'Exo 2';
  font-style: normal;
  font-weight: 500;
  src: url(exo2/Exo2-Medium.otf) format('opentype');
}

@font-face {
  font-family: 'Exo 2';
  font-style: normal;
  font-weight: 600;
  src: url(exo2/Exo2-SemiBold.otf) format('opentype');
}

@font-face {
  font-family: 'Exo 2';
  font-style: normal;
  font-weight: 700;
  src: url(exo2/Exo2-Bold.otf) format('opentype');
}

@font-face {
  font-family: 'Exo 2';
  font-style: normal;
  font-weight: 800;
  src: url(exo2/Exo2-ExtraBold.otf) format('opentype');
}

@font-face {
  font-family: 'Exo 2';
  font-style: normal;
  font-weight: 900;
  src: url(exo2/Exo2-Black.otf) format('opentype');
}

/* italic */
@font-face {
  font-family: 'Exo 2';
  font-style: italic;
  font-weight: 100;
  src: url(exo2/Exo2-ThinItalic.otf) format('opentype');
}

@font-face {
  font-family: 'Exo 2';
  font-style: italic;
  font-weight: 200;
  src: url(exo2/Exo2-ExtraLightItalic.otf) format('opentype');
}

@font-face {
  font-family: 'Exo 2';
  font-style: italic;
  font-weight: 300;
  src: url(exo2/Exo2-LightItalic.otf) format('opentype');
}

@font-face {
  font-family: 'Exo 2';
  font-style: italic;
  font-weight: 400;
  src: url(exo2/Exo2-Italic.otf) format('opentype');
}

@font-face {
  font-family: 'Exo 2';
  font-style: italic;
  font-weight: 500;
  src: url(exo2/Exo2-MediumItalic.otf) format('opentype');
}

@font-face {
  font-family: 'Exo 2';
  font-style: italic;
  font-weight: 600;
  src: url(exo2/Exo2-SemiBoldItalic.otf) format('opentype');
}

@font-face {
  font-family: 'Exo 2';
  font-style: italic;
  font-weight: 700;
  src: url(exo2/Exo2-BoldItalic.otf) format('opentype');
}

@font-face {
  font-family: 'Exo 2';
  font-style: italic;
  font-weight: 800;
  src: url(exo2/Exo2-ExtraBoldItalic.otf) format('opentype');
}

@font-face {
  font-family: 'Exo 2';
  font-style: italic;
  font-weight: 900;
  src: url(exo2/Exo2-BlackItalic.otf) format('opentype');
}

mercurial