diff --git a/favicon.png b/favicon.png old mode 100755 new mode 100644 diff --git a/index.html b/index.html index e72e8ab50e890e2f0b6525364c5e0cb366a3dd20..1296b72b14b98e14749e7c936b00cd5be8df5d94 100755 --- a/index.html +++ b/index.html @@ -24,9 +24,6 @@ families : ['time-medium', 'time-fat', 'vrr'], urls : ['css/font.css'] }, - google : { - families : ['Droid Sans Mono'], - }, active : function() { window.fontsReady = true; } diff --git a/panels/departure/script.js b/panels/departure/script.js index 1a2ae43aaaa4b63c05b8df240782ee46b09912b0..75fd5f9a19619b685083df503c64f5f2ca35329d 100755 --- a/panels/departure/script.js +++ b/panels/departure/script.js @@ -203,8 +203,7 @@ var resize = function(panel, config, cont) { var getStringWidth = function(fontSize, string) { var o = $('<div>' + string + '</div>') - .css({'position': 'absolute', 'float': 'left', 'white-space': 'nowrap', 'visibility': 'hidden', 'font-family': 'Droid Sans Mono', 'fontSize': -fontSize + 'px'}) + .css({'position': 'absolute', 'float': 'left', 'white-space': 'nowrap', 'visibility': 'hidden', 'font-family': 'display', 'fontSize': fontSize + 'px'}) .appendTo($('body')), w = o.width(); o.remove(); diff --git a/panels/departure/style.less b/panels/departure/style.less index a378e7138ef0b09fa2cbc468fcd8c44863d9609a..e94afccea0aedaea802466fab6590842349ba227 100755 --- a/panels/departure/style.less +++ b/panels/departure/style.less @@ -77,9 +77,6 @@ font-weight: bold; color: #B8860B; } - [data-delay], [data-time] { - font-family: Droid Sans Mono; - } [data-name] { position: relative; diff --git a/panels/itworks/script.js b/panels/itworks/script.js new file mode 100644 index 0000000000000000000000000000000000000000..bb7a9e04299d1f1b68828a2d7849f615f8a62115 --- /dev/null +++ b/panels/itworks/script.js @@ -0,0 +1,3 @@ +/** + * Created by tilman on 26.08.15. + */