forked from Jimbly/regex-crossword
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcrossword.css
95 lines (88 loc) · 1.54 KB
/
crossword.css
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
body
{
font-family: Helvetica, Arial, sans-serif;
font-size: 18px;
}
#board {
padding-left: 200px;
padding-top: 150px;
}
.cell_input {
width: 14px;
text-align: center;
padding: 4px 2px 4px 2px;
margin: 1px;
border: 1px none #AAA;
-opacity: 0.9;
}
.cell {
display: inline-block;
width: 39px;
height: 45px;
background: url('hex.png');
margin-right: -1px;
margin-left: -1px;
margin-bottom: -18px;
margin-top: -8px;
padding-top: 8px;
background-repeat: no-repeat;
}
.rule_y {
}
.rule_x {
display: inline-block;
transform:rotate(-60deg);
-ms-transform:rotate(-60deg); /* IE 9 */
-moz-transform:rotate(-60deg); /* Firefox */
-webkit-transform:rotate(-60deg); /* Safari and Chrome */
-o-transform:rotate(-60deg); /* Opera */
}
.rule_z {
transform:rotate(60deg);
-ms-transform:rotate(60deg); /* IE 9 */
-moz-transform:rotate(60deg); /* Firefox */
-webkit-transform:rotate(60deg); /* Safari and Chrome */
-o-transform:rotate(60deg); /* Opera */
}
.top, .bottom {
width: 37px;
}
.leftside {
right: 5px;
top: 3px;
}
.side {
left: 2px;
top: 4px;
}
.rule.side {
width: 37px;
}
.top {
}
.bottom {
top: 6px;
}
.rule_parent {
position: relative;
display: inline-block;
height: 24px;
border-color: red;
}
.rule {
position: absolute;
display: inline-block;
white-space: nowrap;
}
.match {
color: #0C0;
}
.nomatch {
color: #C00;
}
span {
-border: 1px dotted black;
}
#debug {
display: none;
}