Improve readability in small width contexts

Use text-align:left on mobiles instead of justify
Use hyphenator.js to hyphenate wallet's description
(CSS hyphenation will need to support hyphenate-limit-zone
to be used while not generating too much hyphens)
This commit is contained in:
Saivann 2013-11-01 01:33:39 -04:00
parent c40c6c68bf
commit db9910ffa9
13 changed files with 2977 additions and 27 deletions

View file

@ -24,6 +24,17 @@ menu:
{% if page.lang == 'ar' or page.lang == 'fa' %}{% lesscss rtl.less %}{% endif %}
{% if page.lang == 'pl' or page.lang == 'ru' or page.lang == 'zh_CN' or page.lang == 'zh_TW' %}{% lesscss sans.less %}{% endif %}
<script type="text/javascript" src="/js/main.js"></script>
{% if page.lang == 'de' or page.lang == 'es' or page.lang == 'it' or page.lang == 'nl' or page.lang == 'pl' or page.lang == 'ru' or page.lang == 'tr' %}
<script src="/js/hyphenator.js" type="text/javascript"></script>
<script type="text/javascript">
if(typeof(legacyIE)==='undefined'){
Hyphenator.config({
{% if page.lang == 'ru' %}minwordlength : 7{% else %}minwordlength : 9{% endif %}
});
Hyphenator.run();
}
</script>
{% endif %}
<link rel="shortcut icon" href="/favicon.png">
<link rel="apple-touch-icon-precomposed" href="/img/logo_ios.png"/>
</head>