-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
117 lines (98 loc) · 2.17 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
body {
font-family: Arial, sans-serif;
}
h1 {
color: #757575; /* Cor cinza */
font-size: 3rem; /* Tamanho da fonte */
font-weight: 300; /* Peso da fonte */
text-align: center;
text-transform: uppercase; /* Letras maiúsculas */
letter-spacing: 2px; /* Espaçamento entre letras */
}
#input_word {
margin: auto;
}
._letter_container {
display: flex;
justify-content: center;
gap: 3px;
margin-bottom: 10px;
}
._letter {
width: 2vw; /* Use viewport width for responsiveness */
height: 6vh;
font-size: 1.4rem;
font-weight: 700;
text-align: center;
font-family: Arial, sans-serif;
vertical-align: middle;
font-variant-caps: titling-caps;
text-transform:uppercase
}
._letter input {
font-size: 13em;
}
ul, li {
list-style-type: none;
}
.tip-square {
display: inline-block;
width: 15px;
height: 15px;
}
.right {
background-color: #90ee90;
border: 1px solid #306630;
color: #f2f2f2;
}
.wrong {
background-color: #ee9090;
border: 1px solid #663030;
color: #f2f2f2;
}
.almost {
background-color: #e8ee90;
border: 1px solid #0c0c06;
color: #f2f2f2;
}
.check-button {
background-color: #007bff;
border: none;
color: white;
padding: 15px 30px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
border-radius: 5px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: background-color 0.3s ease, box-shadow 0.3s ease;
cursor: pointer;
}
.check-button:hover {
background-color: #0056b3;
box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}
.check-button:active {
background-color: #004494;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
/* Media queries for different screen sizes */
@media (max-width: 600px) {
._letter {
width: 5vw; /* Increase size for small screens */
height: 6vh;
}
}
@media (min-width: 600px) and (max-width: 1024px) {
._letter {
width: 3vw; /* Medium size for tablets */
height: 4vh;
}
}
@media (min-width: 1024px) {
._letter {
width: 2vw; /* Smaller size for larger screens */
height: 4vh;
}
}