-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
127 lines (110 loc) · 2.33 KB
/
style.css
File metadata and controls
127 lines (110 loc) · 2.33 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
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
body {
font-family: Arial, sans-serif;
display: flex;
flex-direction: column;
align-items: center;
height: 100vh;
margin: 0;
background-color: #121213; /* Fondo de la página */
color: #ffffff;
}
header {
width: 100%;
text-align: center;
padding: 20px 0;
border-bottom: 2px solid #3a3a3c; /* Borde inferior del header */
margin-bottom: 50px; /* Espaciado después del borde */
}
header h1 {
margin: 0;
font-size: 2em;
color: #ffffff;
}
#game {
text-align: center;
margin-top: 20px;
}
#board {
display: grid;
grid-template-columns: repeat(5, 50px);
gap: 5px;
justify-content: center;
margin-bottom: 20px;
}
.letter-box {
width: 50px;
height: 50px;
border: 2px solid #3a3a3c; /* Color de los bordes del tablero */
display: flex;
justify-content: center;
align-items: center;
font-size: 24px;
font-weight: bold;
color: #ffffff;
}
.correct {
background-color: #538d4e; /* Verde */
color: white;
}
.present {
background-color: #b59f3b; /* Amarillo */
color: black;
}
.absent {
background-color: #3a3a3c; /* Gris oscuro */
color: white;
}
#keyboard {
display: flex;
flex-direction: column;
gap: 5px;
justify-content: center;
align-items: center;
}
.keyboard-row {
display: flex;
gap: 5px;
}
.key {
padding: 10px;
background-color: #818384; /* Color del teclado */
cursor: pointer;
font-size: 16px;
user-select: none;
color: #f8f8f8; /* Color de las letras del teclado */
}
.key.correct {
background-color: #538d4e; /* Verde */
color: white;
}
.key.present {
background-color: #b59f3b; /* Amarillo */
color: black;
}
.key.absent {
background-color: #3a3a3c; /* Gris oscuro */
color: white;
}
#message {
margin-top: 20px;
font-size: 18px;
color: red;
}
#api-debug {
margin-top: 30px;
padding: 10px;
border: 1px solid #3a3a3c;
border-radius: 5px;
background-color: #242425;
text-align: left;
width: 80%;
max-width: 500px;
margin-left: auto;
margin-right: auto;
}
#api-debug p {
margin: 5px 0;
font-size: 14px;
color: #90ee90;
font-family: monospace;
}