# HG changeset patch # User David Douard # Date 1535461217 -7200 # Node ID 3be37c16285c02d6a683209543bce8726d02ada6 # Parent 4a94e81bff740b310b6460e20d5fa62a97fb97ca [theme] embed exo 2 font instead of using google diff -r 4a94e81bff74 -r 3be37c16285c theme/static/css/exo2.css --- /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'); +} diff -r 4a94e81bff74 -r 3be37c16285c theme/static/css/exo2/Exo2-Black.otf Binary file theme/static/css/exo2/Exo2-Black.otf has changed diff -r 4a94e81bff74 -r 3be37c16285c theme/static/css/exo2/Exo2-BlackItalic.otf Binary file theme/static/css/exo2/Exo2-BlackItalic.otf has changed diff -r 4a94e81bff74 -r 3be37c16285c theme/static/css/exo2/Exo2-Bold.otf Binary file theme/static/css/exo2/Exo2-Bold.otf has changed diff -r 4a94e81bff74 -r 3be37c16285c theme/static/css/exo2/Exo2-BoldItalic.otf Binary file theme/static/css/exo2/Exo2-BoldItalic.otf has changed diff -r 4a94e81bff74 -r 3be37c16285c theme/static/css/exo2/Exo2-ExtraBold.otf Binary file theme/static/css/exo2/Exo2-ExtraBold.otf has changed diff -r 4a94e81bff74 -r 3be37c16285c theme/static/css/exo2/Exo2-ExtraBoldItalic.otf Binary file theme/static/css/exo2/Exo2-ExtraBoldItalic.otf has changed diff -r 4a94e81bff74 -r 3be37c16285c theme/static/css/exo2/Exo2-ExtraLight.otf Binary file theme/static/css/exo2/Exo2-ExtraLight.otf has changed diff -r 4a94e81bff74 -r 3be37c16285c theme/static/css/exo2/Exo2-ExtraLightItalic.otf Binary file theme/static/css/exo2/Exo2-ExtraLightItalic.otf has changed diff -r 4a94e81bff74 -r 3be37c16285c theme/static/css/exo2/Exo2-Italic.otf Binary file theme/static/css/exo2/Exo2-Italic.otf has changed diff -r 4a94e81bff74 -r 3be37c16285c theme/static/css/exo2/Exo2-Light.otf Binary file theme/static/css/exo2/Exo2-Light.otf has changed diff -r 4a94e81bff74 -r 3be37c16285c theme/static/css/exo2/Exo2-LightItalic.otf Binary file theme/static/css/exo2/Exo2-LightItalic.otf has changed diff -r 4a94e81bff74 -r 3be37c16285c theme/static/css/exo2/Exo2-Medium.otf Binary file theme/static/css/exo2/Exo2-Medium.otf has changed diff -r 4a94e81bff74 -r 3be37c16285c theme/static/css/exo2/Exo2-MediumItalic.otf Binary file theme/static/css/exo2/Exo2-MediumItalic.otf has changed diff -r 4a94e81bff74 -r 3be37c16285c theme/static/css/exo2/Exo2-Regular.otf Binary file theme/static/css/exo2/Exo2-Regular.otf has changed diff -r 4a94e81bff74 -r 3be37c16285c theme/static/css/exo2/Exo2-SemiBold.otf Binary file theme/static/css/exo2/Exo2-SemiBold.otf has changed diff -r 4a94e81bff74 -r 3be37c16285c theme/static/css/exo2/Exo2-SemiBoldItalic.otf Binary file theme/static/css/exo2/Exo2-SemiBoldItalic.otf has changed diff -r 4a94e81bff74 -r 3be37c16285c theme/static/css/exo2/Exo2-Thin.otf Binary file theme/static/css/exo2/Exo2-Thin.otf has changed diff -r 4a94e81bff74 -r 3be37c16285c theme/static/css/exo2/Exo2-ThinItalic.otf Binary file theme/static/css/exo2/Exo2-ThinItalic.otf has changed diff -r 4a94e81bff74 -r 3be37c16285c theme/static/css/lamboz.css --- 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; } diff -r 4a94e81bff74 -r 3be37c16285c theme/templates/base.html --- 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 @@ - + {% block head %} {% block title %}{{ SITENAME }}{% endblock title %}