Sergidev commited on
Commit
6d0e66b
·
verified ·
1 Parent(s): d1abb8e

Create static/css/style.css

Browse files
Files changed (1) hide show
  1. static/css/style.css +92 -0
static/css/style.css ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ body {
2
+ font-family: Arial, sans-serif;
3
+ display: flex;
4
+ flex-direction: column;
5
+ align-items: center;
6
+ justify-content: space-between;
7
+ height: 100vh;
8
+ margin: 0;
9
+ padding: 20px;
10
+ box-sizing: border-box;
11
+ }
12
+
13
+ #stats {
14
+ display: flex;
15
+ justify-content: space-between;
16
+ width: 100%;
17
+ font-size: 18px;
18
+ }
19
+
20
+ #game-area {
21
+ display: flex;
22
+ flex-direction: column;
23
+ align-items: center;
24
+ }
25
+
26
+ #coin {
27
+ width: 100px;
28
+ height: 100px;
29
+ border-radius: 50%;
30
+ background-color: #CD7F32;
31
+ margin: 20px;
32
+ cursor: pointer;
33
+ transition: transform 0.3s;
34
+ }
35
+
36
+ #coin:hover {
37
+ transform: scale(1.1);
38
+ }
39
+
40
+ #shop {
41
+ display: flex;
42
+ justify-content: center;
43
+ align-items: center;
44
+ width: 100%;
45
+ }
46
+
47
+ .shop-coin {
48
+ width: 50px;
49
+ height: 50px;
50
+ border-radius: 50%;
51
+ margin: 0 10px;
52
+ cursor: pointer;
53
+ transition: transform 0.3s;
54
+ }
55
+
56
+ .shop-coin:hover {
57
+ transform: scale(1.1);
58
+ }
59
+
60
+ .shop-coin.selected {
61
+ border: 2px solid #000;
62
+ }
63
+
64
+ #mint-button {
65
+ padding: 10px 20px;
66
+ font-size: 16px;
67
+ cursor: pointer;
68
+ }
69
+
70
+ #game-over {
71
+ display: none;
72
+ flex-direction: column;
73
+ align-items: center;
74
+ }
75
+
76
+ #leaderboard {
77
+ margin-top: 20px;
78
+ }
79
+
80
+ #leaderboard table {
81
+ border-collapse: collapse;
82
+ }
83
+
84
+ #leaderboard th, #leaderboard td {
85
+ border: 1px solid #ddd;
86
+ padding: 8px;
87
+ text-align: left;
88
+ }
89
+
90
+ #leaderboard th {
91
+ background-color: #f2f2f2;
92
+ }