소스 검색

Docs using inconsolata.

Mr.doob 13 년 전
부모
커밋
67294eb285
3개의 변경된 파일17개의 추가작업 그리고 3개의 파일을 삭제
  1. BIN
      docs/files/inconsolata.woff
  2. 8 1
      docs/index.html
  3. 9 2
      docs/page.css

BIN
docs/files/inconsolata.woff


+ 8 - 1
docs/index.html

@@ -4,6 +4,13 @@
 		<meta charset="utf-8">
 		<title>three.js - documentation</title>
 		<style>
+			@font-face {
+				font-family: 'inconsolata';
+				src: url('files/inconsolata.woff') format('woff');
+				font-weight: normal;
+				font-style: normal;
+			}
+
 			html {
 				height: 100%;
 			}
@@ -13,7 +20,7 @@
 				padding: 0;
 				height: 100%;
 				color: #555;
-				font-family: Arial, sans-serif;
+				font-family: 'inconsolata';
 				font-size: 15px;
 				overflow: hidden;
 			}

+ 9 - 2
docs/page.css

@@ -1,7 +1,14 @@
+@font-face {
+	font-family: 'inconsolata';
+	src: url('files/inconsolata.woff') format('woff');
+	font-weight: normal;
+	font-style: normal;
+}
+
 body {
 	margin: 20px;
 	color: #555;
-	font-family: Arial, sans-serif;
+	font-family: 'inconsolata';
 	font-size: 15px;
 	overflow: auto;
 }
@@ -13,7 +20,7 @@ a {
 h1 {
 	color: #444;
 	font-size: 25px;
-	margin-top: 10px;
+	margin-top: 24px;
 }
 
 h2 {