-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
116 lines (105 loc) · 1.73 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
body {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Arial, Helvetica, sans-serif;
background: #191919;
}
.score-div {
color: white;
display: flex;
justify-content: center;
font-size: 2.2rem;
padding-top: 50px;
}
.high-score-div {
color: white;
font-size: 2.2rem;
padding-top: 50px;
}
.score-board {
display: flex;
justify-content: space-around;
}
.high-score {
text-align: center;
}
.score {
color: white;
display: flex;
justify-content: center;
font-size: 2.2rem;
}
.keyboard-base {
max-width: 1085px;
padding: 20px;
position: absolute;
top: 65%;
left: 50%;
transform: translate(-50%, -50%);
background-color: rgb(197, 197, 197);
border-radius: 10px;
display: grid;
grid-template-columns: repeat(30, 30px);
grid-template-rows: repeat(5, 60px);
grid-gap: 5px;
}
.key {
background-color: rgb(243, 243, 243);
border: 2px solid black;
border-radius: 5px;
grid-column: span 2;
font-size: 20px;
text-align: center;
padding-top: 17px;
box-shadow: 2.5px 2.5px 8px #191919;
transition: 0.2s ease-in-out;
}
.target {
width: 67px;
animation: target 0.3s;
animation-iteration-count: infinite;
background: #000000;
color: white;
transition: 0.2s ease-in-out;
}
@keyframes target {
50% {
transform: rotate(5deg);
}
75% {
transform: rotate(-5deg);
}
100% {
transform: rotate(0);
}
}
.tab,
.backslash {
grid-column: span 3;
}
.capslock,
.return,
.delete {
grid-column: span 4;
}
.leftshift,
.rightshift {
grid-column: span 5;
}
.leftctrl,
.command {
grid-column: span 3;
}
.command {
font-size: 14px;
}
.space {
grid-column: span 13;
}
.head {
text-align: center;
color: #ffff;
padding-top: 20px;
font-size: 2.2rem;
}