GarGerry commited on
Commit
9f062f5
·
verified ·
1 Parent(s): e2a6404

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +30 -38
style.css CHANGED
@@ -1,54 +1,46 @@
1
- * {
2
- margin: 0;
3
- padding: 0;
4
- box-sizing: border-box;
5
- }
6
-
7
  body {
8
- background-color: #2e3b4e;
9
- color: #fff;
10
- font-family: 'Arial', sans-serif;
11
- display: flex;
12
- justify-content: center;
13
- align-items: center;
14
- height: 100vh;
15
  }
16
 
17
  .game-container {
18
- text-align: center;
 
 
 
 
19
  }
20
 
21
  h1 {
22
- color: #00ff99;
23
- font-size: 36px;
24
- margin-bottom: 20px;
25
- }
26
-
27
- #gameCanvas {
28
- border: 2px solid #00ff99;
29
- background-color: #111;
30
- display: block;
31
- margin: 0 auto;
32
  }
33
 
34
- .game-over {
35
- display: none;
36
- margin-top: 20px;
37
- }
38
-
39
- .game-over h2 {
40
- color: #ff4444;
41
  }
42
 
43
  button {
44
- background-color: #00ff99;
45
- color: #111;
46
- border: none;
47
- padding: 10px 20px;
48
- font-size: 18px;
49
- cursor: pointer;
 
50
  }
51
 
52
  button:hover {
53
- background-color: #008f66;
 
 
 
 
54
  }
 
 
 
 
 
 
 
1
  body {
2
+ font-family: Arial, sans-serif;
3
+ background-color: #f0f8ff;
4
+ display: flex;
5
+ justify-content: center;
6
+ align-items: center;
7
+ height: 100vh;
8
+ margin: 0;
9
  }
10
 
11
  .game-container {
12
+ text-align: center;
13
+ background-color: #ffffff;
14
+ padding: 20px;
15
+ border-radius: 10px;
16
+ box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
17
  }
18
 
19
  h1 {
20
+ color: #333;
 
 
 
 
 
 
 
 
 
21
  }
22
 
23
+ input {
24
+ padding: 10px;
25
+ font-size: 16px;
26
+ margin-top: 10px;
27
+ margin-bottom: 10px;
 
 
28
  }
29
 
30
  button {
31
+ padding: 10px 20px;
32
+ font-size: 16px;
33
+ background-color: #4caf50;
34
+ color: white;
35
+ border: none;
36
+ border-radius: 5px;
37
+ cursor: pointer;
38
  }
39
 
40
  button:hover {
41
+ background-color: #45a049;
42
+ }
43
+
44
+ p {
45
+ font-size: 18px;
46
  }