-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
83 lines (67 loc) · 1.22 KB
/
style.css
File metadata and controls
83 lines (67 loc) · 1.22 KB
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
:root {
--green: #198754;
--yellow: #FFC107;
--red: #DC3545;
--darkBlue: #0D6EFD;
--grey: #6C757D;
--dark: #212529;
--light : #F8F9FA;
}
#message-container {
position: absolute;
padding: 8px;
font-size: 0.9rem;
width: clamp(50px, 80%, 200px);
left: 50%;
transform: translateX(-50%);
top:0.5rem;
text-align: center;
}
button {
width: clamp(30px, 10%, 60px);
height: 50px;
}
button[data-key="Enter"],
button[data-key="Backspace"] {
width: clamp(30px, 15%, 90px);
}
#rows {
display: flex;
justify-content: center;
}
#rows button {
display: flex;
justify-content: center;
align-items: center;
font-size: 1.5rem;
margin: 0 0.9px;
}
#tiles-container {
position: relative;
display: grid;
grid-template-columns: repeat(5, clamp(25px, 10vh, 60px));
gap: 0.5rem;
justify-content: center;
}
#tiles-container #tile{
height: clamp(25px, 10vh, 60px);
width: clamp(25px, 10vh, 60px);
background: #000;
border: 1px solid var(--grey);
font-size: 2.3rem;
display: grid;
place-items: center;
user-select: none;
}
#tiles-container .dark {
color: var(--dark);
}
#tiles-container .yellow {
color: var(--yellow);
}
#tiles-container .green {
color: var(--green);
}
button.btn-secondary {
background: #000000;
}