Skip to content

Commit ac97b4e

Browse files
committed
add font consolas
1 parent 3ea8016 commit ac97b4e

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

asset/font/consola.ttf

448 KB
Binary file not shown.

css/main.css

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
box-sizing: border-box;
33
}
44

5+
/* Font */
6+
@font-face {
7+
font-family: "consol";
8+
src: url('../asset/font/consola.ttf');
9+
}
10+
511
html,body {
612
margin: 0px;
713
padding: 0px;
@@ -26,7 +32,7 @@ html,body {
2632
}
2733

2834
h1 {
29-
font-family:'consolas' !important;
35+
font-family:'consol' !important;
3036
}
3137

3238
.typed-cursor {

0 commit comments

Comments
 (0)