GarGerry commited on
Commit
f1c432a
·
verified ·
1 Parent(s): 78ba153

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +28 -1
style.css CHANGED
@@ -11,7 +11,7 @@ body {
11
  .game-container {
12
  position: relative;
13
  width: 100vw;
14
- height: 100vh;
15
  border: 3px solid #00ffcc;
16
  overflow: hidden;
17
  box-shadow: 0 0 20px #00ffcc;
@@ -41,4 +41,31 @@ body {
41
  border-radius: 10px;
42
  box-shadow: 0 0 20px #00ffcc;
43
  transform: translateX(-50%);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
44
  }
 
11
  .game-container {
12
  position: relative;
13
  width: 100vw;
14
+ height: 80vh; /* Reduced height to accommodate controls */
15
  border: 3px solid #00ffcc;
16
  overflow: hidden;
17
  box-shadow: 0 0 20px #00ffcc;
 
41
  border-radius: 10px;
42
  box-shadow: 0 0 20px #00ffcc;
43
  transform: translateX(-50%);
44
+ }
45
+
46
+ /* Controls */
47
+ .controls {
48
+ display: flex;
49
+ justify-content: center;
50
+ align-items: center;
51
+ gap: 20px;
52
+ margin-top: 10px;
53
+ }
54
+
55
+ .controls button {
56
+ background: linear-gradient(90deg, #ff0066, #ffcc00);
57
+ color: white;
58
+ border: none;
59
+ border-radius: 10px;
60
+ padding: 10px 20px;
61
+ font-size: 1.5em;
62
+ box-shadow: 0 0 10px #ff0066;
63
+ cursor: pointer;
64
+ outline: none;
65
+ transition: transform 0.2s, box-shadow 0.2s;
66
+ }
67
+
68
+ .controls button:hover {
69
+ transform: scale(1.1);
70
+ box-shadow: 0 0 15px #ffcc00;
71
  }