Browse Source

Updated Fonts

Yoginth 7 years ago
parent
commit
60cbd1fd02

File diff suppressed because it is too large
+ 1 - 1
public/css/gitote.min.css


+ 5 - 4
public/less/_base.less

@@ -1,5 +1,5 @@
 body:not(.full-width) {
-	font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol" !important;
+	font-family: 'Ubuntu', sans-serif;
 	background-color: @white-100;
 	overflow-y: scroll;
 	overflow-x: auto;
@@ -26,7 +26,7 @@ h1, h2, h3, h4, h5,
 .ui.menu,
 .ui.input input,
 .ui.button:not(.label) {
-	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;
+	font-family: 'Ubuntu', sans-serif !important;
 }
 
 img {
@@ -34,7 +34,8 @@ img {
 }
 
 pre, code {
-	font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
+	font-size: 12px;
+	font-family: monospace;
 
 	&.raw {
 		padding: 7px 12px;
@@ -359,7 +360,7 @@ pre, code {
 	}
 
 	.sha.label {
-		font-family: Consolas, Menlo, Monaco, "Lucida Console", monospace;
+		font-family: monospace;
 		font-size: 13px;
 		padding: 4px @10;
 		font-weight: normal;

+ 1 - 1
public/less/_dashboard.less

@@ -164,7 +164,7 @@
 			border-radius: 3px;
 			padding: @5 16px;
 			.sha {
-				font-family: Consolas, monospace;
+				font-family: monospace;
 				background: #fff2ce;
 				padding: 1px 5px;
 				font-size: 12px;

+ 2 - 1
public/less/_editor.less

@@ -1,5 +1,6 @@
 .CodeMirror {
-	font: 14px Consolas, "Liberation Mono", Menlo, Courier, monospace;
+	font-size: 14px;
+	font-family: monospace;
 	line-height: 1.5;
 	font-size: 13px;
 	&.cm-s-default {

+ 1 - 1
public/less/_explore.less

@@ -138,7 +138,7 @@
 
 	&.font {
 		font-size: 1.2em !important;
-		font-family: "SFMono-Regular",Consolas,"Liberation Mono",Menlo,Courier,monospace !important;
+		font-family: monospace !important;
 	}
 
 	&.seperator {

+ 0 - 1
public/less/_markdown.less

@@ -1,6 +1,5 @@
 .markdown:not(code) {
 	overflow: hidden;
-	font-family: monospace;
 	font-size: @15;
 	line-height: 1.6 !important;
 	word-wrap: break-word;

+ 7 - 6
public/less/_repository.less

@@ -383,7 +383,7 @@
 				.nb-raw-cell {
 					white-space: pre-wrap;
 					background-color: #f5f2f0;
-					font-family: Consolas, Monaco, 'Andale Mono', monospace;
+					font-family: monospace;
 					padding: 1em;
 					margin: .5em 0;
 				}
@@ -470,7 +470,7 @@
 			.code-view {
 				* {
 					font-size: 12px;
-					font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
+					font-family: monospace;
 					line-height: @20;
 				}
 
@@ -582,7 +582,8 @@
 					.branch-name {
 						display: inline-block;
 						padding: 3px 6px;
-						font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
+						font-size: 12px;
+						font-family: monospace;
 						color: rgba(0,0,0,0.65);
 						background-color: rgba(209,227,237,0.45);
 						border-radius: 3px;
@@ -857,7 +858,7 @@
 
 					textarea {
 						height: 200px;
-						font-family: "Consolas", monospace;
+						font-family: monospace;
 					}
 				}
 
@@ -952,7 +953,7 @@
 
 			textarea {
 				height: 200px;
-                font-family: "Consolas", monospace;
+                font-family: monospace;
 			}
 		}
 	}
@@ -1501,7 +1502,7 @@
 		&.new {
 			.CodeMirror {
 				.CodeMirror-code {
-					font-family: "Consolas", monospace;
+					font-family: monospace;
 					.cm-comment {
 						background: inherit;
 					}

+ 2 - 2
public/less/_user.less

@@ -99,7 +99,7 @@
 
 						&:not(:last-child) {
 							border-bottom: 1px solid #eaeaea;
-							font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
+							font-family: monospace;
     						font-weight: bold;
 						}
 
@@ -207,7 +207,7 @@
 .staff {
 	padding: 3px 4px;
     font-size: 12px;
-    font-family: sans-serif;
+    font-family: 'Ubuntu', sans-serif;
     color: @white-100;
     text-transform: uppercase;
     border-radius: 2px;

+ 1 - 0
public/less/gitote.less

@@ -1,3 +1,4 @@
+@import url('https://fonts.googleapis.com/css?family=Ubuntu');
 @import "_variable";
 @import "_emojify";
 @import "_base";

+ 2 - 2
templates/embed/user.tmpl

@@ -18,7 +18,7 @@ body {
 .preview-info-header {
     color: black;
     margin: 2vw auto 0vw;
-    font-family:  "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
+    font-family:  monospace;
     font-size: 3.5vw;
     width: 92%;
 }
@@ -32,7 +32,7 @@ h1 {
     color: #29179e;
     width: 92%;
     margin: 1vw auto;
-    font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
+    font-family: 'Ubuntu', sans-serif;
 }
 .preview-user {
     font-size: 3.5vw;