-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhangman.css
More file actions
103 lines (90 loc) · 1.77 KB
/
Copy pathhangman.css
File metadata and controls
103 lines (90 loc) · 1.77 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
body {
background: rgb(102, 178, 255);
}
main {
max-width: 610px;
margin: auto;
}
h1, h5 {
text-align: center;
color: rgb(255, 251, 0);
font-weight: bold;
text-align: center;
}
.win {
color: white;
background-color: green;
}
.loss {
color: white;
background-color: red;
}
#word {
letter-spacing: 10px;
text-align: center;
font-size: 24pt;
color: rgb(255, 255, 153);
font-weight: bold;
font-family: "Courier New", Courier, monospace
}
#guesses {
text-align: center;
font-size: 16pt;
color: rgb(255, 255, 153);
font-weight: bold;
font-family: "Courier New", Courier, monospace
}
.guess {
padding: 10px;
display: inline-block;
border: 2px solid rgb(255, 255, 153);
border-radius: 10px;
margin: 5px;
cursor: pointer;
}
@media only screen and (min-device-width: 375px ) and (max-device-width: 667px) {
#guesses {
text-align: center;
font-size: 24pt;
color: rgb(255, 255, 153);
font-weight: bold;
font-family: "Courier New", Courier, monospace
}
.guess {
padding: 30px;
display: inline-block;
border: 2px solid rgb(255, 255, 153);
border-radius: 10px;
margin: 10px;
cursor: pointer;
}
}
#guessBox {
height: 60px;
border-radius: 10px;
padding-top: 5px;
font-size: 18pt;
width: 200px;
padding-left: 10px;
}
/* Buttons */
.button {
display: inline-block;
padding: 15px 25px;
font-size: 24px;
cursor: pointer;
text-align: center;
text-decoration: none;
outline: none;
color: #666;
background-color: rgb(255, 255, 153);
border: none;
border-radius: 15px;
box-shadow: 0 9px #999;
}
.button:hover {background-color: rgb(224, 224, 139)}
.button:active {
background-color: rgb(224, 224, 139);
box-shadow: 0 5px #666;
transform: translateY(4px);
}