-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathstyle.css
117 lines (98 loc) · 2.87 KB
/
style.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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
.container{
float: left;
}
.container h3{
margin: 10px 0 5px;
}
.maze{
position: relative;
width: 180px;
margin-right: 10px;
border: 2px solid #aaa;
background-color: #fafafa;
}
.maze div{
display: inline-block;
border: 2px solid transparent;
color: #aaa;
text-align: center;
}
.maze .wall-0{ border-top-color: #fff; }
.maze .wall-1{ border-right-color: #fff; }
.maze .wall-2{ border-bottom-color: #fff; }
.maze .wall-3{ border-left-color: #fff; }
.maze .blank{
background-color: #ddd;
}
.maze .center{
background-color: red;
}
.maze .mouse{
display: block;
position: absolute;
width: 30px; height: 30px;
margin: 5px;
z-index: 100000;
border-radius: 100px;
background: #f85032; /* Old browsers */
background: -moz-linear-gradient(top, #f85032 0%, #f16f5c 24%, #f6290c 25%, #f02f17 74%, #f16f5c 75%, #e73827 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f85032), color-stop(24%,#f16f5c), color-stop(25%,#f6290c), color-stop(74%,#f02f17), color-stop(75%,#f16f5c), color-stop(100%,#e73827)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #f85032 0%,#f16f5c 24%,#f6290c 25%,#f02f17 74%,#f16f5c 75%,#e73827 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #f85032 0%,#f16f5c 24%,#f6290c 25%,#f02f17 74%,#f16f5c 75%,#e73827 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #f85032 0%,#f16f5c 24%,#f6290c 25%,#f02f17 74%,#f16f5c 75%,#e73827 100%); /* IE10+ */
background: linear-gradient(to bottom, #f85032 0%,#f16f5c 24%,#f6290c 25%,#f02f17 74%,#f16f5c 75%,#e73827 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f85032', endColorstr='#e73827',GradientType=0 ); /* IE6-9 */
-webkit-transition: all 0.25s linear;
-moz-transition: all 0.25s linear;
-ms-transition: all 0.25s linear;
-o-transition: all 0.25s linear;
transition: all 0.25s linear;
opacity: 0.6;
filter: alpha(opacity=60);
}
.maze .mouse:before,
.maze .mouse:after{
position: absolute;
display: block;
position: absolute;
top: 3px; left: 3px;
width: 5px; height: 5px;
content: ' ';
background: white;
border-radius: 10px;
z-index: 10;
opacity: 0.8;
}
.maze .mouse:after{ left: auto; right: 3px; }
.maze .mouse.right{
-webkit-transform: rotate(90deg);
-moz-transform: rotate(90deg);
-o-transform: rotate(90deg);
-ms-transform: rotate(90deg);
transform: rotate(90deg);
}
.maze .mouse.bottom{
-webkit-transform: rotate(180deg);
-moz-transform: rotate(180deg);
-o-transform: rotate(180deg);
-ms-transform: rotate(180deg);
transform: rotate(180deg);
}
.maze .mouse.left{
-webkit-transform: rotate(270deg);
-moz-transform: rotate(270deg);
-o-transform: rotate(270deg);
-ms-transform: rotate(270deg);
transform: rotate(270deg);
}
.clear{
padding-top: 20px;
clear: both;
}
.clear button{
font-size: 1.5em;
margin-right: 40px;
}
.clear *{
vertical-align: middle;
}