-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
95 lines (82 loc) · 1.63 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
*{
margin: 0;
padding: 0;
}
html,body{
height: 100%;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande',
'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
background-color: aliceblue;
}
#container{
display: flex;
height: 100%;
align-items: center;
flex-direction: column;
}
#game{
width: 95%;
max-width: 500px;
height: 100%;
}
header{
border-bottom: 2px solid #5c97cc;
}
.title{
color:#061829;
font-size: 2.5rem;
font-weight: bold;
margin: 0.4rem 0 0.4rem 0;
text-align: center;
}
#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: 10px;
box-sizing: border-box;
}
.square{
border: 2px solid #5c97cc;
min-width: 60px;
min-height: 60px;
font-size: 2.5rem;
font-weight: bold;
color: #061829;
display: flex;
align-items: center;
justify-content: center;
}
#keyboard-container{
height:200px;
}
.keyboard-row{
display:flex;
justify-content: center;
width: 100%;
margin:0 auto 8px;
touch-action: manipulation;
}
.keyboard-row button{
font-family: inherit;
font-weight: bold;
border: 0;
padding: 0;
height: 55px;
cursor: default;
background-color: #5c97cc;
color: #061829;
flex-grow: 1;
margin-right: 5px;
border-radius: 4px;
}
.keyboard-row button.wide-key{
flex-grow: 1.5;
}