Permalink
Browse files

Merge pull request #119 from Pomax/ubuntu-monospace

set up Ubuntu Mono as code editor font - jess approved(tm)
  • Loading branch information...
2 parents f6f9804 + 10c02db commit a74d5ad559d648a83405c244faff96e2cc00095b @Pomax Pomax committed Aug 2, 2012
@@ -19,20 +19,20 @@
.cm-s-jsbin span.cm-attribute {color: #994500;}
.CodeMirror {
- font-family: "Myriad Pro", "myriad-pro", Helvetica, Arial, sans-serif;
+ font-family: 'Ubuntu Mono', monospace;
font-weight: 200;
font-size: 14px;
}
.CodeMirror .CodeMirror-lines {
- font-family: "Myriad Pro", "myriad-pro", Helvetica, Arial, sans-serif;
+ font-family: 'Ubuntu Mono', monospace;
color: #333;
font-size: 14px;
line-height: 15.75px;
}
.CodeMirror textarea {
- font-family: "Myriad Pro", "myriad-pro", Helvetica, Arial, sans-serif;
+ font-family: 'Ubuntu Mono', monospace;
font-size: 14px;
line-height: 15.75px;
}
@@ -43,7 +43,7 @@
}
.CodeMirror-gutter-text {
- font-family: Menlo, Monaco, consolas, monospace;
+ font-family: 'Ubuntu Mono', monospace;
color: #A9A9A9;
font-size: 12px;
line-height: 15.75px;
@@ -54,7 +54,7 @@
}
.cm-s-jsbin span.cm-comment {
- font-family: "Myriad Pro", "myriad-pro", Helvetica, Arial, sans-serif;
+ font-family: 'Ubuntu Mono', monospace;
color: #333;
font-style: italic;
font-weight: bold;
@@ -0,0 +1,23 @@
+/*
+ http://font.ubuntu.com
+*/
+
+@font-face {
+ font-family: 'Ubuntu Mono';
+ src: url('ubuntumono-r.eot');
+ src: url('ubuntumono-r.eot?#iefix') format('embedded-opentype'),
+ url('ubuntumono-r.woff') format('woff'),
+ url('ubuntumono-r.ttf') format('truetype');
+ font-weight: normal;
+ font-style: normal;
+}
+
+@font-face {
+ font-family: 'Ubuntu Mono';
+ src: url('ubuntumono-b.eot');
+ src: url('ubuntumono-b.eot?#iefix') format('embedded-opentype'),
+ url('ubuntumono-b.woff') format('woff'),
+ url('ubuntumono-b.ttf') format('truetype');
+ font-weight: bold;
+ font-style: normal;
+}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
View
@@ -16,6 +16,7 @@
<link rel="stylesheet" href="codemirror2/lib/codemirror.css">
<link rel="stylesheet" href="css/jsbin-codemirror-theme.css">
<link rel="stylesheet" href="css/tipsy.css">
+ <link rel="stylesheet" href="css/ubuntumono/stylesheet.css">
<link rel="stylesheet" href="css/opensans/stylesheet.css">
<link rel="stylesheet" href="css/opensymbolcropped/stylesheet.css">
<link rel="stylesheet" href="css/editor.css">

0 comments on commit a74d5ad

Please sign in to comment.