bug 877203 pt 2 - remove obsolete/redundant font names from CSS in mobile/android. r=blassey

This commit is contained in:
Jonathan Kew 2013-10-23 22:04:40 +02:00
Родитель 617434da9c
Коммит fb7d534da2
5 изменённых файлов: 12 добавлений и 12 удалений

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

@ -80,11 +80,11 @@ let AboutReader = function(doc, win) {
let fontTypeSample = gStrings.GetStringFromName("aboutReader.fontTypeSample");
let fontTypeOptions = [
{ name: fontTypeSample,
description: gStrings.GetStringFromName("aboutReader.fontTypeCharis"),
description: gStrings.GetStringFromName("aboutReader.fontTypeSerif"),
value: "serif",
linkClass: "serif" },
{ name: fontTypeSample,
description: gStrings.GetStringFromName("aboutReader.fontTypeOpenSans"),
description: gStrings.GetStringFromName("aboutReader.fontTypeSansSerif"),
value: "sans-serif",
linkClass: "sans-serif"
},

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

@ -10,10 +10,10 @@ aboutReader.colorSchemeDark=Dark
aboutReader.colorSchemeSepia=Sepia
aboutReader.colorSchemeAuto=Auto
# LOCALIZATION NOTE (aboutReader.fontTypeCharis, aboutReader.fontTypeOpenSans):
# LOCALIZATION NOTE (aboutReader.fontTypeSerif, aboutReader.fontTypeSansSerif):
# These are the names of the fonts that are used.
aboutReader.fontTypeCharis=Charis
aboutReader.fontTypeOpenSans=Open Sans
aboutReader.fontTypeSerif=Charis SIL Compact
aboutReader.fontTypeSansSerif=Clear Sans
# LOCALIZATION NOTE (aboutReader.fontTypeSample): String used to sample font types.
aboutReader.fontTypeSample=Aa

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

@ -4,7 +4,7 @@
body {
-moz-text-size-adjust: none;
font-family: "Open Sans",sans-serif;
font-family: sans-serif;
font-size: 12px;
color: #222;
background-color: #ced7de;

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

@ -26,11 +26,11 @@ body {
}
.sans-serif {
font-family: "Open Sans",sans-serif;
font-family: sans-serif;
}
.serif {
font-family: "Charis SIL",serif;
font-family: serif;
}
.message {
@ -48,7 +48,7 @@ body {
.domain,
.credits {
font-family: "Open Sans", sans-serif;
font-family: sans-serif;
}
.domain {
@ -237,7 +237,7 @@ body {
.content .caption,
.content .wp-caption-text,
.content figcaption {
font-family: "Open Sans", sans-serif;
font-family: sans-serif;
margin: 0px !important;
padding-top: 4px !important;
}

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

@ -23,7 +23,7 @@ body {
font-weight: 300;
font-size: 13px;
-moz-text-size-adjust: none;
font-family: "Open Sans", sans-serif;
font-family: sans-serif;
}
@ -61,7 +61,7 @@ button {
width: 100%;
border: none;
padding: 1rem;
font-family: "Open Sans", sans-serif;
font-family: sans-serif;
background-color: #e0e2e5;
font-size: 1rem; /* Not sure why this has to be specified. See bug 892843. */
font-weight: 300;