-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
94 lines (85 loc) · 1.51 KB
/
Copy pathmain.css
File metadata and controls
94 lines (85 loc) · 1.51 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
* {
margin: 0;
padding: 0;
}
#p1 .unit {
background: #222;
color: #fff;
text-align: center;
font-size: 20px;
-webkit-user-select: none;
cursor: pointer;
opacity: .99;
}
#p2 .unit, .empty {
background: skyblue;
color: skyblue;
-webkit-user-select: none;
cursor: pointer;
transition: background .3s;
opacity: .99;
}
.death {
background: red;
color: #fff;
text-align: center;
font-size: 20px;
-webkit-user-select: none;
transition: background .3s;
opacity: .99;
}
.miss {
background: gray;
text-align: center;
font-size: 20px;
-webkit-user-select: none;
transition: background .3s;
opacity: .99;
}
#p1 div, #p2 div { width: 25px; height: 25px; float: left; }
#p1, #p2 { width: 250px; height: 250px; margin: 0 auto; margin-top: 25px;}
.wrapper {
width: 55%;
padding: 5px;
margin: 100px auto;
overflow: hidden;
position: relative;
}
.p1-wrap {
width: 300px;
height: 300px;
float: left;
background-color: #2897AF;
border-radius: 5px;
box-shadow: 0px 0px 7px #080808;
}
.p2-wrap {
width: 300px;
height: 300px;
float: right;
background-color: #2897AF;
border-radius: 5px;
box-shadow: 0px 0px 7px #080808;
}
button {
margin-left: 19px;
margin-top: 20px;
padding: 8px 15px;
border: none;
box-shadow: 0px 3px 0px #9C27B0;
background: #B51BA1;
color: #fff;
text-transform: uppercase;
cursor: pointer;
transition: box-shadow .4s ease, transform .4s ease;
}
button:hover {
background: #922CAB;
}
button:active {
transform: translateY(3px);
box-shadow: none;
}
button:focus {
outline: none;
}