Browse Source

Add new font

Lee Morgan 6 years ago
parent
commit
c9eb55b203

+ 0 - 1
views/dashboardPage/dashboard.css

@@ -6,7 +6,6 @@ html{
 body{
     display: flex;
     flex-direction: row;
-    font-family: 'Saira', sans-serif;
     height: 100%;
     max-width: 100%;
 }

+ 1 - 0
views/dashboardPage/dashboard.ejs

@@ -7,6 +7,7 @@
         <link rel="stylesheet" href="/shared/shared.css">
         <link rel="stylesheet" href="/dashboardPage/dashboard.css">
         <link rel="stylesheet" href="/dashboardPage/components/components.css">
+        <link href="https://fonts.googleapis.com/css?family=Saira&display=swap" rel="stylesheet"> 
     </head>
     <body>
         <% include ./components/menu %>

+ 0 - 2
views/dashboardPage/home.js

@@ -3,7 +3,6 @@ window.homeStrandObj = {
     graph: {},
 
     display: function(){
-        console.time("Load main");
         if(!this.isPopulated){
             let today = new Date();
             let firstOfMonth = new Date(today.getFullYear(), today.getMonth(), 1);
@@ -130,7 +129,6 @@ window.homeStrandObj = {
 
             this.isPopulated = true;
         }
-        console.timeEnd("Load main");
     },
 
     calculateRevenue: function(indices){

+ 1 - 5
views/shared/shared.css

@@ -1,13 +1,9 @@
 /* Initialization for all pages */
-*{
-    margin:0;
-    padding:0;
-}
+*{margin:0;padding:0;font-family:'Saira',sans-serif;}
 
 body{
     display: flex;
     flex-direction: column;
-    font-family:'Saira',sans-serif;
     color: rgb(0, 27, 45);
     min-height: 100vh;
 }