externalize css

Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
This commit is contained in:
Gwenhael Le Moine 2011-07-06 22:39:48 +02:00
parent f865fa5b20
commit a8a9c607eb
2 changed files with 10 additions and 11 deletions

9
star.js/css/star.css Normal file
View file

@ -0,0 +1,9 @@
#blackboard{width:16em;background:#333;float:left}
.starcell{width:1em;height:1em;display:block;float:left;text-align:center}
.selected{font-weight:bold}
.wall{color:#000}
.ball{color:#99f}
.cube{color:red}
.gift{color:yellow}
.void{}
.selected{background:#555}

View file

@ -17,6 +17,7 @@
<link rel="shortcut icon" href="/favicon.ico">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="stylesheet" href="css/style.css?v=2">
<link rel="stylesheet" href="css/star.css">
<script src="js/libs/modernizr-1.7.min.js"></script>
</head>
@ -27,17 +28,6 @@
</header>
<div id="main" role="main">
<style>
#blackboard{width:16em;background:#333;float:left}
.starcell{width:1em;height:1em;display:block;float:left;text-align:center}
.selected{font-weight:bold}
.wall{color:#000}
.ball{color:#99f}
.cube{color:red}
.gift{color:yellow}
.void{}
.selected{background:#555}
</style>
<p id="blackboard"></p>
</div>