-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
117 lines (115 loc) · 1.83 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
body{
margin: 0;
padding: 0;
font-family: 'Roboto', sans-serif;
font-weight: 400;
text-align: center;
background-color: #faf8ef;
}
h1{
font-size:60px;
font-weight: bold;
color:#665d53;
margin:0;
margin-top:20px;
}
h2{
font-weight: 400;
color:#665d53;
}
hr{
width:500px;
}
#gameOver button {
border: 0;
outline: 0;
margin: 30px;
color: #fff;
font-size: 2em;
cursor: pointer;
padding: 10px 20px;
border-radius: 10px;
background: #bbada0;
transition: all 0.2s ease;
}
button:hover {
transform: scale(1.1);
}
#board{
width:400px;
height:400px;
background-color: #cdc1b5;
border:6px solid#bbada0;
margin:0 auto;
display:flex;
flex-wrap:wrap;
border-radius: 5px;
}
.tile{
width: 90px;
height: 90px;
border:5px solid #bbada0;
font-size:35px;
font-weight: bold;;
display:flex;
justify-content: center;
align-items:center ;
}
/* tile colors */
.tile2{
background-color: #eee4da;
color: #727371;
}
.tile4{
background-color: #ece0ca;
color: #727371;
}
.tile8{
background-color: #f4b17a;
color: white;
}
.tile16{
background-color: #f59576;
color:white;
}
.tile32{
background-color: #f57c5f;
color:white;
}
.tile64{
background-color: #f65d3b;
color:white;
}
.tile128{
background-color: #edce71;
color:white;
}
.tile256{
background-color: #edcc63;
color:white;
}
.tile512{
background-color: #edc651;
color:white;
}
.tile1024{
background-color: #eec744;
color:white;
}
.tile2048{
background-color: #ecc230;
color:white;
}
.tile4096{
background-color: #fe3d3d;
color:white;
}
.tile8192{
background-color: #ff2020;
color:white;
}
.overtext{
background-color: black;
color:white;
font-weight: 700;
}