-
Notifications
You must be signed in to change notification settings - Fork 140
/
index.html
104 lines (91 loc) · 1.97 KB
/
index.html
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
104
<!doctype html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Qurossword - A javascript crossword puzzle plugin</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script src="js/jquery.crossword.js"></script>
<script src="js/script.js"></script>
<style type="text/css" media="screen">
/*
Default puzzle styling
*/
body {
font: 62.5%/1.3em Helvetica, sans-serif;
width: 90.3%;
margin: 10px auto;
}
table {
border-collapse: collapse;
border-spacing: 0;
max-width: 100%;
}
table tr{
width: 100%;
}
table td {
width: 5em;
height: 5em;
border: 1px solid #cdcdcd;
padding: 0;
margin: 0;
background-color: #333;
position: relative;
}
td input {
width: 100%;
height: 100%;
padding: 0em;
border: none;
text-align: center;
font-size: 3em;
color: #666;
background-color: #f4f4f4;
}
td input:focus {
background-color: #fff;
}
td span {
color: #444;
font-size: 0.8em;
position: absolute;
top: -1px;
left: 1px;
}
input.done {
font-weight: bold;
color: green;
}
.active,
.clues-active {
background-color: #ddd;
}
.clue-done {
color: #999;
text-decoration: line-through;
}
#puzzle-wrapper {
float: left;
width: 54%;
margin-right: 3%;
}
#puzzle-clues {
float: left;
width: 40%;
}
#puzzle-clues li{
font-size: 1.2em;
margin: .3em;
line-height: 1.6em;
}
</style>
</head>
<body>
<div id="puzzle-wrapper"><!-- crossword puzzle appended here --></div>
</body>
</html>