Skip to content

Commit

Permalink
Use Monaco as the monospace font.
Browse files Browse the repository at this point in the history
  • Loading branch information
ldaley committed Dec 30, 2013
1 parent 703efc7 commit 5cd6522
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ratpack-stylesheets/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@
@include font-face("Merriweather Sans", inline-font-files("MerriweatherSans-Bold.woff"), false, 700);
@include font-face("Merriweather Sans", inline-font-files("MerriweatherSans-BoldItalic.woff"), false, 700, italic);
@include font-face("Engagement", inline-font-files("Engagement-Regular.woff"));
@include font-face("Monaco", inline-font-files("Monaco.woff"));
@include font-face("Monaco", inline-font-files("Monaco-Bold.woff"), false, 700);

$sans-font-family: "Merriweather Sans", Futura, "Trebuchet MS", Arial, sans-serif !default;
$serif-font-family: "Merriweather", Georgia, Times, "Times New Roman", serif !default;
$mono-font-family: "Courier New", Courier, "Lucida Sans Typewriter", "Lucida Typewriter", monospace !default;
$mono-font-family: "Monaco", "Courier New", Courier, "Lucida Sans Typewriter", "Lucida Typewriter", monospace !default;
$tagline-font-family: "Courier New", Courier, "Lucida Sans Typewriter", "Lucida Typewriter", monospace !default;
$script-font-family: "Engagement", cursive !default;

$body-font-family: $serif-font-family !default;
Expand Down Expand Up @@ -98,6 +101,7 @@ h5 {
pre, code, tt {
font-family: $code-font-family;
-webkit-font-smoothing: subpixel-antialiased; // this looks better with Courier New even light on dark
font-size: 95%;
}

pre {
Expand Down
Binary file added ratpack-stylesheets/fonts/Monaco-Bold.woff
Binary file not shown.
Binary file added ratpack-stylesheets/fonts/Monaco.woff
Binary file not shown.

0 comments on commit 5cd6522

Please sign in to comment.