-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnotyahtzee.html
More file actions
103 lines (98 loc) · 1.78 KB
/
notyahtzee.html
File metadata and controls
103 lines (98 loc) · 1.78 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<title>NotYahtzee</title>
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js" type="text/javascript"></script>
<script src="js/dice.js" type="text/javascript"></script>
<script src="js/notyahtzee.js" type="text/javascript"></script>
<style>
/* override defaults */
div#background,
div#container {
background-color: green;
}
.topbar {
background-color: white;
}
/* yahtzee stuff */
div#yahtzee_board {
width: 1000px;
margin: 0px auto;
}
div#card {
float:left;
}
div#card table#score_card {
width: auto;
}
div#card table#score_card tr td {
text-align:center;
width: 8ex;
}
div#card table#score_card tr td:first-of-type {
text-align:left;
width: 22ex;
}
div#card table#score_card tr td:first-of-type span:last-of-type {
float:right;
}
div#misc {
float:left;
}
div#dice {
margin-left:5px;
}
img.die {
display: block;
width: 80px;
height: 80px;
margin: 10px;
}
div.die {
width: 100px;
height: 150px;
margin: 5px;
float:left;
background-color:#EEE;
}
div.die.frozen {
background-color:#DDD;
}
span.keep {
display:none;
text-align:center;
font-weight:bold;
padding:1ex;
font-size:16pt;
}
span.click {
display:block;
text-align:center;
padding:1ex;
font-size:12pt;
color:#888;
}
div.die.frozen span.keep {
display:block;
}
div.die.frozen span.click {
display:none;
}
div#control {
margin: 10ex;
}
div#control * {
font-size:30pt;
}
</style>
</head>
<body>
<div id='container'>
<div id='content'>
<div id='yahtzee_board'></div>
</div><!-- content -->
</div><!-- container -->
</body>
</html>