Skip to content

Commit 5148212

Browse files
committed
Docs: Added title to list of contents.
1 parent 10c7df7 commit 5148212

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

docs/index.html

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,16 @@
3030
}
3131

3232
#panel h1 {
33+
color: #444;
34+
font-size: 25px;
35+
margin-top: 25px;
36+
margin-left: 20px;
37+
}
38+
39+
#panel h2 {
3340
color: #999;
3441
font-size: 16px;
35-
margin-top: 16px;
42+
margin-top: 20px;
3643
margin-left: 20px;
3744
}
3845

@@ -95,6 +102,8 @@
95102
<div id="viewer"></div>
96103

97104
<script>
105+
var REVISION = '48dev';
106+
98107
var panel = document.getElementById( 'panel' );
99108
var viewer = document.getElementById( 'viewer' );
100109

@@ -300,11 +309,11 @@
300309

301310
};
302311

303-
var html = '';
312+
var html = '<h1>three.js <span style="font-size: 50%; vertical-align: super;">r' + REVISION + '</span></h1>';
304313

305314
for ( var category in list ) {
306315

307-
html += '<h1>' + category + '</h1>';
316+
html += '<h2>' + category + '</h2>';
308317

309318
html += '<ul>';
310319

0 commit comments

Comments
 (0)