summaryrefslogtreecommitdiff
path: root/index.html
blob: 3cb02b1fa45cbe8044954003a716629c9314e9ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<link rel="stylesheet" href="css/sally.css" type="text/css" charset="utf-8" />
<link rel="stylesheet" href="css/ak.css" type="text/css" charset="utf-8" />
<style type="text/css">
.rapper { cursor: crosshair; }
body.grid span { border-right: 1px solid #444; border-top: 1px solid #444; border-bottom: 1px solid #444; }
body.grid div { border-top: 1px solid #444; border-left: 1px solid #444; }
.ed { color: #fff; }
.focused { text-shadow: 0 3px 3px #fff; border-color: #fff; }
.tool.focused, .ed.focused { color: white; text-decoration: underline; }
body.grid .focused { box-shadow: inset 0 0 2px white, inset 0 0 2px white, inset 0 0 2px white; }
</style>

<body class="grid">

<div>
<div id="canvas_rapper" class="rapper"></div>
</div>
<div style="clear:both">
<div id="palette_rapper" class="rapper"></div>
<div id="brush_rapper" class="rapper"></div>
<div id="tools_rapper" class="block">
  <span id="square_el" class="tool">square</span>
  <span id="circle_el" class="tool">circle</span>
  <span id="text_el" class="tool">text</span>

  brush size: <span id="width_el" class="ed">5</span> x <span id="height_el" class="ed">5</span>
</div>
</div>

</body>

<script src="js/lex.js"></script>
<script src="js/matrix.js"></script>
<script src="js/tool.js"></script>
<script src="js/app.js"></script>