Browse Source

update styles

websocket-ui
Jeff Becker 8 years ago
parent
commit
f495f40be6
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B
  1. 32
      websocket-ui/index.html

32
websocket-ui/index.html

@ -3,11 +3,35 @@
<title> websocket events </title> <title> websocket events </title>
<script type="text/javascript" src="leftpad.js"> <script type="text/javascript" src="leftpad.js">
</script> </script>
<style>
pre#log {
z-index: 1;
color: white;
position: fixed;
right: 0px;
top: 0px;
font-size: 10px;
box-shadow 0px 0px 10px 10px #1a1a1a;
backgroud: rgba(1,1,1,0.5);
border-radius: 5px;
}
body, canvas#main {
background: #222;
}
canvas#main {
position: fixed;
left: 0px;
top: 0px;
z-index: -1;
}
</style>
</head> </head>
<body style="background: #222;"> <body>
<pre id="log" style="z-index: 1; color: white; position: fixed; right: 0px; top: 0px; font-size: 10px;"> <pre id="log"></pre>
</pre> <canvas id="main">
<canvas id="main" style="background: #222; position: fixed; left: 0px; top: 0px; z-index: -1">
</canvas> </canvas>
<script type="text/javascript" src="ui.js"> <script type="text/javascript" src="ui.js">
</script> </script>

Loading…
Cancel
Save