-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
75 lines (68 loc) · 1.44 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
body {
background-color: rgb(0, 97, 55);
font-weight: bolder;
width: 50%;
text-align: center;
vertical-align: middle;
}
h1 {
color: aliceblue;
padding: 5%;
}
.letterSquare {
width: 50px;
height: 50px;
font-size: 20pt;
font-weight: bolder;
text-align: center;
border: 2.5pt solid slategrey; /* Added border-style */
border-radius: 20%;
text-transform: uppercase;
margin: 0.5%; /* Adjusted margin for better consistency */
}
.letterSquare:disabled {
color: white;
}
#winningMessage {
font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
vertical-align: middle;
padding: 2%;
margin: 5% auto; /* Centered the message horizontally */
margin-top: 5%;
text-align: center;
color: white;
font-weight: bold;
font-size: 20pt;
width: 200px;
height: 100px;
border-radius: 15%;
background-color: red;
animation-name: example;
animation-duration: 5s;
animation-timing-function: ease-in-out; /* Added easing function */
animation-iteration-count: infinite; /* Example - make it infinite or adjust as needed */
}
@keyframes example {
from {
background-color: red;
}
to {
background-color: blue;
}
}
.btn, .delete, .enter {
font-size: 1.25em;
font-weight: bold;
border-radius: 4px;
cursor: pointer;
background-color: gray;
color: white;
justify-content: center;
align-items: center;
text-transform: uppercase;
padding: 10px;
margin: 5px;
}
.keyboard {
margin-top: 5%;
}