Tue, 28 Aug 2018 15:00:17 +0200
[theme] embed exo 2 font
instead of using google
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/theme/static/css/exo2.css Tue Aug 28 15:00:17 2018 +0200 @@ -0,0 +1,127 @@ +/* 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'); +}
--- a/theme/static/css/lamboz.css Fri Apr 20 01:11:16 2018 +0200 +++ b/theme/static/css/lamboz.css Tue Aug 28 15:00:17 2018 +0200 @@ -1,5 +1,5 @@ BODY,P,DIV, UL LI, OL LI, TD { - font-family:"Exo 2",sans-serif; + font-family:"Exo 2"; font-size: 12pt; margin: 0; }
--- a/theme/templates/base.html Fri Apr 20 01:11:16 2018 +0200 +++ b/theme/templates/base.html Tue Aug 28 15:00:17 2018 +0200 @@ -5,7 +5,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="{{ SITEURL}}/theme/css/foundation.min.css" media="all"> <script type="text/javascript" src="{{ SITEURL }}/theme/js/modernizr.js"></script> - <link href='https://fonts.googleapis.com/css?family=Exo+2:400,300,700,300italic,400italic,700italic,900,900italic' rel='stylesheet' type='text/css'> + <link href="{{ SITEURL }}/theme/css/exo2.css" rel='stylesheet' type='text/css'> <link rel="stylesheet" href="{{ SITEURL }}/theme/css/lamboz.css" media="all"> {% block head %} <title>{% block title %}{{ SITENAME }}{% endblock title %}</title>