-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
118 lines (106 loc) · 1.72 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
118
body {
font-family: "Lato", sans-serif;
text-align: center;
}
main {
display: flex;
justify-content: center;
}
section {
text-align: center;
padding: 30px;
background: #e5eaf5c0;
}
#field {
padding: 30px;
}
#container {
display: grid;
grid-template-columns: repeat(3, auto);
width: 306px;
margin: auto;
}
.cell {
font-family: "Finger Paint", sans-serif;
color: #232d55;
width: 100px;
height: 100px;
box-shadow: 0 0 0 1px #6e92a3;
border: 1px solid #6e92a3;
cursor: pointer;
line-height: 100px;
font-size: 60px;
background: #a0d2ebc0;
}
#sidebar {
width: 125px;
display: flex;
flex-direction: column;
justify-content: space-between;
}
#player {
flex: 1;
}
#turns {
flex: 1;
}
#status {
flex: 4;
}
#restart {
flex: 1;
}
#player1,
#player2 {
box-sizing: border-box;
background: #d0bdf4;
border-radius: 4px;
padding: 10px 0;
margin: 0 0 10px 0;
}
#titleTurns {
font-size: 0.8em;
}
#numberTurns {
font-size: 1.4em;
margin: 0;
}
body {
background: linear-gradient(135deg, #f0f8ff, #ffccff);
height: 100vh;
margin: 0;
font-family: 'Lato', sans-serif;
display:grid;
justify-content: center;
align-items: center;
}
main {
background: rgba(255, 255, 255, 0.8);
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
#title {
font-family: 'Finger Paint', cursive;
color: #333;
text-align:center;
margin-left: 20px;
margin-bottom:-50px;
}
#container {
display: grid;
grid-template-columns: repeat(3, 100px);
grid-gap: 5px;
}
button {
padding: 10px 20px;
background-color: #007bff;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
margin-top: 10px;
}
button:hover {
background-color: #0056b3;
}