Sergidev commited on
Commit
ffceea7
1 Parent(s): e9abc3c

Update static/styles.css

Browse files
Files changed (1) hide show
  1. static/styles.css +44 -9
static/styles.css CHANGED
@@ -6,9 +6,16 @@ body {
6
  background-color: #f0f0f0;
7
  }
8
 
9
- #game-info {
 
 
 
 
 
 
10
  margin-bottom: 20px;
11
  font-size: 18px;
 
12
  }
13
 
14
  #coin {
@@ -20,35 +27,63 @@ body {
20
  align-items: center;
21
  font-size: 72px;
22
  cursor: pointer;
23
- margin-bottom: 20px;
24
  }
25
 
26
  #shop {
27
  display: flex;
28
- justify-content: space-around;
 
29
  width: 100%;
30
- max-width: 800px;
31
  margin-top: 20px;
32
  }
33
 
34
  .shop-item {
35
  text-align: center;
36
- padding: 10px;
37
  border: 1px solid #ccc;
38
  border-radius: 5px;
39
  cursor: pointer;
 
 
40
  }
41
 
42
  .shop-coin {
43
- width: 50px;
44
- height: 50px;
45
  border-radius: 50%;
46
- margin: 0 auto;
 
 
 
 
 
47
  }
48
 
49
  #generate-coin {
50
- margin-top: 20px;
 
51
  padding: 10px 20px;
52
  font-size: 16px;
53
  cursor: pointer;
54
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  background-color: #f0f0f0;
7
  }
8
 
9
+ #game-container {
10
+ position: relative;
11
+ width: 100%;
12
+ max-width: 800px;
13
+ }
14
+
15
+ #info {
16
  margin-bottom: 20px;
17
  font-size: 18px;
18
+ text-align: center;
19
  }
20
 
21
  #coin {
 
27
  align-items: center;
28
  font-size: 72px;
29
  cursor: pointer;
30
+ margin: 0 auto 20px;
31
  }
32
 
33
  #shop {
34
  display: flex;
35
+ flex-wrap: wrap;
36
+ justify-content: center;
37
  width: 100%;
 
38
  margin-top: 20px;
39
  }
40
 
41
  .shop-item {
42
  text-align: center;
43
+ padding: 5px;
44
  border: 1px solid #ccc;
45
  border-radius: 5px;
46
  cursor: pointer;
47
+ margin: 5px;
48
+ font-size: 12px;
49
  }
50
 
51
  .shop-coin {
52
+ width: 40px;
53
+ height: 40px;
54
  border-radius: 50%;
55
+ margin: 0 auto 5px;
56
+ display: flex;
57
+ flex-direction: column;
58
+ justify-content: center;
59
+ align-items: center;
60
+ font-size: 10px;
61
  }
62
 
63
  #generate-coin {
64
+ display: block;
65
+ margin: 20px auto 0;
66
  padding: 10px 20px;
67
  font-size: 16px;
68
  cursor: pointer;
69
  }
70
+
71
+ #loading-overlay {
72
+ position: absolute;
73
+ top: 0;
74
+ left: 0;
75
+ width: 100%;
76
+ height: 100%;
77
+ background-color: rgba(0, 0, 0, 0.5);
78
+ display: none;
79
+ justify-content: center;
80
+ align-items: center;
81
+ z-index: 1000;
82
+ }
83
+
84
+ .loading-message {
85
+ background-color: white;
86
+ padding: 20px;
87
+ border-radius: 5px;
88
+ font-size: 18px;
89
+ }