Skip to content

Commit 90c4123

Browse files
committed
frontend: use wikimedia font cdn instead of google fonts (closes #124)
1 parent b814962 commit 90c4123

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

client/src/components/toolbar/toolbar.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<div class="md-toolbar-tools">
44
<md-button class="toolbar__title" ui-sref="main.dashboard">
55
Montage
6-
<span class="text-primary">{{ $ctrl.config.env.name }}</span>
6+
<span class="text-primary">{{ $ctrl.config.env.name == 'prod' ? '' : $ctrl.config.env.name }}</span>
77
</md-button>
88
<span flex></span>
99

client/src/style.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
@import url('https://fonts.googleapis.com/css?family=Lato:300,400,600,700&subset=latin-ext');
2-
@import url('https://fonts.googleapis.com/css?family=Merriweather&subset=cyrillic,cyrillic-ext,latin-ext');
1+
@import url('https://tools-static.wmflabs.org/fontcdn/css?family=Lato:300,400,600,700&subset=latin-ext');
2+
@import url('https://tools-static.wmflabs.org/fontcdn/css?family=Merriweather&subset=cyrillic,cyrillic-ext,latin-ext');
33

44
@import 'styles/dialog';
55
@import 'styles/general';

montage/templates/docs/base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<link rel="stylesheet" href="/mdl/material.min.css">
66
<link rel="stylesheet" href="/mdl/styles.css">
77
<script src="/mdl/material.min.js"></script>
8-
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:400,200,100">
8+
<link rel="stylesheet" href="https://tools-static.wmflabs.org/fontcdn/css?family=Roboto:400,200,100">
99
</head>
1010
<body class="mdl-montage mdl-color--grey-100 mdl-color-text--grey-700 mdl-base">
1111
<header class="mdl-layout__header mdl-layout__header--scroll">

montage/templates/report.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400" rel="stylesheet">
4+
<link href="https://tools-static.wmflabs.org/fontcdn/css?family=Roboto:300,400" rel="stylesheet">
55
<style>
66
body {
77
margin: 0;

report.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<html>
22
<head>
3-
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400" rel="stylesheet">
3+
<link href="https://tools-static.wmflabs.org/fontcdn/css?family=Roboto:300,400" rel="stylesheet">
44
<style>
55
body {
66
margin: 0;

0 commit comments

Comments
 (0)