Tried to improve style

This commit is contained in:
Oliver Rümpelein 2014-09-26 12:00:15 +02:00
parent 2832b4e4c5
commit c9dab55c5b
2 changed files with 19 additions and 3 deletions

View file

@ -7,11 +7,13 @@ body {
} }
body>div { body>div {
postion:relative;
background: rgba(163,128,95,0.9); background: rgba(163,128,95,0.9);
align: center; /* align: center;
text-align: center; text-align: center;*/
border-radius: 20px; border-radius: 20px;
padding: 5px; padding: 5px;
width:
} }
h1 { h1 {
@ -24,3 +26,16 @@ h1 {
margin: 20px auto; margin: 20px auto;
border: #692200 4px solid ; border: #692200 4px solid ;
} }
#output {
position:relative;
left: 20px;
width: 350px;
}
#ui {
position: relative;
right: 200px;
width: 350px;
bottom: 20px;
}

View file

@ -10,9 +10,10 @@
<h1>JSDSH - Javascript Dungeonslayers Helper</h1> <h1>JSDSH - Javascript Dungeonslayers Helper</h1>
<div id="game"></div> <div id="game"></div>
<div id="ui"></div>
<button id="load">Load</button> <button id="load">Load</button>
<div id="output"></div> <div id="output"></div>
<div id="ui"></div>
</div> </div>
<script type="text/javascript" src="lib/crafty.js"></script> <script type="text/javascript" src="lib/crafty.js"></script>
<script type="text/javascript" src="lib/jquery-1.11.1.min.js"></script> <script type="text/javascript" src="lib/jquery-1.11.1.min.js"></script>