Helenrensiyu (Talk | contribs) |
Helenrensiyu (Talk | contribs) |
||
Line 19: | Line 19: | ||
<img id="t-cruzi" src = "https://static.igem.org/mediawiki/2017/4/42/T--oxford--t_cruzi_cartoon.png" style = "display: none"> | <img id="t-cruzi" src = "https://static.igem.org/mediawiki/2017/4/42/T--oxford--t_cruzi_cartoon.png" style = "display: none"> | ||
<img id="start-screen" src = "https://static.igem.org/mediawiki/2017/c/c8/T--oxford--home--background.jpeg" style = "display: none"> | <img id="start-screen" src = "https://static.igem.org/mediawiki/2017/c/c8/T--oxford--home--background.jpeg" style = "display: none"> | ||
− | + | ||
<div id="wrapper" role="wrapper"> | <div id="wrapper" role="wrapper"> | ||
<canvas id="main" width="960" height="540" style="display: block; background-color: #f7eff0;"></canvas> | <canvas id="main" width="960" height="540" style="display: block; background-color: #f7eff0;"></canvas> | ||
Line 332: | Line 332: | ||
ctx.fillStyle = 'white'; | ctx.fillStyle = 'white'; | ||
ctx.font = '48px monospace'; | ctx.font = '48px monospace'; | ||
− | centerText(ctx, title, | + | centerText(ctx, title, main.height*0.4); |
ctx.fillStyle = color; | ctx.fillStyle = color; | ||
ctx.font = '40px Helvetica'; | ctx.font = '40px Helvetica'; | ||
− | centerText(ctx, 'click to begin', | + | centerText(ctx, 'click to begin', main.height*0.8); |
Revision as of 12:05, 31 October 2017