-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
128 lines (109 loc) · 2.42 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
119
120
121
122
123
124
125
126
127
128
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background-color: #f0f0f0;
font-family: Verdana, Geneva, Tahoma, sans-serif;
}
#reset-button {
margin: 2.5px;
padding: 10px;
position: relative;
top: -150px;
left: 690px;
height: 40px;
display: flex;
justify-content: center;
align-items: center;
background-color: #ffffff;
border: 1px solid #d1d1d1;
border-radius: 3px;
font-size: 14px;
}
#reset-button:hover {
background-color: #f0f0f0;
cursor: pointer;
}
#reset-button:active {
background-color: #d1d1d1;
}
#hold-button {
margin: 2.5px;
padding: 10px;
position: relative;
top: -150px;
left: 690px;
height: 40px;
display: flex;
justify-content: center;
align-items: center;
background-color: #ffcc00;
border: 1px solid #d1d1d1;
border-radius: 3px;
font-size: 14px;
}
#hold-button:hover {
background-color: #f0f0f0;
cursor: pointer;
}
#hold-button:active {
background-color: #d1d1d1;
}
.keyboard {
display: grid;
grid-template-columns: repeat(15, 40px); /* Adjust the number of columns based on your layout */
gap: 5px; /* Adjust the gap between keys */
background-color: #ffffff;
padding: 10px;
border: 1px solid #d1d1d1;
border-radius: 5px;
}
.key {
height: 40px;
display: flex;
justify-content: center;
align-items: center;
background-color: #ffffff;
border: 1px solid #d1d1d1;
border-radius: 3px;
font-size: 14px;
}
.active {
background-color: #ffcc00; /* Change this color to represent the lit-up state */
/* Add any other styles you want to apply when the key is lit up */
}
/* Styling for specific keys */
#backspace {
grid-column: span 2;
}
#capslock {
grid-column: span 2;
}
#tab {
grid-column: span 2; /* Adjust the span to cover the enter key width */
}
#space {
grid-column: span 6; /* Adjust the span to cover the space bar width */
}
#enter {
grid-column: span 2; /* Adjust the span to cover the enter key width */
}
#lshift {
grid-column: span 3;
}
#lctrl {
grid-column: span 2;
}
#rshift, #lalt, #ralt {
grid-column: span 2; /* Adjust the span to cover the shift keys width */
}
/* Additional styles to make the keys look better */
.key:hover {
background-color: #f0f0f0;
cursor: pointer;
}
.key:active {
background-color: #d1d1d1;
}