Преглед на файлове

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">
 		<meta charset="utf-8">
 		<title>three.js - documentation</title>
 		<title>three.js - documentation</title>
 		<style>
 		<style>
+			@font-face {
+				font-family: 'inconsolata';
+				src: url('files/inconsolata.woff') format('woff');
+				font-weight: normal;
+				font-style: normal;
+			}
+
 			html {
 			html {
 				height: 100%;
 				height: 100%;
 			}
 			}
@@ -13,7 +20,7 @@
 				padding: 0;
 				padding: 0;
 				height: 100%;
 				height: 100%;
 				color: #555;
 				color: #555;
-				font-family: Arial, sans-serif;
+				font-family: 'inconsolata';
 				font-size: 15px;
 				font-size: 15px;
 				overflow: hidden;
 				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 {
 body {
 	margin: 20px;
 	margin: 20px;
 	color: #555;
 	color: #555;
-	font-family: Arial, sans-serif;
+	font-family: 'inconsolata';
 	font-size: 15px;
 	font-size: 15px;
 	overflow: auto;
 	overflow: auto;
 }
 }
@@ -13,7 +20,7 @@ a {
 h1 {
 h1 {
 	color: #444;
 	color: #444;
 	font-size: 25px;
 	font-size: 25px;
-	margin-top: 10px;
+	margin-top: 24px;
 }
 }
 
 
 h2 {
 h2 {