Skip to content

Commit b5ec813

Browse files
authored
Merge pull request #250 from regexident/master
Added monospace font with support for box-drawing chars
2 parents 9cb2320 + 41735b4 commit b5ec813

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

src/theme/book.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ body {
33
font-family: "Open Sans", sans-serif;
44
color: #333;
55
}
6+
code {
7+
font-family: "Source Code Pro", "Menlo", "DejaVu Sans Mono", monospace;
8+
font-size: 0.875em;
9+
}
610
.left {
711
float: left;
812
}

src/theme/index.hbs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
<base href="{{ path_to_root }}">
1111

1212
<link rel="stylesheet" href="book.css">
13-
<link href='https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'>
13+
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800" rel="stylesheet" type="text/css">
14+
<link href="https://fonts.googleapis.com/css?family=Source+Code+Pro:500" rel="stylesheet" type="text/css">
1415

1516
<link rel="shortcut icon" href="{{ favicon }}">
1617

src/theme/stylus/general.styl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ html, body {
33
color: #333
44
}
55

6+
code {
7+
font-family: "Source Code Pro", "Menlo", "DejaVu Sans Mono", monospace;
8+
font-size: 0.875em;
9+
}
10+
611
.left {
712
float: left
813
}

0 commit comments

Comments
 (0)