Skip to content

Commit

Permalink
Major code cleanup
Browse files Browse the repository at this point in the history
 * Moved CSS out into main.css
 * Moved body javascript into main.js
 * Removed comment slag from shader experimentation
  • Loading branch information
jcowles committed Nov 5, 2013
1 parent 20a0c34 commit 6377eff
Show file tree
Hide file tree
Showing 3 changed files with 1,638 additions and 1,671 deletions.
80 changes: 80 additions & 0 deletions css/main.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
body {
margin: 0;
padding: 0;
color: #666;
font-size: 10px;
font-family: helvetica, arial, sans;
letter-spacing: .3em;
background-color: #000;
}

#canvas, #textCanvas {
width: 100%;
height: 100%;
margin: auto;
border: none;
}

#textCanvas {
display: none;
top: 1%;
left: 30%;
position: absolute;
}

#loadingArea {
overflow: hidden;
position: absolute;
height: 100%;
width: 100%;
display: table-cell;
vertical-align:middle;
}
#loading {
position: absolute;
width: 100%;
top: 50%;
font-size: 20px;
text-align: center;
}

#videoMessage {
position: absolute;
width: 100%;
top: 75%;
font-size: 10px;
text-align: center;
}

#fps {
top: 1%;
position: absolute;
left: 2%;
}

#time {
top: 1%;
display:none;
width: 30%;
text-align: right;
position: absolute;
left: 68%;
}

a:link, a:visited {
color: #666;
text-decoration: none;
}

a:hover, a:active {
color: #dd0000;
border-color: #dd0000;
text-decoration: none;
}

x.a:link, x.a:visited {
padding:15px 50px; border: solid 1px #666;
}



Loading

0 comments on commit 6377eff

Please sign in to comment.