update build
This commit is contained in:
parent
9249188eee
commit
80efc0930f
3 changed files with 146 additions and 0 deletions
39
wordle.html
Normal file
39
wordle.html
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Wordle!</title>
|
||||
<meta content="width=device-width, initial-scale=1" name="viewport">
|
||||
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
|
||||
<meta content="utf-8" http-equiv="encoding">
|
||||
<script src="js/scittle.js" type="application/javascript"></script>
|
||||
<script type="application/x-scittle" src="cljs/wordle.cljs"></script>
|
||||
<style type="text/css">
|
||||
#app {
|
||||
background-color: #121212;
|
||||
}
|
||||
#app .board {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(5, 60px);
|
||||
}
|
||||
#app .cell {
|
||||
color: white;
|
||||
font-weight: bold;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-family: sans-serif;
|
||||
font-size: 1.5rem;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
margin: 10px;
|
||||
border: 2px solid gray;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p class="board">Wordle by <a href="https://github.com/oxalorg/wordle-clojurescript">@oxalorg</a>.
|
||||
Play the game by typing letters. The source code is loaded from <a href="cljs/wordle.cljs">here</a>.
|
||||
</p>
|
||||
<div id="app"></div>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue