There are three basic languages used on my website. I put lang="en"
in html tag. In the CSS file I write the following:
body {
...
font-family: 'Open Sans';
font-size: 10pt;
...
}
So, if the text on the website is in English either Russian it uses the web font called Open Sans. And this works OK.
Now I want to make so when I write a text in Armenian it to use a web font Arian AMU, but it doesn't work this way: font-family: 'Open Sans', 'Ariam AMU';
In the CSS, I write
:lang(hy) {
font-family: 'Arian AMU';
font-size: 10.5pt;
line-height: 18px;
}
And I put lang="hy"
in p
tags when the whole text is in Armenian.
The question is, how can I make it so that if the language is Russian or English, it writes in Open Sans 10pt
and when it's Armenian, Ariam AMU 10.5pt
and line-height of 18px.