-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
74 lines (65 loc) · 1.81 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
body {
font-family: Arial, sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #1f1f1f; /* Dark background color */
margin: 0;
padding: 0;
}
.container {
text-align: center;
width: 80%;
max-width: 600px; /* Set a maximum width for larger screens */
box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1); /* Add a lifting shadow effect */
padding: 20px;
background-color: #2c3e50; /* Dark blue-gray background color */
border-radius: 10px; /* Rounded corners for aesthetics */
transition: box-shadow 0.3s;
}
.container:hover {
box-shadow: 0px 12px 20px rgba(0, 0, 0, 0.2); /* Increase shadow on hover */
}
canvas#gameCanvas {
display: block;
margin: 20px auto;
border: 2px solid #34495e; /* Darker border color for the canvas */
}
.controls {
margin-top: 20px;
}
button {
padding: 10px 15px;
margin: 5px;
border: none;
background-color: #FFD700; /* Gold color for buttons */
color: #1f1f1f; /* Dark text color for buttons */
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}
button:hover {
background-color: #FFA500; /* Darker gold color on hover */
}
.message {
margin-top: 20px;
color: #CCCCCC; /* Lighter text color for the message */
}
/* New styles for the Twitter handle link */
.twitter-handle {
position: absolute;
top: 10px;
right: 10px;
background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent black background for better visibility */
padding: 5px 10px;
border-radius: 5px;
color: #FFFFFF; /* White text color */
text-decoration: none;
font-weight: bold;
transition: background-color 0.3s;
}
.twitter-handle:hover {
background-color: #1DA1F2; /* Twitter blue color on hover */
color: #FFFFFF;
}