-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
81 lines (70 loc) · 1.91 KB
/
styles.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
body {
background-image: url("background.png"); /* Replace the path with the actual path to your image file or an online image URL */
background-size: cover; /* This will ensure the image covers the entire background */
background-repeat: no-repeat; /* Prevents the image from repeating */
background-position: center; /* Centers the background image */
color: white;
font-weight: bold;
}
.container {
background-color: transparent;
border: 1px solid #cccccc;
border-radius: 4px;
padding: 20px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
margin: 0 auto;
max-width: 500px; /* Set the maximum width to prevent the container from becoming too wide */
}
h1 {
margin-top: 0;
}
.letter-button {
background-color: #4CAF50;
border: none;
color: white;
padding: 10px 12px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 2px 2px;
cursor: pointer;
border-radius: 5px;
}
.letter-button:hover {
background-color: #45a049;
}
#reset-button {
background-color: #f44336;
border: none;
color: white;
cursor: pointer;
display: inline-block;
font-size: 16px;
margin: 10px;
padding: 10px 20px;
text-align: center;
text-decoration: none;
transition-duration: 0.4s;
}
#reset-button:hover {
background-color: #c23628;
color: white;
}
/* ... (previous styles) */
#hangman-display {
font-family: 'Courier New', Courier, monospace;
font-size: 40px;
margin: 10px auto;
color: white;
background-color: transparent;
}
/* ... (remaining styles) */
#word-container,
#remaining-guesses,
#message-container {
font-family: 'Courier New', Courier, monospace;
font-size: 24px;
margin: 10px;
color: white;
}