add lang attribute to 3.6 billboard pages, add tweaks to japanese style

This commit is contained in:
James Long 2012-04-18 11:16:37 -04:00
Родитель d36529fd5e
Коммит 340a146295
7 изменённых файлов: 20 добавлений и 8 удалений

Просмотреть файл

@ -1,6 +1,6 @@
{% set_lang_files "upgradedialog" %}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{ LANG }}" lang="{{ LANG }}">
<head>
<title>{{ _('Get the Newest Firefox') }}</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />

Просмотреть файл

@ -1,6 +1,6 @@
{% set_lang_files "upgradedialog" %}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{ LANG }}" lang="{{ LANG }}">
<head>
<title>{{ _('Get the Newest Firefox') }}</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />

Просмотреть файл

@ -1,6 +1,6 @@
{% set_lang_files "upgradedialog" %}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{ LANG }}" lang="{{ LANG }}">
<head>
<title>{{ _('Get the Newest Firefox') }}</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />

Просмотреть файл

@ -1,6 +1,6 @@
{% set_lang_files "upgradedialog" %}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{ LANG }}" lang="{{ LANG }}">
<head>
<title>{{ _('Get the Newest Firefox') }}</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />

Просмотреть файл

@ -1,6 +1,6 @@
{% set_lang_files "upgradedialog" %}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{ LANG }}" lang="{{ LANG }}">
<head>
<title>{{ _('Get the Newest Firefox') }}</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />

Просмотреть файл

@ -103,3 +103,15 @@ body {
}
/* }}} */
/* Tweaks for Japanese */
html[lang='ja'] body {
font-size: 12px;
line-height: 1.5;
font-family: "Lucida Grande", "DejaVu Sans", "Bitstream Vera Sans", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, Verdana, " Pゴシック", "MS PGothic", "VL Pゴシック", "Takao Pゴシック", "IPA Pゴシック", sans-serif;
}
html[lang='ja'] h1 {
font-family: inherit;
}

Просмотреть файл

@ -1,8 +1,8 @@
{% set_lang_files "" %}
<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="{{ LANG }}"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="{{ LANG }}"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang="{{ LANG }}"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="{{ LANG }}" dir="{{ DIR }}"> <!--<![endif]-->
<head>
<meta charset="utf-8">