-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhangman.css
87 lines (72 loc) · 1.15 KB
/
hangman.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
body{
text-align: center;
font-family: Courier, monospace;
}
#buttons {
width: 80vw;
margin: 0 auto;
}
#buttons li {
text-transform: uppercase;
font-size: 1.1em;
padding: 1% 0;
width: 9%;
margin: 1%;
border-radius: 10px;
background: rgb(131, 254, 241);
}
#word ul {
letter-spacing: 0.2em;
font-size: 1.8em;
}
ul {
list-style: none;
margin-block-start: 0;
padding-inline-start: 0;
}
li {
display: inline-block;
}
p {
font-size: 1.5em;
}
#guessesLeft {
font-weight: bold;
}
.clicked{
opacity: 0.1;
}
#endGame {
position: absolute;
display: none;
flex-direction: column;
align-items: center;
justify-content: space-around;
top: 0;
left: 0;
right: 0;
bottom: 0;
min-height: 175px;
padding: 25vh 0;
}
button {
width: 40%;
border: none;
font-size: 1.1em;
padding: 1%;
margin: 1%;
border-radius: 10px;
font-family: courier, monospace;
}
button:focus {
outline:0;
}
.small {
font-size: 1em;
}
#resetGame {
background: lightcoral;
width: 30%;
text-transform: uppercase;
font-weight: bold;
}