include specific font subsets from googleapi fonts - as the defaults seem to vary by browser type (less for mobile)
switch defailt from coda to roboto - looks fine to me, and coda didn't seem to support enough subsets for #541
This commit is contained in:
parent
543e586723
commit
3f9af18ba5
3
main.js
3
main.js
@ -63,8 +63,7 @@ document.getElementsByTagName('head')[0].innerHTML = ''
|
||||
+ '<style>@@INCLUDESTRING:style.css@@</style>'
|
||||
+ '<style>@@INCLUDESTRING:external/leaflet.css@@</style>'
|
||||
//note: smartphone.css injection moved into code/smartphone.js
|
||||
+ '<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Coda"/>'
|
||||
+ '<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Roboto"/>';
|
||||
+ '<link href="http://fonts.googleapis.com/css?family=Roboto:normal,bold&subset=latin,cyrillic-ext,greek-ext,greek,cyrillic,latin-ext,vietnamese" rel="stylesheet" type="text/css">';
|
||||
|
||||
document.getElementsByTagName('body')[0].innerHTML = ''
|
||||
+ '<div id="map">Loading, please wait</div>'
|
||||
|
@ -9,7 +9,7 @@ html, body, #map {
|
||||
|
||||
body {
|
||||
font-size: 14px;
|
||||
font-family: "coda",arial,helvetica,sans-serif;
|
||||
font-family: "roboto",arial,helvetica,sans-serif;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@ -136,7 +136,7 @@ a:hover {
|
||||
.fieldmu {
|
||||
color: #FFCE00;
|
||||
font-size: 13px;
|
||||
font-family: "coda",arial,helvetica,sans-serif; /*override leaflet-container */
|
||||
font-family: "roboto",arial,helvetica,sans-serif; /*override leaflet-container */
|
||||
text-align: center;
|
||||
text-shadow: 0 0 0.2em black, 0 0 0.2em black, 0 0 0.2em black;
|
||||
pointer-events: none;
|
||||
@ -947,7 +947,7 @@ td + td {
|
||||
left:10px;
|
||||
z-index: 2500;
|
||||
font-size:11px;
|
||||
font-family: "coda",arial,helvetica,sans-serif;
|
||||
font-family: "roboto",arial,helvetica,sans-serif;
|
||||
background-color:#0E3C46;
|
||||
color:#ffce00;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user