-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
101 lines (91 loc) · 1.75 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
*{
margin:0px;
padding: 0px;
overflow: hidden;
}
html,
body{
margin:0;
padding: 0;
height: 100%;
font-family: 'Clear Sans', 'Helvetica Neue', Arial, sans-serif;;
}
#container{
display: flex;
flex-direction: column;
background-color: black;
height: 100%;
align-items: center;
}
header{
border-bottom: 1px solid white;
}
.tittle{
color: gainsboro;
font-size: 2.5rem;
font-weight: bold;
margin: 0.4rem 0 0.4rem 0;
text-align: center;
padding: 0;
margin: 0;
}
#board-container{
display: flex;
justify-content: center;
align-items: center;
flex-grow: 1;
overflow:hidden;
}
#board{
display: grid;
grid-template-columns: repeat(5,1fr);
gap: 5px;
padding: 5px;
box-sizing: border-box;
}
.square{
border: 2px solid grey;
min-width: 40px;
min-height: 40px;
font-size: 30px;
font-weight: bold;
color:gainsboro ;
display: flex;
justify-content: center;
align-items: center;
text-transform: uppercase;
}
#game{
max-width: 500px;
height: 100%;
display: flex;
flex-direction: column;
justify-content: space-around;
}
#keyboard-container{
height:200px;
margin: 0;
align-items: center;
}
.keyboard-row{
display: flex;
justify-content: center;
align-items: center;
width: 100%;
margin: 0 auto 8px;
touch-action: manipulation;
}
.wide-buttons{
width: 80px;
}
.keyboard-row button{
font-family: inherit;
font-weight: bold;
height: 58px;
background-color: rgb(139, 153, 158);
color: white;
cursor: pointer;
min-width:45px;
border-radius: 5px;
margin: 0px 2px;
}