Skip to content

Commit

Permalink
Add cyrillic fonts and fix dao images for /ru (#339)
Browse files Browse the repository at this point in the history
DAO images are still in English, but without other errors. Russian translations will be done once the strings are in Transifex.
  • Loading branch information
FKrauss authored Feb 16, 2020
1 parent 989bfc9 commit 7d7ebce
Show file tree
Hide file tree
Showing 41 changed files with 453 additions and 1,983 deletions.
6 changes: 4 additions & 2 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,11 @@
<meta name="twitter:creator" content="@bisq_network">
<link rel="canonical" href="{{ page.url }}">
{% if page.lang == "ja" %}
<link href="/css/jafont.css" rel="stylesheet">
<link href="/css/jafont.css" rel="stylesheet">
{% elsif page.lang == "ru" %}
<link href="/css/rufont.css" rel="stylesheet">
{% else %}
<link href="/css/fonts.css" rel="stylesheet">
<link href="/css/fonts.css" rel="stylesheet">
{% endif %}

<style>
Expand Down
156 changes: 156 additions & 0 deletions css/rufont.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
---
# this ensures Jekyll reads the file to be transformed into CSS later
# only Main files contain this front matter, not partials.
---

/* ibm-plex-mono-200 - cyrillic */
@font-face {
font-family: 'IBM Plex Mono';
font-style: normal;
font-weight: 200;
src: local('IBM Plex Mono ExtraLight'), local('IBMPlexMono-ExtraLight'),
url('../fonts/IBMPlexMono-ExtraLight-Cyrillic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('../fonts/IBMPlexMono-ExtraLight-Cyrillic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
unicode-range: U+0400-045F, U+0472-0473, U+0490-049D, U+04A0-04A5, U+04AA-04AB, U+04AE-04B3, U+04B6-04BB, U+04C0-04C2, U+04CF-04D9, U+04DC-04DF, U+04E2-04E9, U+04EE-04F5, U+04F8-04F9;
}

/* ibm-plex-sans-100 - cyrillic */
@font-face {
font-family: 'IBM Plex Sans';
font-style: normal;
font-weight: 100;
src: local('IBM Plex Sans Thin'), local('IBMPlexSans-Thin'),
url('../fonts/IBMPlexSans-Thin-Cyrillic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('../fonts/IBMPlexSans-Thin-Cyrillic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
unicode-range: U+0400-045F, U+0472-0473, U+0490-049D, U+04A0-04A5, U+04AA-04AB, U+04AE-04B3, U+04B6-04BB, U+04C0-04C2, U+04CF-04D9, U+04DC-04DF, U+04E2-04E9, U+04EE-04F5, U+04F8-04F9;
}
/* ibm-plex-sans-100italic - cyrillic */
@font-face {
font-family: 'IBM Plex Sans';
font-style: italic;
font-weight: 100;
src: local('IBM Plex Sans Thin Italic'), local('IBMPlexSans-ThinItalic'),
url('../fonts/IBMPlexSans-ThinItalic-Cyrillic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('../fonts/IBMPlexSans-ThinItalic-Cyrillic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
unicode-range: U+0400-045F, U+0472-0473, U+0490-049D, U+04A0-04A5, U+04AA-04AB, U+04AE-04B3, U+04B6-04BB, U+04C0-04C2, U+04CF-04D9, U+04DC-04DF, U+04E2-04E9, U+04EE-04F5, U+04F8-04F9;
}
/* ibm-plex-sans-200 - cyrillic */
@font-face {
font-family: 'IBM Plex Sans';
font-style: normal;
font-weight: 200;
src: local('IBM Plex Sans ExtraLight'), local('IBMPlexSans-ExtraLight'),
url('../fonts/IBMPlexSans-ExtraLight-Cyrillic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('../fonts/IBMPlexSans-ExtraLight-Cyrillic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
unicode-range: U+0400-045F, U+0472-0473, U+0490-049D, U+04A0-04A5, U+04AA-04AB, U+04AE-04B3, U+04B6-04BB, U+04C0-04C2, U+04CF-04D9, U+04DC-04DF, U+04E2-04E9, U+04EE-04F5, U+04F8-04F9;
}
/* ibm-plex-sans-200italic - cyrillic */
@font-face {
font-family: 'IBM Plex Sans';
font-style: italic;
font-weight: 200;
src: local('IBM Plex Sans ExtraLight Italic'), local('IBMPlexSans-ExtraLightItalic'),
url('../fonts/IBMPlexSans-ExtraLightItalic-Cyrillic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('../fonts/IBMPlexSans-ExtraLightItalic-Cyrillic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
unicode-range: U+0400-045F, U+0472-0473, U+0490-049D, U+04A0-04A5, U+04AA-04AB, U+04AE-04B3, U+04B6-04BB, U+04C0-04C2, U+04CF-04D9, U+04DC-04DF, U+04E2-04E9, U+04EE-04F5, U+04F8-04F9;
}
/* ibm-plex-sans-300 - cyrillic */
@font-face {
font-family: 'IBM Plex Sans';
font-style: normal;
font-weight: 300;
src: local('IBM Plex Sans Light'), local('IBMPlexSans-Light'),
url('../fonts/IBMPlexSans-Light-Cyrillic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('../fonts/IBMPlexSans-Light-Cyrillic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
unicode-range: U+0400-045F, U+0472-0473, U+0490-049D, U+04A0-04A5, U+04AA-04AB, U+04AE-04B3, U+04B6-04BB, U+04C0-04C2, U+04CF-04D9, U+04DC-04DF, U+04E2-04E9, U+04EE-04F5, U+04F8-04F9;
}
/* ibm-plex-sans-300italic - cyrillic */
@font-face {
font-family: 'IBM Plex Sans';
font-style: italic;
font-weight: 300;
src: local('IBM Plex Sans Light Italic'), local('IBMPlexSans-LightItalic'),
url('../fonts/IBMPlexSans-LightItalic-Cyrillic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('../fonts/IBMPlexSans-LightItalic-Cyrillic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
unicode-range: U+0400-045F, U+0472-0473, U+0490-049D, U+04A0-04A5, U+04AA-04AB, U+04AE-04B3, U+04B6-04BB, U+04C0-04C2, U+04CF-04D9, U+04DC-04DF, U+04E2-04E9, U+04EE-04F5, U+04F8-04F9;
}
/* ibm-plex-sans-regular - cyrillic */
@font-face {
font-family: 'IBM Plex Sans';
font-style: normal;
font-weight: 400;
src: local('IBM Plex Sans'), local('IBMPlexSans'),
url('../fonts/IBMPlexSans-Regular-Cyrillic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('../fonts/IBMPlexSans-Regular-Cyrillic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
unicode-range: U+0400-045F, U+0472-0473, U+0490-049D, U+04A0-04A5, U+04AA-04AB, U+04AE-04B3, U+04B6-04BB, U+04C0-04C2, U+04CF-04D9, U+04DC-04DF, U+04E2-04E9, U+04EE-04F5, U+04F8-04F9;
}
/* ibm-plex-sans-italic - cyrillic */
@font-face {
font-family: 'IBM Plex Sans';
font-style: italic;
font-weight: 400;
src: local('IBM Plex Sans Italic'), local('IBMPlexSans-Italic'),
url('../fonts/IBMPlexSans-Italic-Cyrillic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('../fonts/IBMPlexSans-Italic-Cyrillic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
unicode-range: U+0400-045F, U+0472-0473, U+0490-049D, U+04A0-04A5, U+04AA-04AB, U+04AE-04B3, U+04B6-04BB, U+04C0-04C2, U+04CF-04D9, U+04DC-04DF, U+04E2-04E9, U+04EE-04F5, U+04F8-04F9;
}
/* ibm-plex-sans-500 - cyrillic */
@font-face {
font-family: 'IBM Plex Sans';
font-style: normal;
font-weight: 500;
src: local('IBM Plex Sans Medium'), local('IBMPlexSans-Medium'),
url('../fonts/IBMPlexSans-Medium-Cyrillic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('../fonts/IBMPlexSans-Medium-Cyrillic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
unicode-range: U+0400-045F, U+0472-0473, U+0490-049D, U+04A0-04A5, U+04AA-04AB, U+04AE-04B3, U+04B6-04BB, U+04C0-04C2, U+04CF-04D9, U+04DC-04DF, U+04E2-04E9, U+04EE-04F5, U+04F8-04F9;
}
/* ibm-plex-sans-500italic - cyrillic */
@font-face {
font-family: 'IBM Plex Sans';
font-style: italic;
font-weight: 500;
src: local('IBM Plex Sans Medium Italic'), local('IBMPlexSans-MediumItalic'),
url('../fonts/IBMPlexSans-MediumItalic-Cyrillic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('../fonts/IBMPlexSans-MediumItalic-Cyrillic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
unicode-range: U+0400-045F, U+0472-0473, U+0490-049D, U+04A0-04A5, U+04AA-04AB, U+04AE-04B3, U+04B6-04BB, U+04C0-04C2, U+04CF-04D9, U+04DC-04DF, U+04E2-04E9, U+04EE-04F5, U+04F8-04F9;
}
/* ibm-plex-sans-600 - cyrillic */
@font-face {
font-family: 'IBM Plex Sans';
font-style: normal;
font-weight: 600;
src: local('IBM Plex Sans SemiBold'), local('IBMPlexSans-SemiBold'),
url('../fonts/IBMPlexSans-SemiBold-Cyrillic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('../fonts/IBMPlexSans-SemiBold-Cyrillic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
unicode-range: U+0400-045F, U+0472-0473, U+0490-049D, U+04A0-04A5, U+04AA-04AB, U+04AE-04B3, U+04B6-04BB, U+04C0-04C2, U+04CF-04D9, U+04DC-04DF, U+04E2-04E9, U+04EE-04F5, U+04F8-04F9;
}
/* ibm-plex-sans-600italic - cyrillic */
@font-face {
font-family: 'IBM Plex Sans';
font-style: italic;
font-weight: 600;
src: local('IBM Plex Sans SemiBold Italic'), local('IBMPlexSans-SemiBoldItalic'),
url('../fonts/IBMPlexSans-SemiBoldItalic-Cyrillic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('../fonts/IBMPlexSans-SemiBoldItalic-Cyrillic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
unicode-range: U+0400-045F, U+0472-0473, U+0490-049D, U+04A0-04A5, U+04AA-04AB, U+04AE-04B3, U+04B6-04BB, U+04C0-04C2, U+04CF-04D9, U+04DC-04DF, U+04E2-04E9, U+04EE-04F5, U+04F8-04F9;
}
/* ibm-plex-sans-700 - cyrillic */
@font-face {
font-family: 'IBM Plex Sans';
font-style: normal;
font-weight: 700;
src: local('IBM Plex Sans Bold'), local('IBMPlexSans-Bold'),
url('../fonts/IBMPlexSans-Bold-Cyrillic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('../fonts/IBMPlexSans-Bold-Cyrillic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
unicode-range: U+0400-045F, U+0472-0473, U+0490-049D, U+04A0-04A5, U+04AA-04AB, U+04AE-04B3, U+04B6-04BB, U+04C0-04C2, U+04CF-04D9, U+04DC-04DF, U+04E2-04E9, U+04EE-04F5, U+04F8-04F9;
}
/* ibm-plex-sans-700italic - cyrillic */
@font-face {
font-family: 'IBM Plex Sans';
font-style: italic;
font-weight: 700;
src: local('IBM Plex Sans Bold Italic'), local('IBMPlexSans-BoldItalic'),
url('../fonts/IBMPlexSans-BoldItalic-Cyrillic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('../fonts/IBMPlexSans-BoldItalic-Cyrillic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
unicode-range: U+0400-045F, U+0472-0473, U+0490-049D, U+04A0-04A5, U+04AA-04AB, U+04AE-04B3, U+04B6-04BB, U+04C0-04C2, U+04CF-04D9, U+04DC-04DF, U+04E2-04E9, U+04EE-04F5, U+04F8-04F9;
}
Binary file added fonts/IBMPlexMono-ExtraLight-Cyrillic.woff
Binary file not shown.
Binary file added fonts/IBMPlexMono-ExtraLight-Cyrillic.woff2
Binary file not shown.
Binary file added fonts/IBMPlexSans-Bold-Cyrillic.woff
Binary file not shown.
Binary file added fonts/IBMPlexSans-Bold-Cyrillic.woff2
Binary file not shown.
Binary file added fonts/IBMPlexSans-BoldItalic-Cyrillic.woff
Binary file not shown.
Binary file added fonts/IBMPlexSans-BoldItalic-Cyrillic.woff2
Binary file not shown.
Binary file added fonts/IBMPlexSans-ExtraLight-Cyrillic.woff
Binary file not shown.
Binary file added fonts/IBMPlexSans-ExtraLight-Cyrillic.woff2
Binary file not shown.
Binary file added fonts/IBMPlexSans-ExtraLightItalic-Cyrillic.woff
Binary file not shown.
Binary file added fonts/IBMPlexSans-ExtraLightItalic-Cyrillic.woff2
Binary file not shown.
Binary file added fonts/IBMPlexSans-Italic-Cyrillic.woff
Binary file not shown.
Binary file added fonts/IBMPlexSans-Italic-Cyrillic.woff2
Binary file not shown.
Binary file added fonts/IBMPlexSans-Light-Cyrillic.woff
Binary file not shown.
Binary file added fonts/IBMPlexSans-Light-Cyrillic.woff2
Binary file not shown.
Binary file added fonts/IBMPlexSans-LightItalic-Cyrillic.woff
Binary file not shown.
Binary file added fonts/IBMPlexSans-LightItalic-Cyrillic.woff2
Binary file not shown.
Binary file added fonts/IBMPlexSans-Medium-Cyrillic.woff
Binary file not shown.
Binary file added fonts/IBMPlexSans-Medium-Cyrillic.woff2
Binary file not shown.
Binary file added fonts/IBMPlexSans-MediumItalic-Cyrillic.woff
Binary file not shown.
Binary file added fonts/IBMPlexSans-MediumItalic-Cyrillic.woff2
Binary file not shown.
Binary file added fonts/IBMPlexSans-Regular-Cyrillic.woff
Binary file not shown.
Binary file added fonts/IBMPlexSans-Regular-Cyrillic.woff2
Binary file not shown.
Binary file added fonts/IBMPlexSans-SemiBold-Cyrillic.woff
Binary file not shown.
Binary file added fonts/IBMPlexSans-SemiBold-Cyrillic.woff2
Binary file not shown.
Binary file added fonts/IBMPlexSans-SemiBoldItalic-Cyrillic.woff
Binary file not shown.
Binary file added fonts/IBMPlexSans-SemiBoldItalic-Cyrillic.woff2
Binary file not shown.
Binary file added fonts/IBMPlexSans-Thin-Cyrillic.woff
Binary file not shown.
Binary file added fonts/IBMPlexSans-Thin-Cyrillic.woff2
Binary file not shown.
Binary file added fonts/IBMPlexSans-ThinItalic-Cyrillic.woff
Binary file not shown.
Binary file added fonts/IBMPlexSans-ThinItalic-Cyrillic.woff2
Binary file not shown.
174 changes: 21 additions & 153 deletions ru/images/DAO/dao_benefits.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 7d7ebce

Please sign in to comment.