|
@@ -16,21 +16,22 @@ Detector = {
|
|
|
element.id = 'webgl-error-message';
|
|
|
element.style.fontFamily = 'monospace';
|
|
|
element.style.fontSize = '13px';
|
|
|
+ element.style.fontWeight = 'normal';
|
|
|
element.style.textAlign = 'center';
|
|
|
- element.style.background = '#eee';
|
|
|
+ element.style.background = '#fff';
|
|
|
element.style.color = '#000';
|
|
|
- element.style.padding = '1em';
|
|
|
- element.style.width = '475px';
|
|
|
+ element.style.padding = '1.5em';
|
|
|
+ element.style.width = '400px';
|
|
|
element.style.margin = '5em auto 0';
|
|
|
|
|
|
if ( ! this.webgl ) {
|
|
|
|
|
|
element.innerHTML = window.WebGLRenderingContext ? [
|
|
|
- 'Your graphics card does not seem to support <a href="http://khronos.org/webgl/wiki/Getting_a_WebGL_Implementation">WebGL</a>.<br />',
|
|
|
- 'Find out how to get it <a href="http://get.webgl.org/">here</a>.'
|
|
|
+ 'Your graphics card does not seem to support <a href="http://khronos.org/webgl/wiki/Getting_a_WebGL_Implementation" style="color:#000">WebGL</a>.<br />',
|
|
|
+ 'Find out how to get it <a href="http://get.webgl.org/" style="color:#000">here</a>.'
|
|
|
].join( '\n' ) : [
|
|
|
- 'Your browser does not seem to support <a href="http://khronos.org/webgl/wiki/Getting_a_WebGL_Implementation">WebGL</a>.<br/>',
|
|
|
- 'Find out how to get it <a href="http://get.webgl.org/">here</a>.'
|
|
|
+ 'Your browser does not seem to support <a href="http://khronos.org/webgl/wiki/Getting_a_WebGL_Implementation" style="color:#000">WebGL</a>.<br/>',
|
|
|
+ 'Find out how to get it <a href="http://get.webgl.org/" style="color:#000">here</a>.'
|
|
|
].join( '\n' );
|
|
|
|
|
|
}
|