-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathmainLayout.css
121 lines (100 loc) · 1.56 KB
/
mainLayout.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
118
119
120
121
/* Copyright (c) 2017 MIT 6.813/6.831 course staff, all rights reserved.
* Redistribution of original or derived work requires permission of course staff.
*/
/* REMOVE ME - dashed lines and height for debugging */
/*
#mainColumn {
outline: 1px dashed orange;
height: 200px;
}
*/
/* Your css code here! */
div {
/*border: 1px solid green;*/
}
body {
margin: auto;
vertical-align: middle;
font-weight: bold;
text-align: center;
}
img {
position: absolute;
}
.btn {
margin: 5px;
border: 1px solid #666666;
box-shadow: 1px 1px 5px gray;
}
.btn:hover {
background-color: #8c8c8c;
}
.arrow {
margin: 0;
color: white;
}
.arrow:disabled {
background-color: grey;
}
.arrow:enabled {
background-color: #4889f0;
}
#firstColumn, #mainColumn, #lastColumn {
margin: auto;
padding: 10px;
}
#firstColumn {
z-index: 3;
}
#gameTitle {
font-weight: bold;
color: red;
}
#gameBoard {
z-index: 1;
margin: auto;
width: 320px;
height: 320px;
table-layout: fixed;
position: relative;
}
#moveInput {
width: 50px;
}
#moveInput:hover, #moveInput:focus {
box-shadow: 0 0 5px blue;
}
#arrowContainer {
margin: 20px auto;
}
#canvas {
z-index: 10;
position: absolute;
top: 10px;
left: calc(50% - 160px);
opacity: 0.7;
}
#scoreLabel {
background-color: lightgrey;
width: 10em;
}
#cover {
z-index: 2;
position: absolute;
top: -500px;
left: calc(50% - 160px);
background-color: white;
width: 320px;
height: 500px;
}
#newGame, #showMove {
width: 10em;
}
#DEBUG {
z-index: 100;
position: fixed;
top: 50px;
left: 25px;
background-color: #ff4d4d;
opacity: 0.85;
}