Wednesday, February 24, 2016

Change font size by language using CSS

Quick useful when browser render text with different size in different languages:

html:lang(en) h1{
    font-size: 20px;
}

html:lang(ko) h1{
    font-size: 10px;
}
Reference: http://stackoverflow.com/questions/15267355/change-font-size-based-on-language

Upgrade nodejs in conda (from v18 to v26)

If your conda env is nodejs v18, doing a conda install nodejs=26 is likely to create a lot of conflict. Consider remove those conflicting p...